uzh-rpg / flightmare

An Open Flexible Quadrotor Simulator
https://uzh-rpg.github.io/flightmare/
Other
940 stars 336 forks source link

Quadrotor Dynamics Model #79

Open pdalrymple opened 3 years ago

pdalrymple commented 3 years ago

The flightmare research paper mentions a flexible interface to three quadrotor dynamics.

  1. Is there any documentation on how/where one sets and changes the quadrotor dynamics?
  2. Are users able to import their own dynamic models? Is so, what are the steps?
yun-long commented 3 years ago

Hi,

Unfortunately, we don't have very specific documentation about how to set or change the quadrotor dynamics. In summary, we mainly use the quadrotor for two kinds of applications, a) reinforcement learning, b) model-based control, such as MPC. For a), please refer to quadrotor_env. We implemented an OpenAI gym style environment where the task is to stabilize the quadrotor from randomly initialized poses. The environment is then wrapped via pybind11, see here. Finally, we can python and RL algorithms to solve the problem. see here For b) we use the RotorS to simulate the quadrotor and RPG quadrotor control framework to control the quadrotor and use Flightmare Unity Standalone to simulate 3D environment and images. please see here .

mrunaljsarvaiya commented 7 months ago

@yun-long any chance you could link some documentation/paper that the dynamics model defined in the following file is based off of ? https://github.com/uzh-rpg/flightmare/blob/master/flightlib/src/dynamics/quadrotor_dynamics.cpp?