Best configurstions for Software in Loop Simulator

Hi all,

        Is it not good idea anymore to run SITL on windows 7 platform (with cygwin interface plus pyserial and other add ons) ? As I see dev.arupilot.com has removed the previous SITL tutorial, which was showing instruction to run the SITL on windows 7 platform. Instead, now they are suggesting to run ubuntu inside windows with VMWare and then perform SITL ( Latest Tutorial). I couldn't understand reason behind it very well. 

       Please tell me , is it reccomended to run SITL with all LINUX platform or I can still do it on Windows ?. Or should I run Qground control with XPlane ?

       Also curretly I am following this tutorial from old website (Old Tutorial) and I am stuck at a step where we make 

$ cd ArduPlane
$ make sitl


I am getting the "C:/GIT/ardupilot/mk/environ.mk:44: *** ERROR: cannot determine sketchbook location - please specify on the commandline with SKETCHBOOK=<path>. Stop." And I couldn't figure to set a path for sketchbook, though I tried setting up the path used in Arduplane IDE.

       

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

Join diydrones

Email me when people reply –

Replies

  • Hi I've added the line to .bashrc as specified in the new page at http://dev.ardupilot.com/wiki/sitl-native-on-windows/

    Now when I cd in ardupilot/ArduCopter and then try running

    make sitl -j4, I'm getting the same SKETCHBOOK not found error.

    I cloned it off GitHub and have followed the instructions so far as given. I also didn't understand where to check for space in the directories as I didn't find any.

    I have no idea what to do and any help is appreciated.

    Thanks!

  • I'm getting the same sketchbook error, except it happens no matter what I try and make. Anybody got an idea?

    • Hi Nizobe,

      I couldn't solve that but I stopped using that tutorial. Instead I started using the newer tutorial released by them ( http://dev.ardupilot.com/wiki/setting-up-sitl-on-windows/#Setting_u... ). I was able to perform the simulations successfully. 

      Which tutorial are you following ? 

      • Hi Anand,

        I'm following the guides from this page http://dev.ardupilot.com/ . From the section "Getting Started With the Code" from the beginning up til Editing with Eclipse. And then I tried the EZ walkthroughs as well. No luck :/

        I'm trying to modify the actual firmware for custom use so SITL is a bit down the road for me.

        • Hi Nizobe,

          Sorry It skipped out of mind to reply earlier.

          Are you trying to setup the the SITL or something else ?

          • No, just the code itself off GitHub. I discovered the issue was a path to my repos that had spaces in it. This didn't play nice at build time. I solved it by moving my repos elsewhere on my local machine. Thanks anyway!

            • A year later... I just hit the same issue and removing the spaces from the directory name fixed it. Thanks for the hint!

This reply was deleted.

Activity

DIY Robocars via Twitter
RT @chr1sa: Just a week to go before our next @DIYRobocars race at @circuitlaunch, complete with famous Brazilian BBQ. It's free, fun for k…
7 hours ago
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
More…