Last change
on this file since 33 was 32, checked in by Thomas Fuhrmann, 8 years ago |
Add new launch files for MavPlanner
|
-
Property svn:executable
set to
*
|
File size:
481 bytes
|
Rev | Line | |
---|
[32] | 1 | #! /bin/bash
|
---|
| 2 | ARCH_DIR=$(uname -m)
|
---|
| 3 |
|
---|
| 4 | . ${FLAIR_ROOT}/flair-bin/tools/scripts/ubuntu_cgroup_hack.sh
|
---|
| 5 |
|
---|
| 6 | #we must run as root
|
---|
| 7 | if [ $EUID -ne 0 ]; then
|
---|
| 8 | exec sudo -E $0 $*
|
---|
| 9 | fi
|
---|
| 10 |
|
---|
| 11 | export LD_LIBRARY_PATH="${OECORE_HOST_SYSROOT}/usr/lib:${OECORE_HOST_SYSROOT}/lib"
|
---|
| 12 | ${FLAIR_ROOT}/flair-bin/tools/$ARCH_DIR/unix/MavPlanner --inputAddress 127.0.0.1 --inputPort 5036 -x ${FLAIR_ROOT}/flair-bin/tools/scripts/mavlink.xml -m "forward" --outputAddress 127.0.0.1 --outputPort 5037 -a 127.0.0.1 -p 9000
|
---|
Note:
See
TracBrowser
for help on using the repository browser.