功率,热量

This commit is contained in:
guoxy06
2026-03-27 18:43:40 +08:00
parent f2b71bfae3
commit b25d7ccd26
4 changed files with 39 additions and 13 deletions

View File

@@ -249,7 +249,7 @@ static void MouseKeySet()
chassis_cmd_send.vy = rc_data[TEMP].key[KEY_PRESS].w * 40 - rc_data[TEMP].key[KEY_PRESS].s * 40; // a向左,d向右
gimbal_cmd_send.yaw += (float)rc_data[TEMP].mouse.x / 660 * 10; // 系数待测
gimbal_cmd_send.pitch += (float)rc_data[TEMP].mouse.y / 660 * 10;
gimbal_cmd_send.pitch += (float)rc_data[TEMP].mouse.y / 660 * 8;
// 云台软件限位
if (gimbal_cmd_send.pitch > PITCH_MAX_ANGLE)