| 12345678910111213141516171819202122232425262728293031323334 |
- #pragma once
- /*
- *控制器
- */
- #ifndef _IV_CONTROL_CONTROLLER_
- #define _IV_CONTROL_CONTROLLER_
- #include <boost.h>
- #include <control/control_status.h>
- namespace iv {
- namespace control {
- class Controller
- {
- public:
- Controller();
- ~Controller();
- void inialize();// 初始化
- void control_torque(float percet); //油门开度控制
- void control_wheel(float angle); //方向盘控制
- void control_brake(float brake);
- void control_brake_light(char enable);
- void control_elec_brake(char enable);
- void control_drive_mode(char enable);
- void control_limit_speed(float speed);
- void control_dangwei(int dangwei);
- private:
- };
- }
- }
- #endif // !_IV_CONTROL_CONTROLLER_
|