Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nothing visible in the Find-Object window #147

Open
emp002 opened this issue May 23, 2024 · 3 comments
Open

Nothing visible in the Find-Object window #147

emp002 opened this issue May 23, 2024 · 3 comments

Comments

@emp002
Copy link

emp002 commented May 23, 2024

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

@matlabbe
Copy link
Member

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

@emp002
Copy link
Author

emp002 commented May 27, 2024

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.

@matlabbe
Copy link
Member

matlabbe commented Jun 3, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants