mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-16 16:53:34 +08:00
Startup scripts: Start the commander early and let it try to open the mavlink_fd with 20Hz
This commit is contained in:
@@ -3,11 +3,6 @@
|
||||
# Standard everything needed for fixedwing except mixer, actuator output and mavlink
|
||||
#
|
||||
|
||||
#
|
||||
# Start the Commander
|
||||
#
|
||||
commander start
|
||||
|
||||
#
|
||||
# Start the sensors and test them.
|
||||
#
|
||||
|
||||
@@ -3,11 +3,6 @@
|
||||
# Standard everything needed for multirotors except mixer, actuator output and mavlink
|
||||
#
|
||||
|
||||
#
|
||||
# Start the Commander
|
||||
#
|
||||
commander start
|
||||
|
||||
#
|
||||
# Start the sensors and test them.
|
||||
#
|
||||
|
||||
@@ -105,6 +105,11 @@ then
|
||||
blinkm systemstate
|
||||
fi
|
||||
fi
|
||||
|
||||
#
|
||||
# Start the Commander (needs to be this early for in-air-restarts)
|
||||
#
|
||||
commander start
|
||||
|
||||
if param compare SYS_AUTOSTART 1000
|
||||
then
|
||||
|
||||
Reference in New Issue
Block a user