24 lines
667 B
C
24 lines
667 B
C
/*
|
|
* drive_ctrl.h
|
|
*
|
|
* Created on: Aug 10, 2016
|
|
* Author: tkl
|
|
*/
|
|
|
|
#ifndef SOURCE_APPLICATION_INCLUDE_DRIVE_CTRL_H_
|
|
#define SOURCE_APPLICATION_INCLUDE_DRIVE_CTRL_H_
|
|
|
|
int drive_ctrl_init(void);
|
|
|
|
int drive_ctrl_set_speed_left(int speed_percent);
|
|
int drive_ctrl_set_speed_right(int speed_percent);
|
|
int drive_ctrl_set_target_speed_value(int speed_percent);
|
|
int drive_ctrl_get_target_speed_value(void);
|
|
int drive_ctrl_set_current_speed_value(int speed_percent);
|
|
int drive_ctrl_get_current_speed_value(void);
|
|
int drive_ctrl_set_turn_speed_value(int speed_percent);
|
|
int drive_ctrl_get_turn_speed_value(void);
|
|
|
|
|
|
#endif /* SOURCE_APPLICATION_INCLUDE_DRIVE_CTRL_H_ */
|