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

DIY Robocars via Twitter
RT @chr1sa: Donkeycar 4.4 released with tons of new features, including path learning (useful with GPS outdoors), better Web and Lidar supp…
Nov 27, 2022
DIY Robocars via Twitter
RT @NXP: We are already biting our nails in anticipation of the #NXPCupEMEA challenge! 😉 Did you know there are great cash prizes to be won…
Nov 24, 2022
DIY Robocars via Twitter
RT @gclue_akira: レースまであと3日。今回のコースは激ムズかも。あと一歩 #jetracer https://t.co/GKcEjImQ3t
Nov 24, 2022
DIY Robocars via Twitter
UC Berkeley's DIY robocar program https://roar.berkeley.edu/
Nov 24, 2022
DIY Robocars via Twitter
RT @chr1sa: The next @DIYRobocars autonomous car race at @circuitlaunch will be on Sat, Dec 10. Thrills, spills and a Brazilian BBQ. Fun…
Nov 24, 2022
DIY Robocars via Twitter
RT @arthiak_tc: Donkey car platform ... Still training uses behavioral cloning #TCXpo #diyrobocar @OttawaAVGroup https://t.co/PHBYwlFlnE
Nov 20, 2022
DIY Robocars via Twitter
RT @emurmur77: Points for style. @donkeycar racing in @diyrobocars at @UCSDJacobs thanks @chr1sa for taking the video. https://t.co/Y2hMyj1…
Nov 20, 2022
DIY Robocars via Twitter
RT @SmallpixelCar: Going to @diyrobocars race at @UCSDJacobs https://t.co/Rrf9vDJ8TJ
Nov 8, 2022
DIY Robocars via Twitter
RT @SmallpixelCar: Race @diyrobocars at @UCSDJacobs thanks @chr1sa for taking the video. https://t.co/kK686Hb9Ej
Nov 8, 2022
DIY Robocars via Twitter
RT @PiWarsRobotics: Presenting: the Hacky Racers Robotic Racing Series in collaboration with #PiWars. Find out more and register your inter…
Oct 23, 2022
DIY Robocars via Twitter
RT @Hacky_Racers: There will be three classes at this event: A4, A2, and Hacky Racer! A4 and A2 are based around UK paper sizing and existi…
Oct 23, 2022
DIY Robocars via Twitter
Oct 23, 2022
DIY Robocars via Twitter
Oct 19, 2022
DIY Robocars via Twitter
Oct 18, 2022
DIY Robocars via Twitter
RT @NeaveEng: Calling all UK based folks interested in @diyrobocars, @f1tenth, @donkey_car, and similar robot racing competitions! @hacky_r…
Oct 13, 2022
DIY Robocars via Twitter
RT @araffin2: 🏎️ After hours of video editing, I'm happy to share a best of my Twitch videos on learning to race with RL. 🏎️ Each part is…
Oct 13, 2022
More…