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
RT @gclue_akira: 柏の葉で走行させてるjetracerの中身 #instantNeRF #jetracer https://t.co/giVvuE4hP7
Jul 4
DIY Robocars via Twitter
Cool web-based self-driving simulator. Click save when the AI does the right thing https://github.com/pncsoares/self-driving-car
Jul 4
DIY Robocars via Twitter
RT @donkey_car: Human-scale Donkey Car! Hope this makes it to a @diyrobocars race https://www.youtube.com/watch?v=ZMaf031U8jg
Jun 25
DIY Robocars via Twitter
Jun 25
DIY Robocars via Twitter
Jun 16
DIY Robocars via Twitter
RT @GrantEMoe: I won my first @diyrobocars @donkey_car virtual race! Many thanks to @chr1sa @EllerbachMaxime @tawnkramer and everyone who m…
Jun 13
DIY Robocars via Twitter
RT @gclue_akira: JetRacerで自動走行したコースを、InstantNeRFで再構築。データセットは別々に収集 #jetracer #instantNeRT https://t.co/T8zjg3MFyO
Jun 13
DIY Robocars via Twitter
RT @SmallpixelCar: SPC 3.0 Now the motor also works. This car is doable. I just need to design a deck to mount my compute and sensors. http…
Jun 13
DIY Robocars via Twitter
RT @SmallpixelCar: My new car SPC 3.0. https://t.co/CKtkZOxeNQ
Jun 7
DIY Robocars via Twitter
RT @SmallpixelCar: High speed at @diyrobocars thanks @EdwardM26321707 for sharing the video https://t.co/o4317Y2U1S
Jun 7
DIY Robocars via Twitter
RT @SmallpixelCar: Today at @RAMS_RC_Club for @diyrobocars. Used @emlid RTK GPS and @adafruit @BoschGlobal IMU. Lap time 28s https://t.co/R…
May 28
DIY Robocars via Twitter
May 15
DIY Robocars via Twitter
May 14
DIY Robocars via Twitter
May 13
DIY Robocars via Twitter
RT @f1tenth: Say hi to our newest #F1TENTH creation for @ieee_ras_icra next week in Philly. It’s going to be huge! 😎 🔥 @AutowareFdn @PennEn…
May 13
DIY Robocars via Twitter
May 11
More…