source: flair-bin/trunk/tools/scripts/mavplanner_flair_launch.sh@ 70

Last change on this file since 70 was 35, checked in by Sanahuja Guillaume, 8 years ago

m

  • Property svn:executable set to *
File size: 435 bytes
Line 
1#! /bin/bash
2ARCH_DIR=$(uname -m)
3
4. ${FLAIR_ROOT}/flair-bin/tools/scripts/ubuntu_cgroup_hack.sh
5
6#we must run as root
7if [ $EUID -ne 0 ]; then
8 exec sudo -E $0 $*
9fi
10
11export LD_LIBRARY_PATH="${OECORE_HOST_SYSROOT}/usr/lib:${OECORE_HOST_SYSROOT}/lib"
12${FLAIR_ROOT}/flair-bin/tools/$ARCH_DIR/unix/MavPlanner -x ${FLAIR_ROOT}/flair-bin/tools/scripts/mavlink.xml -m "gcs" -a 127.0.0.1 -p 9000 --outputPort 5555 --outputAddress 127.0.0.1
Note: See TracBrowser for help on using the repository browser.