mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-27 23:13:33 +08:00
- move posix-configs/SITL/init/{rcS,10016_iris,6011_typhoon_h480} to ROMFS/px4fmu_common/init.d-posix
allows for easier unification, only one symlink is required.
- rcS: add AUTOCNF support. Update scripts to match with behavior of PX4
master (parameter values, some sitl driver got removed)
- add alias to allow 'set variable value' syntax in scripts to px4-alias.sh
- use px4_getopt
- use separate argument for the test_data directory
- append PATH from within the px4 binary: this simplifies the usage
w/o the sitl_run.sh script.
- add 'source px4-alias.sh' to all existing sitl startup scripts
- move sitl mixers to ROMFS/px4fmu_common/mixers-sitl
makes it easier to use existing mixers and sitl-specific ones.
- remove unused rcS_gazebo_delta_wing
42 lines
554 B
Bash
42 lines
554 B
Bash
#!/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
|
|
|
|
param load
|
|
param set SYS_RESTART_TYPE 0
|
|
|
|
dataman start
|
|
|
|
simulator start -t
|
|
tone_alarm start
|
|
gyrosim start
|
|
accelsim start
|
|
barosim start
|
|
gpssim start
|
|
measairspeedsim start
|
|
pwm_out_sim start
|
|
|
|
ver all
|
|
|
|
list_tasks
|
|
list_devices
|
|
list_topics
|
|
list_files
|
|
|
|
mavlink start -x -u 14556 -r 2000000
|
|
mavlink boot_complete
|
|
|
|
@cmd_name@ start
|
|
sleep 1
|
|
@cmd_name@ start
|
|
sleep 1
|
|
@cmd_name@ stop
|
|
|
|
dataman status
|
|
dataman stop
|
|
|
|
shutdown
|