engine_control/source/application/include/engine_ctrl.h

23 lines
679 B
C
Raw Permalink Normal View History

/*
* engine_ctrl.h
*
* Created on: Aug 30, 2016
* Author: tkl
*/
#ifndef SOURCE_APPLICATION_INCLUDE_ENGINE_CTRL_H_
#define SOURCE_APPLICATION_INCLUDE_ENGINE_CTRL_H_
int engine_ctrl_init(void);
int engine_ctrl_set_speed_left(int speed_percent);
int engine_ctrl_set_speed_right(int speed_percent);
int engine_ctrl_set_target_speed_value(int speed_percent);
int engine_ctrl_get_target_speed_value(void);
int engine_ctrl_set_current_speed_value(int speed_percent);
int engine_ctrl_get_current_speed_value(void);
int engine_ctrl_set_turn_speed_value(int speed_percent);
int engine_ctrl_get_turn_speed_value(void);
#endif /* SOURCE_APPLICATION_INCLUDE_ENGINE_CTRL_H_ */