Simulation for exploring the control and path planning of continuum robots
# Clone repository
git clone <repository>
cd continuum-robot
# Make setup script executable
chmod +x environment/scripts/setup.sh
# Run setup script which creates conda environment
./environment/scripts/setup.sh
# Activate environment
conda activate continuum_robot
# Launch Jupyter Lab
jupyter lab
- Jupyter Lab will open in your default browser at http://localhost:8888
- Navigate to notebooks/ directory to access development notebooks
- Generated code will be saved to src/notebooks/ directory
Run tests using:
pytest tests/
If you update environment.yml or requirements.txt, you can update your environment with:
conda env update -f environment.yml
pip install -r requirements.txt
# From project root directory
cd environment
docker compose up test
# Or from any directory using -f flag
docker compose -f /path/to/continuum-robot/environment/docker-compose.yml up test
# from root
docker compose -f environment/docker-compose.yml up test
# From project root directory
cd environment
docker compose up jupyter
# Or from any directory using -f flag
docker compose -f /path/to/continuum-robot/environment/docker-compose.yml up jupyter
# Access Jupyter Lab at http://localhost:8888
# Get shell in container
docker compose exec jupyter bash
The Docker setup mounts these directories:
notebooks/: Jupyter notebooks directory src/: Source code tests/: Test files
This allows editing files on your host machine while running code in the container.