SITL with X-Plane

I'm wondering if it is possible to use SITL with X-Plane instead of the other sims in the tutorial.  I'm awaiting my APM 2.5 and want to try out the APM on a UAV that I created in PlaneMaker.  I'm decent with Linux and Windows so any advice that someone can give on performing this please do share!  Thanks in advance.

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

Join diydrones

Email me when people reply –

Replies

  • Yep, you can do this! We're working on building a plane in PlaneMaker, moving it over the FlightGear and connecting the SITL to flightgear. We'll be releasing instructions, code and videos at the end of the year that will explain how to do this.

    Also, you can rewrite runsim.py to connect to the XPlane UDP ports instead of the JSBSim ports, however I'm not sure what information XPlane's FDM provides. We're having a hard enough time just connecting to JSBsim through FlightGear (we're getting floating point errors in the Ardu.elf at the moment) so good luck!

    • Yep, we've got it working with FG but it's a little buggy. The SITL wrapper for arduplane has a lot of unchecked floating point calculations so it dies every once and a while. We have our own repo and will be making it available soon (1-2 weeks) with instructions on how to set everything up. May I ask what plane you would like to use? We can test it in the sim we have and get a better idea of what we may need to fix before the first role out.
This reply was deleted.

Activity

Jose Araujo liked Jose Araujo's profile
Aug 29
spencer harvey liked spencer harvey's profile
Jul 9
More…