mirror of
https://github.com/okalachev/flix.git
synced 2025-07-27 01:29:33 +00:00
Add a readme to gazebo directory
This commit is contained in:
parent
2694f68b87
commit
4850b95029
15
gazebo/README.md
Normal file
15
gazebo/README.md
Normal file
@ -0,0 +1,15 @@
|
||||
# Gazebo Simulation
|
||||
|
||||
<img src="../docs/img/simulator.png" width=500 alt="Flix simulator">
|
||||
|
||||
## Building and running
|
||||
|
||||
See [building and running instructions](../docs/build.md#simulation).
|
||||
|
||||
## Code structure
|
||||
|
||||
Flix simulator is based on [Gazebo Classic](https://classic.gazebosim.org) and consists of the following components:
|
||||
|
||||
* Physical model of the drone: [`models/flix/flix.sdf`](models/flix/flix.sdf).
|
||||
* Plugin for Gazebo: [`simulator.cpp`](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`](Arduino.h). This file contains partial implementation of the Arduino API, that is working within Gazebo plugin environment.
|
Loading…
x
Reference in New Issue
Block a user