The code for the ROV Nereo made by PoliTOcean. The src folder is the src folder of the ros2 workspace. We are currently using ROS2 Humble. Inside the src folder there are two packages:
- nereo_pkg This package contains the code for the python nodes to be run on both the ROV and the control station, as well as the two launch files to run on the two devices.
- nereo_sensors_pkg This package contains the code for the C++ nodes, used to communicate with the I2C sensors.
- In the ros2_ws folder, run:
All the packages should now be built, you may want to include them in your .bashrc file:
colcon build
source install/setup.bash
Inside the folder unit_tests
, you can find a couple of sub directories containing cmake projects, that perform a simple test printing on the stdout some debugging infos.
- Inside the desired unit test folder, say
unit_tests/my_unit_test
, runand then runcmake .
then you can run the executable, that will have the same name as the unit test folder:make
./my_unit_test