My_ROV_WS is a ROS 2 setup that demonstrates how to integrate MediaPipe with camera, perception, and visualization nodes. Follow the steps below to install dependencies, build the workspace, and launch the application.
Install the MediaPipe library:
cd ~/my_rov_ws
python -m pip install mediapipecd ~/my_rov_ws
colcon buildBefore launching, source the workspace:
cd ~/my_rov_ws
source install/setup.bashRun the launch file to start all three nodes (camera_pkg, perception_pkg, and visualization_pkg):
ros2 launch camera_pkg camera_perception_viz.launch.pyList the active ROS 2 topics to confirm data is being published:
ros2 topic listYou should see topics like:
/camera/image_raw
/perception/output
/visualization/output
Use rqt_image_view to visualize the camera feed:
ros2 run rqt_image_view rqt_image_view