This is the docker environment, loaded out of the box with Ubuntu 18.04, ROS Melodic, Python, supporting both versions 2.7 and 3, to ensure compatibility with a wide range of existing tools and scripts, for the NYUAD Capstone Underwater RoV project.
This is intended for a straightforward and practical approach to setting up a development environment for our underwater robot.
This container supports Python both versions 2.7 and 3, to ensure compatibility with a wide range of existing tools and scripts, with a variety of Python packages like numpy and scipy, essential for data analysis and algorithm development. Additionally, the setup facilitates GUI applications, crucial for visual tools like RViz, gazebo out of the box.
We ensure the ROS environment is always ready by sourcing it in the bashrc file, and we set our working directory to '/capstonerov' in mounted docker container to keep our project organized.
To run the docker container and automatically build it if necessary run this(If you make any edits to files outside src folders rerun this):
make run
If you want to rerun the container(restart from existing image):
make rerun
To run simulation: (Run this in docker container)
make launch_sim
then run in a separate terminal:
docker exec -it capstonerov /bin/bash
make launch_sitl
If you notice your memory pile up run this: (TODO, automatically delete old images)
docker system prune -a
To run GUI applications in docker container (e.g. gazebo, rviz), you need to configure the container to use the X server of your host machine.
xhost +local:docker
Contributions are welcome. Please adhere to this project's code of conduct.
This project is licensed under the MIT License - see the LICENSE.md file for details.
For any queries or suggestions, please reach out to Rami Richani at rir8190@nyu.edu or Pi Ko at pk2269@nyu.edu.