Hi guys,
I’ve been trying to implement this change in my PX4’s firmware, https://github.com/PX4/Firmware/pull/6112 , in order to allow attitude commands to be received from offboard mode in HIL simulation. However, when I try to build and upload firmware from Ubuntu console or Qt Creator, the firmware flashes fine but the aircraft doesn’t respond to inputs on XPlane. I can read its telemetry fine, but the control surfaces and motor won’t respond.
Things I’ve tried:
-
Building standard px4fmu-v2_default firmware in Qt Creator and Linux console - the firmware flashes fine but HIL inputs don’t work.
-
Flashing standard stable firmware in QGC - this works and allows HIL inputs to work, but doesn’t fix the original issue of no attitude setpoints in HIL.
-
Flashing beta or developer builds of PX4 firmware in QGC - this also leads to a successful flash but no HIL input response.
I’m on XPlane 10 and QGC daily build, I’ve also tried QGC stable.
Does anyone have any suggestions? I’m only trying to change about 10 lines of code and it’s been bogging me down for weeks!
Cheers!