2016-08-11 12:06:45 +00:00
|
|
|
/*
|
|
|
|
* 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);
|
2016-08-28 09:22:00 +00:00
|
|
|
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);
|
2016-08-11 12:06:45 +00:00
|
|
|
|
|
|
|
|
|
|
|
#endif /* SOURCE_APPLICATION_INCLUDE_DRIVE_CTRL_H_ */
|