mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 10:28:29 -04:00
make it easy to run simulator under valgrind
This commit is contained in:
parent
d41c56214c
commit
131861b629
@ -29,6 +29,7 @@ make clean $target
|
||||
tfile=$(tempfile)
|
||||
echo r > $tfile
|
||||
gnome-terminal -e "gdb -x $tfile --args /tmp/ArduCopter.build/ArduCopter.elf"
|
||||
#gnome-terminal -e "valgrind -q /tmp/ArduCopter.build/ArduCopter.elf"
|
||||
sleep 2
|
||||
rm -f $tfile
|
||||
gnome-terminal -e "../Tools/autotest/pysim/sim_multicopter.py --frame=$frame --home=-35.362938,149.165085,584,270"
|
||||
|
@ -10,6 +10,7 @@ make clean sitl
|
||||
tfile=$(tempfile)
|
||||
echo r > $tfile
|
||||
gnome-terminal -e "gdb -x $tfile --args /tmp/ArduPlane.build/ArduPlane.elf"
|
||||
#gnome-terminal -e "valgrind -q /tmp/ArduPlane.build/ArduPlane.elf"
|
||||
sleep 2
|
||||
rm -f $tfile
|
||||
gnome-terminal -e '../Tools/autotest/jsbsim/runsim.py --home=-35.362938,149.165085,584,270 --wind=5,180,0.2'
|
||||
|
Loading…
Reference in New Issue
Block a user