Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
Ardupilot
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OpenSource
Ardupilot
Commits
4c7ab9a0
"git@ssh.gitrepo.de:Janschubi1993/enigma.git" did not exist on "8b38f68021e0c10fe159e772f176b7419ca8b6e3"
Commit
4c7ab9a0
authored
12 years ago
by
Randy Mackay
Browse files
Options
Downloads
Patches
Plain Diff
AutoTest: add valgrind test script for randy
parent
57731bb3
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Tools/autotest/sim_arducopter_randy_valgrind.sh
+28
-0
28 additions, 0 deletions
Tools/autotest/sim_arducopter_randy_valgrind.sh
with
28 additions
and
0 deletions
Tools/autotest/sim_arducopter_randy_valgrind.sh
0 → 100644
+
28
−
0
View file @
4c7ab9a0
#!/bin/bash
killall
-q
ArduCopter.elf
pkill
-f
sim_multicopter.py
set
-e
set
-x
target
=
sitl
frame
=
"X"
echo
"Building with target
$target
for frame
$frame
"
autotest
=
$(
dirname
$(
readlink
-e
$0
))
pushd
$autotest
/../../ArduCopter
make clean
$target
tfile
=
$(
mktemp
)
echo
r
>
$tfile
#gnome-terminal -e "gdb -x $tfile --args /tmp/ArduCopter.build/ArduCopter.elf"
#gnome-terminal -e /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"
sleep
2
popd
mavproxy.py
--master
tcp:127.0.0.1:5760
--sitl
127.0.0.1:5501
--out
127.0.0.1:14550
--out
127.0.0.1:14551
--out
192.168.1.12:14550
--console
--map
--aircraft
test
--quadcopter
$*
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment