Rumarino-Team / hydrus-software-stack

Unified software stack for the Hydrus submarine that will include computer vision, embedded, and controls code.
1 stars 4 forks source link

Getting Started:

Welcome to the Hydrus Software Stack. This is the collection of ROS packages for running RUMarino AUV.

How to install

Prerequisites:

To install the dependencies and running the packages with Docker you need to run the following commands.

git clone https://github.com/Rumarino-Team/hydrus-software-stack.git
cd docker
chmod +x ./run_docker.sh
./run_docker.sh

Options for running the dockers.

the command ./run_docker.sh have the following options for running it lets discuss them.

There are 3 types of docker compose that the application can run. cpu only, nvidia gpu and Jetsons. Whenever you run the command ./run_docker.sh this will automatically detect your computer which one applies best to run for your specific case.

Aditionally there are 3 arguments that you add into the application for different purposes:

./run_docker.sh --deploy --volume --force-cpu

Roslaunch

There are three main nodes required to enable autonomy:

controllers : autonomy/src/controllers.py computer_vision: autnomy/src/cv_publishers.py mission_planning: ros_mission_planning.py

To run all the ros nodes at the same time you can use the autonomy.launch launch file.

roslaunch autonomy autonomy.launch

Download ROS Bags

Run ROS Bags

  1. Download the ROS bag file.

  2. Play the bag with:

    rosbag play <file_path>
  3. To loop playback:

    rosbag play <file_path> --loop