AirSim icon indicating copy to clipboard operation
AirSim copied to clipboard

How to simulate a controller algorithm ?

Open MeditationG opened this issue 9 years ago • 2 comments

If I want to simulate a new controller algorithm such as LQR, LQG for the drone to tracking a specific trajectory, How should I start with it ?

MeditationG avatar Apr 24 '17 15:04 MeditationG

Currently AirSim utilize the PX4 flight stack for the drone "brain". Either through the Pixhawk in the hardware-in-the-loop simulation or directly through the Software-in-the-loop simulation. You can find more information in the PX4 Development Guide. Note that there is also a gitter channel.

AlexandreBorowczyk avatar Apr 27 '17 19:04 AlexandreBorowczyk

We are also working on running full firmware in the same process as AirSim so you won't need external SITL/HITL or PX4. You can find AirLib/include/controllers/rosflight which is all of ROSFlight firmware running from within AirSim. Things are not fully working yet though although all plumbing is done.

sytelus avatar Apr 29 '17 05:04 sytelus