Hi,
I really need to figure this out but I'm badly stuck, desperately need help. Trying to do HIL simulation via X-Plane.
When I load normal ArduPlane firmware to my APM 2.6 board, it shows blue blinking light and I can also calibrate accelerometer, external compass just fine. The horizon in Flight Data shows armed.
HOWEVER, when I upload HIL firmware to the board, only the red light keeps blinking, I'm not able to calibrate anything nor the MP is able to simulate the data, the artificial horizon says "unarmed".
MOST IMPORTANTLY, I can see the IMU and location data coming in from X-Plane in the Simulation tab, BUT APM doesn't respond to it, it doesn't show the location or speed/pitch/attitude/altitude data in the Flight Data tab, the map or horizon isn't updated at all. It all remains static. APM doesn't control neither fly the plane and keep saying "unarmed".
Also, I keep getting this message: "Waiting for first HIL_STATE message"
Screenshots attached.
Replies
Please let me know if any of you had worked this out, I'm having the exact same issue as Ehti.
I had success with firmware v. 2.76 HIL
Marden Alcantara,
I'm trying a simulation with HIL, but this site http://copter.ardupilot.com/wiki/hil-quad/ says it does not work from version 2.9, and I can not find a firmware version 2.8 or earlier HIL. You can pass the link where you got your firmware or send to me? I appreciate if you can help me!
Sorry for bad english.
P.S. My email is vihg22@gmail.com
For people having trouble with later versions of ardupilot on pixhawk. Try this:
http://dev.ardupilot.com/wiki/building-px4-with-make/
But in the step 6 ,instead of the default commands use "make px4-v2-hil".
This will build a HIL version of autopilot for pixhawk. You can then upload using make or Mission Planner.
Victor,
I found here:
http://firmware.diydrones.com/Plane/2014-01/2014-01-13-04:01/apm2-h...
This is for Plane.
Have the same issue. For me, Mission Planner can't find the HIL firmware for ArduPlane(it can only find Quad and Heli). I am able to install the normal firmware and see the bearing and attitude but rest of the stuff is not being read in the simulation tab.
I have same problem :(