I've written some code for ardupilot recently, and before I try it on my aircraft (and potentially crash it), I was hoping to run it in the simulation using X-Plane. I enabled the HIL_MODE_ATTITUDE in the APM code and got the simulation running fine, but my custom commands aren't being recognized.
In the real world, I'm writing to the servos using the APM_RC.OutputCh() method, and that works fine, but I seem to be bypassing the simulation code by doing this. Is there another method that I can use for when I'm running a simulation?
Thanks!
Replies