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 @knightsautoteam: Hi @diyrobocars, we are Orlando's first Autonomous racing club and would love your support. We are hosting our first K…
Friday
DIY Robocars via Twitter
RT @Heavy02011: #VirtualRaceLeague: @DIYRobocars Race #14 - #ParkingLotNerds join us January 15th for #AutonomousRacing #RoboRace ⁦@DAVGtec…
Jan 16
DIY Robocars via Twitter
RT @chr1sa: And after that came our races, 50 in all. This battle between these two Russians was the best we've ever seen -- incredible fig…
Jan 16
DIY Robocars via Twitter
RT @chr1sa: Before our @DIYRobocars virtual race this weekend, we had a presentation from the team that won the Indy Autonomous Challenge i…
Jan 16
DIY Drones via Twitter
Dec 12, 2021
DIY Robocars via Twitter
Dec 12, 2021
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…
Dec 4, 2021
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
Nov 28, 2021
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, 2021
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, 2021
DIY Robocars via Twitter
@gclue_akira CC @NVIDIAEmbedded
Nov 23, 2021
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, 2021
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, 2021
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, 2021
DIY Robocars via Twitter
RT @DAVGtech: Live NOW! Alexander Wischnewski of Indy Autonomous Challenge winning TUM team talking racing @diyrobocars @Heavy02011 @Ottawa…
Nov 20, 2021
DIY Robocars via Twitter
Incredible training performance with Donkeycar https://www.youtube.com/watch?v=9yy7ASttw04
Nov 9, 2021
More…