Setting up SITL on Ubuntu 12.04

I have been following these instructions in the developer site here:

http://dev.ardupilot.com/wiki/setting-up-sitl-on-linux/

All is good with no errors until Step 6 - Start Up

I get the following - the problem is that SITL can't make properly.  What am I missing?

stephen@stephen-Image0-G6:~/ardupilot/ArduPlane$ sim_vehicle.sh
+ '[' -z '' ']'
++ basename /home/stephen/ardupilot/ArduPlane
+ VEHICLE=ArduPlane
+ EXTRA_PARM=
+ EXTRA_SIM=
+ case $FRAME in
+++ readlink -e /home/stephen/ardupilot/Tools/autotest/sim_vehicle.sh
++ dirname /home/stephen/ardupilot/Tools/autotest/sim_vehicle.sh
+ autotest=/home/stephen/ardupilot/Tools/autotest
+ pushd /home/stephen/ardupilot/Tools/autotest/../../ArduPlane
~/ardupilot/ArduPlane ~/ardupilot/ArduPlane
+ '[' 0 == 1 ']'
+ make sitl -j4
../mk/environ.mk:106: /home/stephen/ardupilot/config.mk: No such file or directory
../mk/environ.mk:108: *** ERROR: could not locate /home/stephen/ardupilot/config.mk, please run 'make configure' first and edit config.mk. Stop.
+ make clean
../mk/environ.mk:106: /home/stephen/ardupilot/config.mk: No such file or directory
../mk/environ.mk:108: *** ERROR: could not locate /home/stephen/ardupilot/config.mk, please run 'make configure' first and edit config.mk. Stop.
+ make sitl -j4
../mk/environ.mk:106: /home/stephen/ardupilot/config.mk: No such file or directory
../mk/environ.mk:108: *** ERROR: could not locate /home/stephen/ardupilot/config.mk, please run 'make configure' first and edit config.mk. Stop.
+ popd
~/ardupilot/ArduPlane
++ cat /home/stephen/ardupilot/Tools/autotest/locations.txt
++ grep -i '^CMAC='
++ cut -d= -f2
+ SIMHOME=-35.363261,149.165230,584,353
+ '[' -z -35.363261,149.165230,584,353 ']'
+ echo 'Starting up at CMAC : -35.363261,149.165230,584,353'
Starting up at CMAC : -35.363261,149.165230,584,353
++ cat /home/stephen/ardupilot/Tools/autotest/locations.txt
++ grep -i '^CMAC_PILOTSBOX='
++ cut -d= -f2
+ TRACKER_HOME=-35.362734,149.165300,586,270
+ '[' -z -35.362734,149.165300,586,270 ']'
+ '[' 0 == 1 ']'
+ cmd='/tmp/ArduPlane.build/ArduPlane.elf -I0'
+ '[' 0 == 1 ']'
+ case $VEHICLE in
+ RUNSIM='nice /home/stephen/ardupilot/Tools/autotest/jsbsim/runsim.py --home=-35.363261,149.165230,584,353 --simin=127.0.0.1:5502 --simout=127.0.0.1:5501 --fgout=127.0.0.1:5503 '
+ PARMS=ArduPlane.parm
+ '[' 0 == 1 ']'
+ '[' 0 == 1 ']'
+ '[' 0 == 1 ']'
+ /home/stephen/ardupilot/Tools/autotest/run_in_terminal_window.sh ardupilot /tmp/ArduPlane.build/ArduPlane.elf -I0
Starting ardupilot : /tmp/ArduPlane.build/ArduPlane.elf -I0
ERROR: Please install xterm
+ exit 1

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • Worked it out - just had to run make configure which created the file.

    Working now - just have to figure out how to work it.

This reply was deleted.

Activity

DIY Robocars via Twitter
1 hour ago
DIY Robocars via Twitter
RT @NVIDIADRIVE: Season Beta has arrived! Check out the first race of the @roborace season, livestreaming from Anglesey Circuit Sept. 24-26…
8 hours ago
DIY Robocars via Twitter
RT @IndyAChallenge: Here is the ROS-based small-scale vehicle platform showing the ROS Visualization (Rviz) screen with multiple ROS nodes…
19 hours ago
DIY Robocars via Twitter
RT @IndyAChallenge: Here is Black & Gold Autonomous Racing's simulated racecar running a lap @IMS and showing the team's code overtaking ot…
19 hours ago
DIY Robocars via Twitter
19 hours ago
DIY Robocars via Twitter
RT @donkey_car: New Maintainers! Donkey Car 4.0 and more! Here is our September Newsletter! https://donkeycar.substack.com/p/september-donkey-newsletter?r=2ji2t&utm_campaign=post&utm_medium=web&utm_source=copy
19 hours ago
DIY Robocars via Twitter
RT @chr1sa: Kinda cool that we just hit 2,500 members of our Bay Area self-driving car racing league. More than 10k globally. Fast, cheap…
19 hours ago
DIY Robocars via Twitter
RT @chr1sa: Our next @DIYRobocars virtual AI car race is next Saturday. Compete from home using the @donkey_car simulator -- no physical ca…
Sunday
DIY Robocars via Twitter
RT @RoboticMasters: Students from @Sydney_Uni working hard on improvements and changes to @donkey_car simulator. @diyrobocars @adafruit…
Sunday
DIY Robocars via Twitter
Practice virtual race this Saturday; the real thing will be on Oct 3 https://www.meetup.com/DIYRobocars/
Sep 23
DIY Robocars via Twitter
Sep 23
Derrick Davies liked lisa TDrones's profile
Sep 23
DIY Robocars via Twitter
Sep 21
DIY Robocars via Twitter
RT @SahikaGenc: AWS DeepRacer & Hot Wheels Track https://youtu.be/4H0Ei07RdR4 via @YouTube
Sep 14
DIY Robocars via Twitter
Sep 8
DIY Robocars via Twitter
RT @davsca1: We are releasing the code of our Fisher Information Field, the first dedicated map for perception-aware planning that is >10x…
Sep 8
More…