This repository contains code for an agent that was trained using deep reinforcement learning (PPO) to balance a ball in air using fluid that is sprayed by a water hose (agent). The problem is based on this paper.
This folder contains the code the 2D simulator which is used as the backend physics engine for the motion of rigid body and fluid.
This folder contains autoencoders which were designed during this project. This approach is used in the original paper, but was abandoned here because it was difficult to integrate with stable baselines in the available time.
This folder contains a gym environment which is based on the 2D physics simulator.
This folder contains the script for training an agent from the gym-sim environment using stable-baselines.
This folder contains the final version of the hybrid simulator which is able to balance the ball in air.
For more info: refer here.