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
How to use the new @donkey_car graphical UI to edit driving data for better training https://www.youtube.com/watch?v=J5-zHNeNebQ
Monday
DIY Robocars via Twitter
RT @SmallpixelCar: Wrote a program to find the light positions at @circuitlaunch. Here is the hypothesis of the light locations updating ba…
Nov 26
DIY Robocars via Twitter
RT @SmallpixelCar: Broke my @HokuyoUsa Lidar today. Luckily the non-cone localization, based on @a1k0n LightSLAM idea, works. It will help…
Nov 25
DIY Robocars via Twitter
@gclue_akira CC @NVIDIAEmbedded
Nov 23
DIY Robocars via Twitter
RT @luxonis: OAK-D PoE Autonomous Vehicle (Courtesy of zonyl in our Discord: https://discord.gg/EPsZHkg9Nx) https://t.co/PNDewvJdrb
Nov 23
DIY Robocars via Twitter
RT @f1tenth: It is getting dark and rainy on the F1TENTH racetrack in the @LGSVLSimulator. Testing out the new flood lights for the racetra…
Nov 23
DIY Robocars via Twitter
RT @JoeSpeeds: Live Now! Alex of @IndyAChallenge winning @TU_Muenchen team talking about their racing strategy and open source @OpenRobotic…
Nov 20
DIY Robocars via Twitter
RT @DAVGtech: Live NOW! Alexander Wischnewski of Indy Autonomous Challenge winning TUM team talking racing @diyrobocars @Heavy02011 @Ottawa…
Nov 20
DIY Robocars via Twitter
Incredible training performance with Donkeycar https://www.youtube.com/watch?v=9yy7ASttw04
Nov 9
DIY Robocars via Twitter
RT @JoeSpeeds: Sat Nov 6 Virtual DonkeyCar (and other cars, too) Race. So bring any car? @diyrobocars @IndyAChallenge https://t.co/nZQTff5…
Oct 31
DIY Robocars via Twitter
RT @JoeSpeeds: @chr1sa awesomely scary to see in person as our $1M robot almost clipped the walls as it spun at 140mph. But it was also awe…
Oct 29
DIY Robocars via Twitter
RT @chr1sa: Hey, @a1k0n's amazing "localize by the ceiling lights" @diyrobocars made @hackaday! It's consistently been the fastest in our…
Oct 25
DIY Robocars via Twitter
RT @IMS: It’s only fitting that @BostonDynamics Spot is waving the green flag for today’s @IndyAChallenge! Watch LIVE 👉 https://t.co/NtKnO…
Oct 23
DIY Robocars via Twitter
RT @IndyAChallenge: Congratulations to @TU_Muenchen the winners of the historic @IndyAChallenge and $1M. The first autonomous racecar comp…
Oct 23
DIY Robocars via Twitter
RT @JoeSpeeds: 🏎@TU_Muenchen #ROS 2 @EclipseCyclone #DDS #Zenoh 137mph. Saturday 10am EDT @IndyAChallenge @Twitch http://indyautonomouschallenge.com/stream
Oct 23
DIY Robocars via Twitter
RT @DAVGtech: Another incident: https://t.co/G1pTxQug6B
Oct 23
More…