refactor: remove remote control, zero-force mode and emergency stop
- Remove RC_ctrl_t and RemoteControlInit from robot_cmd.c - Delete GIMBAL_ZERO_FORCE, gimbal_mode_e, Robot_Status_e from robot_def.h - Remove EmergencyHandler and robot_state from robot_cmd.c - Remove emergency commands from master_machine.h - Remove remote_control and can_comm from CMakeLists.txt
This commit is contained in:
@@ -24,13 +24,6 @@
|
||||
|
||||
#pragma pack(1)
|
||||
|
||||
/* 机器人状态 */
|
||||
typedef enum
|
||||
{
|
||||
ROBOT_STOP = 0,
|
||||
ROBOT_READY,
|
||||
} Robot_Status_e;
|
||||
|
||||
/* 应用状态 */
|
||||
typedef enum
|
||||
{
|
||||
@@ -39,19 +32,11 @@ typedef enum
|
||||
APP_ERROR,
|
||||
} App_Status_e;
|
||||
|
||||
/* 云台模式 */
|
||||
typedef enum
|
||||
{
|
||||
GIMBAL_ZERO_FORCE = 0,
|
||||
GIMBAL_GYRO_MODE,
|
||||
} gimbal_mode_e;
|
||||
|
||||
/* ---- CMD 发布给 gimbal 的控制数据 ---- */
|
||||
typedef struct
|
||||
{
|
||||
float yaw; // yaw 目标角度 (degrees, multi-turn)
|
||||
float pitch; // pitch 目标角度 (degrees)
|
||||
gimbal_mode_e gimbal_mode;
|
||||
} Gimbal_Ctrl_Cmd_s;
|
||||
|
||||
/* ---- gimbal 发布给 CMD 的反馈数据 ---- */
|
||||
|
||||
Reference in New Issue
Block a user