mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-16 18:53:33 +08:00
cannode prearm by default enable on ArmingStatus
- ArmingStatus DroneCAN message STATUS field is only set to true based on arming_status.armed - Cannode prearm state is set to true always when ArmingStatus DroneCan message is received
This commit is contained in:
@@ -89,6 +89,7 @@ private:
|
||||
actuator_armed.armed = false;
|
||||
}
|
||||
|
||||
actuator_armed.prearmed = true;
|
||||
actuator_armed.timestamp = hrt_absolute_time();
|
||||
_actuator_armed_pub.publish(actuator_armed);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user