2023-12-26 23:54:56 +08:00
|
|
|
#ifndef CHASSIS_H
|
|
|
|
#define CHASSIS_H
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @brief 底盘应用初始化,请在开启rtos之前调用(目前会被RobotInit()调用)
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
void ChassisInit();
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @brief 底盘应用任务,放入实时系统以一定频率运行
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
void ChassisTask();
|
|
|
|
|
2024-01-15 17:06:26 +08:00
|
|
|
typedef enum
|
|
|
|
{
|
|
|
|
FAIL = 0,
|
|
|
|
STAND,
|
|
|
|
} Chassis_state_e;
|
|
|
|
|
2023-12-26 23:54:56 +08:00
|
|
|
#endif // CHASSIS_H
|