mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-10 18:08:30 -04:00
autotest: add easier HIL start scripts for rover/plane
This commit is contained in:
parent
e553d89928
commit
1c6baba7d8
Tools/autotest
12
Tools/autotest/sim_arduplane_hil.sh
Executable file
12
Tools/autotest/sim_arduplane_hil.sh
Executable file
@ -0,0 +1,12 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
killall -q JSBSim
|
||||||
|
pkill -f runsim.py
|
||||||
|
|
||||||
|
set -e
|
||||||
|
set -x
|
||||||
|
|
||||||
|
gnome-terminal -e '../Tools/autotest/jsbsim/runsim.py --home=-35.362938,149.165085,584,270'
|
||||||
|
sleep 2
|
||||||
|
|
||||||
|
mavproxy.py --out 127.0.0.1:14550 --load-module=HIL $*
|
10
Tools/autotest/sim_rover_hil.sh
Executable file
10
Tools/autotest/sim_rover_hil.sh
Executable file
@ -0,0 +1,10 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -x
|
||||||
|
|
||||||
|
pkill -f sim_rover.py
|
||||||
|
set -e
|
||||||
|
|
||||||
|
gnome-terminal -e "nice ../Tools/autotest/pysim/sim_rover.py --home=40.071374969556928,-105.22978898137808,1583.702759,246 --rate=400"
|
||||||
|
sleep 2
|
||||||
|
mavproxy.py --aircraft=test --out 127.0.0.1:14550 --load-module=HIL $*
|
Loading…
Reference in New Issue
Block a user