改自瞄
This commit is contained in:
parent
8de2e62164
commit
4871c573fb
|
@ -193,7 +193,7 @@ void ShootTask()
|
||||||
// 确定是否开启摩擦轮,后续可能修改为键鼠模式下始终开启摩擦轮(上场时建议一直开启)
|
// 确定是否开启摩擦轮,后续可能修改为键鼠模式下始终开启摩擦轮(上场时建议一直开启)
|
||||||
if (shoot_cmd_recv.friction_mode == FRICTION_ON)
|
if (shoot_cmd_recv.friction_mode == FRICTION_ON)
|
||||||
{
|
{
|
||||||
DJIMotorSetRef(friction_l, 35000);
|
DJIMotorSetRef(friction_l, 35001);
|
||||||
// DJIMotorSetRef(friction_r, 39000);
|
// DJIMotorSetRef(friction_r, 39000);
|
||||||
DJIMotorSetRef(friction_z, 35000);//39000/6 = 6500
|
DJIMotorSetRef(friction_z, 35000);//39000/6 = 6500
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue