SITL with APM Planner joystick control?

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.

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

Join diydrones

Email me when people reply –

Replies

  • Hey Bob, 

    Do you have any idea about the python script that we are running? How to manipulate it and all?

  • 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...

  • 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.

This reply was deleted.

Activity