Commit e07317ac authored by 潘栩锋's avatar 潘栩锋 🚴

修改 脉冲连续3秒不变触发停止状态,改为连续10秒

parent c9feb8e1
......@@ -477,8 +477,8 @@ namespace FlyADBase
return;
}
position_no_changed_cnt++;
if (position_no_changed_cnt >= 3) {
//连续3秒,脉冲一样
if (position_no_changed_cnt >= 10) {
//连续10秒,脉冲一样
//异常
DriveStatus = DRIVE_MAN_STATUS.STOP_MANUAL;
position_no_changed_cnt = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment