增加了额外的注释

This commit is contained in:
NeoZng
2023-01-02 23:50:04 +08:00
parent bfaae13b59
commit f37d813bcd
11 changed files with 37 additions and 17 deletions

View File

@@ -134,7 +134,7 @@ static void RemoteControlSet()
; // 弹舱舵机控制,待添加servo_motor模块,关闭
// 摩擦轮控制,拨轮向上打为负,向下为正
if (rc_data[TEMP].rc.dial < -100)
if (rc_data[TEMP].rc.dial < -100) // 向上超过100,打开摩擦轮
shoot_cmd_send.friction_mode = FRICTION_ON;
else
shoot_cmd_send.friction_mode = FRICTION_OFF;

View File

@@ -1,8 +1,16 @@
#ifndef GIMBAL_CMD_H
#define GIMBAL_CMD_H
/**
* @brief 机器人核心控制任务初始化,会被RobotInit()调用
*
*/
void RobotCMDInit();
/**
* @brief 机器人核心控制任务,200Hz频率运行(必须高于视觉发送频率)
*
*/
void RobotCMDTask();
#endif // !GIMBAL_CMD_H