Oleg Kalachev 3cc3014ca0 Improve logic of passing channels data in simulated SBUS
Return the data the same way as on the real drone without touching channels global vairable
2024-12-23 02:04:22 +03:00
..
2024-10-23 14:30:25 +03:00
2024-01-31 12:07:37 +03:00
2024-11-04 11:51:17 +03:00
2024-10-23 09:25:39 +03:00

Gazebo Simulation

Flix simulator

Building and running

See building and running instructions.

Code structure

Flix simulator is based on Gazebo Classic and consists of the following components:

  • Physical model of the drone: models/flix/flix.sdf.
  • Plugin for Gazebo: simulator.cpp. The plugin is attached to the physical model. It receives stick positions from the controller, gets the data from the virtual sensors, and then passes this data to the Arduino code.
  • Arduino imitation: Arduino.h. This file contains partial implementation of the Arduino API, that is working within Gazebo plugin environment.