mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-16 15:07:34 +08:00
Working bottle Drop test
This commit is contained in:
@@ -28,6 +28,32 @@ set EXIT_ON_END no
|
||||
mavlink start
|
||||
usleep 5000
|
||||
|
||||
#
|
||||
# Start the sensors and test them.
|
||||
#
|
||||
sh /etc/init.d/rc.sensors
|
||||
|
||||
#
|
||||
# Start logging (depends on sensors)
|
||||
#
|
||||
#sh /etc/init.d/rc.logging
|
||||
sdlog2 start -r 200 -e -b 16
|
||||
|
||||
|
||||
#
|
||||
# Start GPS interface (depends on orb)
|
||||
#
|
||||
gps start
|
||||
|
||||
#
|
||||
# Start the attitude estimator
|
||||
#
|
||||
attitude_estimator_ekf start
|
||||
|
||||
#
|
||||
# Start position estimator
|
||||
#
|
||||
position_estimator_inav start
|
||||
|
||||
sh /etc/init.d/rc.io
|
||||
|
||||
@@ -35,6 +61,9 @@ fmu mode_pwm
|
||||
|
||||
mixer load /dev/px4fmu /etc/mixers/FMU_pass.mix
|
||||
|
||||
pwm min -d /dev/px4fmu -c 123 -p 900
|
||||
pwm max -d /dev/px4fmu -c 123 -p 2100
|
||||
|
||||
pwm arm -d /dev/px4fmu
|
||||
|
||||
bottle_drop start
|
||||
|
||||
Reference in New Issue
Block a user