px4-firmware/posix-configs/excelsior/mainapp.config

19 lines
436 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
uorb start
muorb start
logger start -e -t
param set MAV_BROADCAST 1
dataman start
navigator start
sleep 2
mavlink start -x -u 14556 -r 1000000
sleep 1
mavlink stream -u 14556 -s HIGHRES_IMU -r 50
mavlink stream -u 14556 -s ATTITUDE -r 50
mavlink stream -u 14556 -s RC_CHANNELS -r 20
mavlink boot_complete