Oleg Kalachev 449dd44741 Fix storing nans and infs in preferences in simulator
Turns out file streams cannot parse nans and infs on some platforms, so use std::stof to parse.
2025-07-14 09:52:49 +03:00
..
2025-04-13 01:42:47 +03:00
2025-01-24 14:35:44 +03:00
2025-07-12 09:29:47 +03:00
2025-05-16 05:02:27 +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

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.