Additional environments for the OpenAI Gym.
Currently contains the following environments:
- QuadrotorEnv.
This is an environment for quadrotor stabilization at the origin. The env has static episode length that depends on episode time in sec
ep_time,sim_freqthat is integration freq, andsim_steps- number of simulation time steps after action is applied. For example: forep_time=5,sim_freq=200andsim_steps=2the environment will have 500 steps.
- python 3.X
Clone it:
mkdir ~/prj
cd ~/prj
git clone https://github.com/amolchanov86/gym_art.gitAdd it to your .bashrc
export PYTHONPATH=$PYTHONPATH:~/prj/gym_artTest default quadrotor with the Mellinger nonlinear controller
cd ~/prj/gym_art/gym_art/quadrotor
./quadrotor.pyTest CrazyFlie quadrotor with the Mellinger nonlinear controller
cd ~/prj/gym_art/gym_art/quadrotor
./quadrotor.py -q crazyfliesee --help option if you want to experiment with other parameters.
- I tested everything with the Garage's anaconda environment. Hence, please, install Garage if something goes wrong.
- The current
defaultversion of the quadrotor model is roughly approximates AscTech Hummingbird quadrotor. All supported models:- Hummingbird. Parameters were borrowed in large from the Rotors Simulator. See Hummingbird URDF for more details.
- CrazyFlie