Oleg Kalachev 3fdebf39d8 Fix mavlink disconnection in pauses in cli commands
Implement pause function that proceeds processing mavlink.
Use temporal workaround for simulation, as micros function gives the same result on the same simulation step.
2025-02-28 19:25:41 +03:00
..
2024-10-23 14:30:25 +03:00
2025-01-24 14:35:44 +03:00
2025-02-17 15:51:58 +03:00
2024-12-25 01:41:45 +03:00
2024-01-31 12:07:37 +03:00
2024-12-27 15:34:33 +03:00
2024-12-23 13:00:02 +03:00
2025-01-17 17:38:47 +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.