Brandon, I know you're using Xplane HIL with the current code. Can you verify Paul's issue?
--
Chris Anderson
CEO, 3D Robotics
ch...@3drobotics.com
After trying to get input on this issue via the DIY Drones forum, I contacted 3D Robotics directly. They, in turn, suggested I post this issue here. If anyone happens to know if this is, in fact, a software bug, or if I should try certain things to get this to work, I would greatly appreciate the information.I have had this problem off and on since getting my APM 2.0 and it seems to generally be related to new releases of firmware. I think I ruled out Mission Planner, but I can't be entirely sure.When running the HIL simulation version of firmware, and if all is working as it should, I can go to the controller calibration screen within MP and observe inputs from my RC transmitter and I can calibrate those inputs. However, when it's not working, MP does not register any input from the transmitter. If I enable a joystick, it does not work either. If I make the connection to the sim (X-Plane 10), no inputs are seen on the simulation page in MP either and, as expected, I can't control the virtual plane in X-Plane.As I mentioned, this generally happens with new releases of firmware. I resolve the issue by going back in releases. However, it's not that black-and-white. I had it working with ArduPlane 2.68, but when I upgraded to 2.72, inputs were no longer registered. I went back to 2.68 and it still would not work. I had to go back to 2.65, which worked, and then up to 2.68 again and it would work. 2.72 will not work at all in this regard. Just to be clear, I was loading the HIL version of firmware. Also, I have never had this kind of problem in real mode.Thank you for any help you can provide.Sincerely,Paul--
You received this message because you are subscribed to the Google Groups "drones-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drones-discus...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Hi Brandon,Thanks for taking time to look into this. It's good to know someone else is seeing the same behavior. Hopefully this can be addressed in the code.Sincerely,
Paul
Hello, I tried HIL with
- X-Plane 9.70
- Mission Planner 1.2.50
- HIL 2.69 (I have used this version extensively with no problems)
- HIL 2.73 (does not work properly)
I have been able to fly with HIL 2.73; however, the only flight mode that works is Manual and the data being displayed on the PFD is incorrect. The compass is pointing in the wrong direction and the artificial horizon is not matching the instruments in XPl-;ane.I flashed from HIL 2.69 (built with "#define HIL_MODE HIL_MODE_ATTITUDE") to HIL 2.73 (uploaded via mission planner) and did not reconfigure anything.I was able to take off manually, but stabilized mode was constantly filing to maintain level flight. The aircraft would bank to one side and slowly descend. When I switched to Auto, MP drew the orange line to the WP but the aircraft weaved back and forth and did not fly to the WP.
I have attached some screenshots showing my settings and comparing the PFD with X-Plane. I can do a more detailed description of exactly the steps I do through to set up HIL with X-Plane if you think it will help.Thanks for looking into this and let me know what else I can do to be of assistance.
I guess you’re talking about plane and not copter. For copter I haven’t tried to use anything but SITL in quite some time. HIL hasn’t been working reliably since we introduced inertial nav for alt hold back in AC2.9.
http://dev.ardupilot.com/wiki/setting-up-sitl-on-windows/
-Randy
--
Well, after days of trouble shooting, I may have just solved my problem just minutes after I posted. I believe the transmitter must be calibrated with the simulation link on. Additionally, I had the throttle gain set to 90000 in the Simulation tab. When I set it back to the default 10000, it worked perfectly. And yes, this is arduplane.
Well, after days of trouble shooting, I may have just solved my problem just minutes after I posted. I believe the transmitter must be calibrated with the simulation link on. Additionally, I had the throttle gain set to 90000 in the Simulation tab. When I set it back to the default 10000, it worked perfectly. And yes, this is arduplane.
--
You received this message because you are subscribed to the Google Groups "drones-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to drones-discus...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.