uzh-rpg / flightmare

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

Flightmare Gym #61

Open goranj1 opened 3 years ago

goranj1 commented 3 years ago

Is it possible to use Flightmare's Gym interface without installing FlightRl (we would like to avoid the dependency to stable-baselines and specific tensorflow version you are using in this project)?

Is there any example how to do this?

yun-long commented 3 years ago

Absolutely, all you need is the RL environment, like this.

https://github.com/uzh-rpg/flightmare/blob/master/flightrl/examples/run_drone_control.py#L21

To install the gym environment, following this wiki

https://github.com/uzh-rpg/flightmare/wiki/Install-with-pip