forked from Archive/PX4-Autopilot
20 lines
489 B
Bash
20 lines
489 B
Bash
#!/bin/sh
|
|
|
|
# PX4 commands need the 'px4-' prefix in bash.
|
|
# (px4-alias.sh is expected to be in the PATH)
|
|
. px4-alias.sh
|
|
|
|
muorb start
|
|
logger start -t -b 200
|
|
# Wait 1s before setting parameters for muorb to initialize
|
|
sleep 1
|
|
param set CBRK_SUPPLY_CHK 894281
|
|
dataman start
|
|
navigator start
|
|
mavlink start -x -u 14556 -r 1000000 -p
|
|
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
|