find-object icon indicating copy to clipboard operation
find-object copied to clipboard

Nothing visible in the Find-Object window

Open emp002 opened this issue 1 year ago • 3 comments

I am using ROS2 humble. I have a 3D camera plugin defined in my URDF which publishes the topics which the find_object_2d subscribes to. I see that my topics are being published but still can't see anything in the window. Is there a tutorial on how to use this package? image image image image

emp002 avatar May 23 '24 07:05 emp002

I try source and binaries versions, and it seems to work as expected (I see image and features extracted).

Check if the camera topics are published:

ros2 topic hz /camera/color/image_raw
ros2 topic hz /camera/aligned_depth_to_color/image_raw
ros2 topic hz /camera/color/camera_info

tested with a D435i following instructions for ROS2:

ros2 launch realsense2_camera rs_launch.py align_depth.enable:=true

ros2 launch find_object_2d find_object_3d.launch.py \
   rgb_topic:=/camera/color/image_raw \
   depth_topic:=/camera/aligned_depth_to_color/image_raw \
   camera_info_topic:=/camera/color/camera_info

matlabbe avatar May 26 '24 19:05 matlabbe

I try source and binaries versions, and it seems to work as expected (I see image and features extracted).

Check if the camera topics are published:

ros2 topic hz /camera/color/image_raw
ros2 topic hz /camera/aligned_depth_to_color/image_raw
ros2 topic hz /camera/color/camera_info

tested with a D435i following instructions for ROS2:

ros2 launch realsense2_camera rs_launch.py align_depth.enable:=true

ros2 launch find_object_2d find_object_3d.launch.py \
   rgb_topic:=/camera/color/image_raw \
   depth_topic:=/camera/aligned_depth_to_color/image_raw \
   camera_info_topic:=/camera/color/camera_info

The topics are published and are subscribed by the find_object_2d node as you can see on the rqt graph. Right now I don't have a physical camera so I am using gazebo's depth camera plugin.

emp002 avatar May 27 '24 04:05 emp002

rqt_graph says the topic is advertised and there is a subscriber on it, but it doesn't show if the topics are actually published.

matlabbe avatar Jun 03 '24 00:06 matlabbe