-
Notifications
You must be signed in to change notification settings - Fork 21
Software installation
sudo apt install protobuf-compiler ros-noetic-rosbridge-server ros-noetic-message-to-tf ros-noetic-geographic-msgs ros-noetic-move-base ros-noetic-move-base-msgs python3-osrf-pycommon python3-openpyxl python-yaml python-enum34 python3-pip
then
pip3 install pyquaternion smbus scipy websocket-client adafruit_pca9685 rospkg
To get rid of any pesky python2 errors still left behind
sudo apt remove python2
sudo apt autoremove
sudo apt install python-is-python3
- Ubuntu 18
- ROS melodic (Follow the official installation guide)
Quick command for installing all dependencies:
sudo apt install protobuf-compiler ros-melodic-rosbridge-server ros-melodic-message-to-tf ros-melodic-geographic-msgs ros-melodic-move-base ros-melodic-move-base-msgs python-catkin-tools python-openpyxl
Explanations for the dependencies:
- Install the protobuf library, which is used as interface to Gazebo:
sudo apt install protobuf-compiler
- Install rosbridge-server to interface with sensor and actuator drivers on the physical Manta.
sudo apt install ros-melodic-rosbridge-server
- Install tf. tf is a package that lets the user keep track of multiple coordinate frames over time:
sudo apt install ros-melodic-message-to-tf
- Install tf. tf is a package that lets the user keep track of multiple coordinate frames over time:
sudo apt install ros-melodic-geographic-msgs
- Install move-base-msgs. This is necessary to perform some actions:
sudo apt install ros-melodic-move-base sudo apt install ros-melodic-move-base-msgs
- Install catkin tools, which will be used to build the project:
sudo apt install python-catkin-tools
- Install openpyxl, which is used for parsing an excel sheet in PCA9685_thruster_interface
sudo apt install python-openpyxl
- Install bluerobotics-ping, which is used by the ping360 sonar
pip install bluerobotics-ping
-
creating a catkin workspace:
mkdir -p ~/vortex_ws/src cd ~/vortex_ws catkin_init_workspace
-
building the workspace created:
cd ~/vortex_ws/ catkin build
-
source the current workspace:
echo "source vortex_ws/devel/setup.bash" >> ~/.bashrc
-
close the current terminal.
-
Enter the folder where you want to clone the repository:
cd vortex_ws/src
-
Clone the repository:
git clone https://github.com/vortexntnu/Vortex-AUV.git git clone https://github.com/vortexntnu/vortex_msgs.git
-
Compile the code by running "catkin build" inside the workspace:
cd ~/vortex_ws/ catkin build vortex_msgs catkin build
-
Download and install ZED SDK
- Download from Stereolabs
- Enter the directory with the file:
cd path/to/download/folder
- Make the file executable:
chmod +x ZED_SDK_Ubuntu18_v3.0.run
- Run the installer:
./ZED_SDK_Ubuntu18_v3.0.run
-
Enter the catkin workspace:
cd ~/manta_ws/src
-
Clone the zed-ros-wrapper repo:
git clone https://github.com/stereolabs/zed-ros-wrapper.git
-
Jump up to parent directory:
cd ../
-
Install dependencies:
rosdep install --from-paths src --ignore-src -r -y
-
Build the package:
catkin build
-
Source the package:
source ./devel/setup.bash
- Ubuntu 18
- ROS melodic
- Vortex-AUV must be installed
-
Enter the folder where you want to clone the repository:
cd vortex_ws/src
-
Clone the repository:
git clone https://github.com/vortexntnu/vortex-simulator.git
-
Compile the code by running "catkin build" inside the workspace:
cd ~/vortex_ws/ catkin build
HOME User Manual
- Git key setup
- Software installation
- Beluga
- Manta
- Pool testing at MC-Lab
- Using services to launch packages
Development Guidelines
Documentation
Theory and Resources