mirror of
https://gitee.com/dlmu-cone/half-steering-basic-framework
synced 2026-10-23 17:42:20 +08:00
底盘正常移动,小陀螺降速方便调
This commit is contained in:
@@ -216,9 +216,9 @@ static void RemoteControlSet()
|
||||
gimbal_cmd_send.pitch = PITCH_MIN_ANGLE;
|
||||
|
||||
// 底盘参数,目前没有加入小陀螺(调试似乎暂时没有必要),系数需要调整
|
||||
chassis_cmd_send.vx = (0.25f * (float)rc_data[TEMP].rc.rocker_r_); // _水平方向
|
||||
chassis_cmd_send.vy = (0.25f * (float)rc_data[TEMP].rc.rocker_r1); // 1数值方向 .
|
||||
|
||||
chassis_cmd_send.vx = (0.25f * (float)rc_data[TEMP].rc.rocker_r1); // 竖直方向
|
||||
chassis_cmd_send.vy = (0.25f * (float)rc_data[TEMP].rc.rocker_r_); // 水平方向
|
||||
//此处如果是右手系,那么x应该是前进方向即竖直方向
|
||||
// // 发射参数
|
||||
// if (switch_is_up(rc_data[TEMP].rc.switch_right)) // 右侧开关状态[上],弹舱打开
|
||||
// ; // 弹舱舵机控制,待添加servo_motor模块,开启
|
||||
|
||||
Reference in New Issue
Block a user