mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-02 02:30:35 +08:00
Merge pull request #3073 from PX4/sitl_startup_script
Sitl startup script
This commit is contained in:
+3
-3
@@ -68,12 +68,12 @@ touch rootfs/eeprom/parameters
|
||||
# Start Java simulator
|
||||
if [ "$debugger" == "lldb" ]
|
||||
then
|
||||
lldb -- mainapp ../../../../$rc_script
|
||||
lldb -- mainapp ../../../../${rc_script}_${program}
|
||||
elif [ "$debugger" == "gdb" ]
|
||||
then
|
||||
gdb --args mainapp ../../../../$rc_script
|
||||
gdb --args mainapp ../../../../${rc_script}_${program}
|
||||
else
|
||||
./mainapp ../../../../$rc_script
|
||||
./mainapp ../../../../${rc_script}_${program}
|
||||
fi
|
||||
|
||||
if [ "$3" == "jmavsim" ]
|
||||
|
||||
Reference in New Issue
Block a user