Verify Object Detection Results
Check that the object detection node is running and publishing detection messages, and ensure that the camera input is available.
After launching the object detection node, you should confirm that it is active and that detection messages are being published. Use the following ROS 2 commands to inspect the node and topics:
bash
# List running nodes
ros2 node list
# Display information about the object detection node
ros2 node info /rcr0nn/object_detector
To monitor detection messages and topic statistics:
bash
# View detection messages
ros2 topic echo /rcr0nn/detect
# Check topic information
ros2 topic info /rcr0nn/detect
ros2 topic hz /rcr0nn/detect
# Verify the camera is publishing
ros2 topic list | grep camera
ros2 topic hz /rcr0nn/camera/image_raw