I'm trying to get SITL up and running in cygwin. So far I've had some success, I can run ArduCopter.elf and connect it to sim_multicopter.py. Instead of using mavproxy to send rc commands I'm trying to use the APM Planner joystick control. APM Planner connects OK via TCP and I see it get a GPS lock and I can even arm the motors with the joystick, but every time I do the quad just goes into a crazy tumble and sim_quadcopter soon starts reporting "Hit ground at...". If I turn the joystick off and leave APM in Stabilize it will go back to a stable hover, though it will very soon Disarm the motors.
Anybody else tried this? I'm not sure where my problem is, whether it's something with my SITL setup or in my joystick config (I followed the joystick wiki page http://code.google.com/p/arducopter/wiki/Joystick)?
Thanks for any advice.
Permalink Reply by Bob Wilkinson on July 19, 2012 at 7:48pm Further testing shows it has nothing to do with Joystick control. Taking off using MAVProxy has the same result.
It seems like SITL is kind of broken at the moment. However I think this is what autotest uses? So maybe I'm missing something.

Permalink Reply by Bill Bonney on July 19, 2012 at 10:14pm the problem with sitl on windows is that the timer doesnt run like its meant to. at 1khz, it varys depending on the host cpu load.
Permalink Reply by Kate on August 30, 2012 at 11:34pm Hey Bob, I am facing the same problem..... after it is receiving "Hit ground...." the altitude is dropping off and it is just yawing... and in auto mode like you said it is going crazy... did you try it in linux OS?? is it working now? please help me...
Thank you...
Permalink Reply by Bob Wilkinson on August 31, 2012 at 6:55am 
Permalink Reply by Bill Bonney on August 31, 2012 at 7:33am I did get SITL working on Linux to a degree, and had the plane fly. I did have aircraft stability issues and it would crash the JBSim all the time :( Haven't had time to go back and do further work on this yet.
I would agree Linux is probably a better option that Mac OSX. I did start to setup on mac, but it's a lot more effort as you have to use MacPorts to get dependent libs or build them yourself
Permalink Reply by Kate on September 2, 2012 at 7:22am Thanks for the reply ... i shall try in linux... hoping it will work :)
Permalink Reply by Kate on September 10, 2012 at 8:29pm Hey Bob,
Do you have any idea about the python script that we are running? How to manipulate it and all?
Permalink Reply by ritchie.lee on December 17, 2012 at 4:55pm
Season Two of the Trust Time Trial (T3) Contest has now begun. The fourth round is an accuracy round for multicopters, which requires contestants to fly a cube. The deadline is April 14th.24 members
184 members
51 members
8 members
51 members
© 2013 Created by Chris Anderson.
Powered by
