mirror of
https://github.com/okalachev/flix.git
synced 2025-07-30 04:48:59 +00:00
Use arm/disarm gestures Add arm/disarm commands Add ratesExtra variable for Rename interpretRC to interpretControls Rename controlRate to controlRates Remove USER mode Add invalidate methods for vector and quaternion Add valid/invalid method for vector and quaternion Add valid/invalid function Print armed in rc command Pass auto mode to heartbeat Use actuator_control_target for motors
Gazebo Simulation

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.