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 @breadcentric: The handy bit about racing with self-driving cars is that one can type while the car is racing. Report from #AWSDeepRacer…
16 hours ago
DIY Robocars via Twitter
RT @chr1sa: Our Bay Area @DIYRobocars meetup is now at 2,700 members. Next in-person events (in Oakland) are training day on July 17 and…
16 hours ago
DIY Robocars via Twitter
Videos from the ICRA autonomous racing workshop are now available: https://linklab-uva.github.io/icra-autonomous-racing/
Jun 10
DIY Robocars via Twitter
RT @SmallpixelCar: Prepared race track for Warm Spring Raceways @wsraceways and looking forward to test my new car at RAMS RC @ramsaicar fa…
Jun 6
DIY Robocars via Twitter
RT @f1tenth: Trying out some nasty blocking maneuvers 🏎️🤖 #f1tenth #autonomousracing https://t.co/nMTstsaogM
Jun 5
DIY Robocars via Twitter
May 27
DIY Robocars via Twitter
RT @araffin2: I will talk this Saturday from 18:00 to 19:00 Paris time for the @diyrobocars community about learning to race in hours using…
May 27
DIY Robocars via Twitter
RT @a1k0n: Luckily the infeasible hairpin problem was easily reproducible in simulation and I could test the fix before bringing the car ba…
May 26
DIY Robocars via Twitter
RT @a1k0n: Another problem was that I was over-constraining the car's allowed accelerations, so it didn't think it could turn as tight as i…
May 26
DIY Robocars via Twitter
RT @a1k0n: Breaking the map up into two halves worked, but I had to be more careful about separating the inner track from outer. There's se…
May 26
DIY Robocars via Twitter
RT @a1k0n: Here's a datalog for my fastest lap of the day. Lap timer is tiny window lower-left. https://t.co/myrlWWrKUY
May 26
DIY Robocars via Twitter
May 26
DIY Robocars via Twitter
RT @a1k0n: Here was my car's POV. Man this track is confusing in first-person! After the incident my camera was all scuffed up and I was af…
May 23
DIY Robocars via Twitter
RT @circuitlaunch: Loved seeing so many familiar (masked) faces at Circuit Launch today for our first in person @diyrobocars in over a year…
May 22
DIY Robocars via Twitter
RT @circuitlaunch: Last but not least, mystery guest @BostonDynamics Spot took to the track @diyrobocars He enjoyed the #brazilianbbq too 😂…
May 22
DIY Robocars via Twitter
RT @SmallpixelCar: Today’s race @circuitlaunch for @diyrobocars with @a1k0n Was busy in the morning and did not get a chance to tune camera…
May 22
More…