6..22晚
This commit is contained in:
parent
91edfef2b3
commit
8697e48ce9
Binary file not shown.
@ -127,6 +127,7 @@ int8_t Chassis_Control(Chassis_t *c, CMD_t *ctrl, CAN_Output_t *out) {
|
||||
abs_limit_fp(&c->move_vec.Vx, 5000.0f);
|
||||
abs_limit_fp(&c->move_vec.Vy, 5000.0f);
|
||||
abs_limit_fp(&c->move_vec.Vw, 5000.0f);
|
||||
c->NUC_send.send[0] = 1;
|
||||
break;
|
||||
case AUTO_MID360_Pitch:
|
||||
|
||||
@ -135,7 +136,7 @@ int8_t Chassis_Control(Chassis_t *c, CMD_t *ctrl, CAN_Output_t *out) {
|
||||
c->move_vec.Vw = ctrl->Vw * 6000;
|
||||
c->move_vec.Vx = ctrl->Vy * 6000;
|
||||
c->move_vec.Vy = ctrl->Vx * 6000;
|
||||
c->NUC_send.send[0] = 1;
|
||||
|
||||
break;
|
||||
default:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user