Problem in Mission Planner Simulation code?

I brought this over from the Simulation Forum with the hope of a response. I'm trying to get AeroSim-RC to work with the APMv2.5 following Jean-Louis instructions located at http://code.google.com/p/ardupilotdev/wiki/HILTestAeroSIMIt works, but I believe I have discovered a problem in Mission Planner v1.2.32 and 1.2.33.

I first run the Radio Calibration and set Flight Modes in Mission Planner. Next on the Simulation screen  I select AeroSimRC and set Roll, Pitch and Yaw Rates to 4000 and Throttle Rate to 10000 (per Jean-Louis).  Then I connect to the APMv2.5 with either the QUAD-HIL, ArduCopter v2.8.1, or ArduCopter v2.9.1 Quad firmware installed and click SimLink Start/Stop. Now I arm the APM and move the sticks on the transmitter around watching the ArduPilot Outputs (lower lefthand corner on the Simulation screen) and note that Pitch, Roll and Yaw all vary between -1 and +1 as expected. Throttle however does not move between 0 and +1, but rather between 0 and 0.2 when at full throttle.  As expected when I start AeroSim-RC, I have full control of Roll, Pitch, and Yaw, but Throttle barely moves.

I have tried various Throttle Gains, but cannot find a value that will advance the Throttle Output past 0.2.  I hooked up a scope to the APM outputs and verified that I could see the pulse train vary with the changes in Throttle.  So it seems that Mission Planner isn't sending the correct Throttle outputs to the USB connected to the computer.

Would one of the Mission Planner developers take a look at this and see if it is really a problem?

Thanks!

Al Dynarski

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

Join diydrones

Email me when people reply –

Replies

  • Not an answer, but I'm having troubles in MP 1.2.48 with XPlane 9.  I calibrated the radio and ensured that the correct PWM values are being output, but the throttle command in the bottom left of the simulation tab reads "0.000" until the throttle stick is physically set to 50% or above, from where it increases from 0 to 1.  This is problematic for me as I need to implement my own throttle control scheme for a custom flight mode, but cannot simulate it with any degree of accuracy.

    Any ideas or pointers are much appreciated!

    -Mike

This reply was deleted.

Activity