atenpas / handle_detector

ROS package to localize handles in 3D point clouds
BSD 2-Clause "Simplified" License
25 stars 6 forks source link

rviz not showing data #6

Closed jsalfity closed 8 years ago

jsalfity commented 8 years ago

Hi, I'm not seeing the data in rviz. I'm referencing the instructions from step 6 of the wiki.

Rviz is not showing anything but the grid and I think I know why, but would like some reassurance and guidance if possible. Here's what I see in rviz after setting Fixed Frame to camera_link, PointCloud2 to /localization/point_cloud and MarkerArray to localization/visualization_all_handles screenshot from 2016-08-03 15 25 33

I would expect to see at least the point cloud data if localization did not recognize any handles

I'm launching an Xbox camera with roslaunch freenect_launch freenect.launch. At this point I don't have an actual robot running so I don't have anything else but the camera_link as a coordinate frame.

My output from rosrun rqt_tf_tree rqt_tf_tree (to view the /tf tree) looks like this: frames

My output from rqt_graph looks like this: rosgraph

So... I think I know why there is no output in rviz, its because there is no link between /tf and /localization.

Can anybody drop any hints if I'm on the right track, if there are solutions out there or if I'm just plain way off.

Thanks!

atenpas commented 8 years ago

Can you see the point cloud if you look at the camera's point cloud topic, e.g., /camera/depth_registered/points (if this topic exists in your case)?

With respect to the handles/grasps, is there any terminal output that indicates that grasps/handles have been found?

jsalfity commented 8 years ago

@atenpas Yes, there are definitely images coming through the /camera/depth_registered/points topic when I use PointCloud2 in rviz. They are the point cloud images that I would expect.

When I try $ rostopic echo /localization/handle_list I get the message: ERROR: cannot load message class for [handle_detector/HandleListMsg]. Are your messages built?

Even if handles haven't been found, I would still think I would be able to see the output from /localization/point_cloud. Did my hunch of the /localization not being connected to /tf raise any suspicion?

Thanks for the help!

jsalfity commented 8 years ago

Realized I wasn't subscribing to the topic /camera/depth_registered/points correctly Worked.

akhilmasetti1 commented 5 years ago

@jsalfity

even im getting same error can u let me know where i went wrong when i run point cloud i got like this Screenshot from 2019-03-30 23-32-57 Screenshot from 2019-03-30 23-34-25