px4-firmware/posix-configs/SITL/init/test/tests_template.in

32 lines
445 B
Plaintext
Raw Normal View History

#!/usr/bin/bash
# PX4 commands need the 'px4-' prefix in bash.
# (px4-alias.sh is expected to be in the PATH)
source px4-alias.sh
2016-12-30 21:57:10 -04:00
uorb start
param load
param set SYS_RESTART_TYPE 0
dataman start
2017-01-03 04:25:09 -04:00
simulator start -t
2016-12-30 21:57:10 -04:00
tone_alarm start
gyrosim start
accelsim start
barosim start
gpssim start
2017-01-03 04:25:09 -04:00
measairspeedsim start
pwm_out_sim start
ver all
2016-12-30 21:57:10 -04:00
mavlink start -x -u 14556 -r 2000000
2017-01-03 04:25:09 -04:00
mavlink boot_complete
2017-01-02 00:52:00 -04:00
2016-12-30 21:57:10 -04:00
tests @test_name@
dataman status
2016-12-30 21:57:10 -04:00
shutdown