The code for this project is adapted from here: https://github.com/ZoomLabCMU/puzzlebot_anchor. Feel free to check it out for more details.
- Create conda environment with
conda env create -f puzzle_env.yml
This will create a environment named puzzle
. You will need to activate it with
conda activate puzzle
- Install three other dependencies with
pip
in thepuzzle
environment.
pip install casadi
pip install polytope
pip install pybullet
- The package is originally in the ROS catkin source workspace due to my hardware interface. But the simulation is independent of ROS. You might need to add the directory to your python path.
Run the following for the simulation.
python bin/run_sim.py
Let me know if you encounter any errors.