123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212 |
- #include <control/controller.h>
- iv::control::Controller::Controller() {
- }
- iv::control::Controller::~Controller() {
- }
- void iv::control::Controller::inialize() {
- }
- void iv::control::Controller::cmd_checksum(unsigned char cmd_id) {
- }
- void iv::control::Controller::control_wheel(float angle) {
- ServiceControlStatus.set_wheel_angle(angle);
- }
- void iv::control::Controller:: control_angle_speed(float angSpeed){
- }
- void iv::control::Controller:: control_angle_enable(bool enable){
- ServiceControlStatus.set_wheel_enable(enable);
- }
- void iv::control::Controller:: control_speed_limit(float speedLimit){
- }
- void iv::control::Controller::control_torque(float percent){
- ServiceControlStatus.set_torque(percent);
- }
- void iv::control::Controller::control_acc_en(bool enanble){
- ServiceControlStatus.set_acc_enable(enanble);
- }
- void iv::control::Controller::control_park_en(bool enanble){
- ServiceControlStatus.set_park_enable(enanble);
- }
- void iv::control::Controller::control_brake_en(bool enanble){
- ServiceControlStatus.set_brake_enable(enanble);
- }
- void iv::control::Controller::control_aeb(float aeb){
- }
- void iv::control::Controller::control_aeb_en(bool enable){
- }
- void iv::control::Controller::control_brake(float brake){
- ServiceControlStatus.set_brake(brake);
- }
- void iv::control::Controller::control_gear(float gear){
- ServiceControlStatus.set_gear(gear);
- }
- void iv::control::Controller::control_gear_en(bool enable){
- ServiceControlStatus.set_gear_enable(enable);
- }
- void iv::control::Controller::control_handBrake(bool enable){
- ServiceControlStatus.set_handBrake(enable);
- }
- void iv::control::Controller::control_mode(char mode){
- ServiceControlStatus.set_driveMode(mode);
- }
- void iv::control::Controller::control_air_on(bool enable){
- }
- void iv::control::Controller::control_obligate(char para){
- ServiceControlStatus.set_obligate(para);
- }
- void iv::control::Controller::control_door(char enable){
- ServiceControlStatus.set_door(enable);
- }
- void iv::control::Controller::control_turnsignals(bool left, bool right){
- ServiceControlStatus.set_turnsignals_control(left,right);
- }
- void iv::control::Controller::control_small_light(char para){
- ServiceControlStatus.set_small_light(para);
- }
- void iv::control::Controller::control_near_light(char para){
- ServiceControlStatus.set_near_light(para);
- }
- void iv::control::Controller::control_far_light(char para){
- ServiceControlStatus.set_far_light(para);
- }
- void iv::control::Controller::control_frog_light(char para){
- ServiceControlStatus.set_frog_light(para);
- }
- void iv::control::Controller::control_brake_light(char para){
- ServiceControlStatus.set_brake_light(para);
- }
- void iv::control::Controller::control_defrog(char para){
- ServiceControlStatus.set_defrog(para);
- }
- void iv::control::Controller::control_reverse_light(char para){
- ServiceControlStatus.set_reverse_light(para);
- }
- void iv::control::Controller::control_horn(char para){
- ServiceControlStatus.set_horn(para);
- }
- void iv::control::Controller::control_wiper(char para){
- ServiceControlStatus.set_wiper(para);
- }
- void iv::control::Controller::control_air_temp(char para){
- ServiceControlStatus.set_air_temp(para);
- }
- void iv::control::Controller::control_air_mode(char para){
- ServiceControlStatus.set_air_mode(para);
- }
- void iv::control::Controller::control_air_enable(bool enable){
- ServiceControlStatus.set_air_enable(enable);
- }
- void iv::control::Controller::control_wind_level(char para){
- ServiceControlStatus.set_wind_level(para);
- }
- void iv::control::Controller::control_roof_light(char para){
- ServiceControlStatus.set_roof_light(para);
- }
- void iv::control::Controller::control_home_light(char para){
- ServiceControlStatus.set_home_light(para);
- }
- void iv::control::Controller::control_air_worktime(char para){
- ServiceControlStatus.set_air_worktime(para);
- }
- void iv::control::Controller::control_air_offtime(char para){
- ServiceControlStatus.set_air_offtime(para);
- }
|