Working directory for my work on model-based reinforcement learning for novel robots. Best for robots with high test cost and difficult to model dynamics. Contact: nol@berkeley.edu First paper website: https://sites.google.com/berkeley.edu/mbrl-quadrotor/ There is current future work using this library, such as attempting to control the Ionocraft with model-based RL. https://sites.google.com/berkeley.edu/mbrl-ionocraft/
Note that I have been very actively developing in this repo, please reach out if you have any questions of accuracy in the readme.
This directory is working towards an implementation of many simulated model-based approaches on real robots. For current state of the art in simulation, see this work from Prof Sergey Levine's group: Deep Reinforcement Learning in a Handful of Trials using Probabilistic Dynamics Models.
Future implementations work towards controlled flight of the ionocraft, with a recent publication in Robotics and Automation Letters and in the future for transfer learning of dynamics on the Crazyflie 2.0 Platform.
Some potentially noteable implementations include:
Usage is generally of the form, with hydra enabling more options:
$ python learn/trainer.py robot=iono
learn/trainer.py
: is for training dynamics models (P,PE,D,DE) on experimental data. The training process uses Hydra to allow easy configuration of which states are used and how the predictions are formatted. learn/simulate_mpc.py
: a script that runs MBRL with a MPC on a simulated environment.learn/bo.py
: For generating PID parameters using a dynamics model as a simulation environment. This will eventually extend beyond PID control. See the controllers directory learn/control
. I am working to integrate opto.learn/plot.py
: a script for viewing different types of predictions, under improvementlearn/pipps_experiment.py
: A reimplementation of the paper "PIPPS: Flexible Model-Based Policy Search Robust to the Curse of Chaos". I wrote a blog post summarizing the main derivation behind this work here.CF Firmware: https://github.com/natolambert/crazyflie-firmware-pwm-control
Ros code: https://github.com/natolambert/ros-crazyflie-mbrl