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

30 lines
428 B
Plaintext
Raw Normal View History

#!/bin/sh
# PX4 commands need the 'px4-' prefix in bash.
# (px4-alias.sh is expected to be in the PATH)
. px4-alias.sh
2016-12-30 21:57:10 -04:00
param load
param set CBRK_SUPPLY_CHK 894281
2016-12-30 21:57:10 -04:00
dataman start
battery_simulator start
simulator_mavlink start
2016-12-30 21:57:10 -04:00
tone_alarm start
pwm_out_sim start
ver all
2016-12-30 21:57:10 -04:00
mavlink start -x -u 14556 -r 2000000 -p
2017-01-03 04:25:09 -04:00
mavlink boot_complete
2017-01-02 00:52:00 -04:00
2017-09-27 19:25:48 -03:00
@cmd_name@ start
sleep 1
@cmd_name@ start
sleep 1
@cmd_name@ stop
2016-12-30 21:57:10 -04:00
dataman status
2016-12-30 21:57:10 -04:00
shutdown