mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
- always check with state machine before reboot/shutdown - respect BOARD_HAS_POWER_CONTROL (shutdown from command, low battery, power button) - px4_shutdown_request add optional delay and always execute from HPWORK - px4_shutdown_request split out px4_reboot_request
28 lines
382 B
Bash
28 lines
382 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
|
|
|
|
uorb start
|
|
|
|
param load
|
|
param set CBRK_SUPPLY_CHK 894281
|
|
param set SYS_RESTART_TYPE 0
|
|
|
|
dataman start
|
|
|
|
simulator start
|
|
tone_alarm start
|
|
pwm_out_sim start
|
|
|
|
ver all
|
|
|
|
mavlink start -x -u 14556 -r 2000000
|
|
mavlink boot_complete
|
|
|
|
tests mavlink
|
|
|
|
dataman status
|
|
|
|
shutdown
|