Skip to content

thethaibinh/ardupilot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39,410 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ardupilot SITL simulation for a quadplane

A SITL simulation with Ardupilot controller, Mission Planner GCS, and a quadplane model from X-Plane.

Project website

1. Overview

This project provides a configuration to run a light and precise SITL simulation for a Quadplane using the Ardupilot controller with an aircraft model in X-Plane. Many individual developers do not have a PC that is powerful enough to run a full-featured flight simulation with a high frame rate, especially when it comes to a professional platform such as X-Plane. However, if we only want a flight to evaluate algorithms at navigational levels, we can still manipulate tools and configurations to achieve that. Ardupilot does support X-Plane simulations if it has a stable frame rate, data rate, and not too much drop-out. Error from a frame rate missing would integrate into a failure. I modified the way it calculates aircraft position so that it rejects combined errors.

2. Getting started

  • Run X-Plane with your quadplane model. You have to adjust
  • In X-Plane, go to Settings --> tab Data Output --> NETWORK CONFIGURATION, Choose "Send network data output". Set IP address: 127.0.0.1 Port 49005
  • Run Ardupilot SITL by the command sim_vehicle.py -v ArduPlane -f xplane option parameters: --console --map

    /ardupilot$ sim_vehicle.py -v ArduPlane -f xplane --console --map

  • Flight operation by mavproxy cmd or GCS Mission Planner or QgroundControl
  • Parameters file for autopilot: Simulation: xplane_sil_6H.param Sample flight mission 915 Hoa Lac: 916_15012020.waypoint in libraries/SITL/params Xplane của project.

3. Flight your own models and learn.

  • Refer modelling instruction from Laminar Research to build your own aircraft models.
  • Try the Penguin drone if you like. It's an inverted V-tail configuration and is the same UAV class as my model. Therefore, it's compatible with the control model. You might need to fine tune several PID parameters to make it fly.

quadplane

About

ArduPlane, ArduCopter, ArduRover source

Resources

License

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors

Languages

  • C++ 77.1%
  • Python 9.1%
  • C 8.8%
  • HTML 2.3%
  • MATLAB 1.0%
  • Shell 0.6%
  • Other 1.1%