HardWare/Drones/Autopilot/sitl: startup.sh

File startup.sh, 589 bytes (added by vananth2, 2 years ago)

Startup script for SITL in linux

Line 
1#!/bin/bash
2AUTO_TEST_DIR=~/sitl/ardupilot/Tools/autotest
3#Start the FG view
4gnome-terminal -e "$AUTO_TEST_DIR/fg_quad_view.sh"
5sleep 30 #wait for it to load
6
7#Start the SITL
8gnome-terminal -e '/tmp/ArduCopter.build/ArduCopter.elf'
9sleep 5 #wait for it to load
10
11#Start the sim_multicopter
12gnome-terminal -e "$AUTO_TEST_DIR/pysim/sim_multicopter.py --frame=x --home=35.7713121,-78.6743912,584,180"
13sleep 5 #wait for it to load
14
15#Start the MAVPROXY, home is ncsu ece 35.7713121, -78.6743912
16mavproxy.py --master tcp:127.0.0.1:5760 --sitl 127.0.0.1:5501 --out 192.168.80.1:14550 --quadcopter