Open monajalal opened 1 year ago
Can you check by topics? I am not sure what is going on here. I am not sure the detection is working correctly. I see some heatmap, but no detection on the second image, e.g., bounding box.
I have tested almost everything in topic and nothing shows the pose. Could you please show which one do you select? I haven't changed your code and I though it would work for the items and it seems people are getting it to work without change of code.
When I first open rviz I get a warning for "global status"
Then I use the command at the end of your README.md for fixed frame but it throws an error:
~/catkin_ws# rosrun tf2_ros static_transform_publisher 0 0 0 0.7071 0 0 -0.7071 world
Then I changed it to the following command and the error is gone however still no pose shown.
~/catkin_ws# rosrun tf static_transform_publisher 0 0 0 0 0 0 1 map dope_webcam 5
Here are what pose_meat and PoseArray show:
For the image that nothing shows ('No Image') here's the side panel. This is the image selected by 'Display Name'. The image that has a SPAM is from topic --> webcam--> image
Also, the following shows pose_meat
doesn't have any new messages.
~# rosstopic list
bash: rosstopic: command not found
# rostopic list
/clicked_point
/dope/belief_meat
/dope/camera_info
/dope/detected_objects
/dope/dimension_meat
/dope/markers
/dope/pose_meat
/dope/rgb_points
/dope/webcam/camera_info
/dope/webcam/image_raw
/initialpose
/move_base_simple/goal
/rosout
/rosout_agg
/tf
/tf_static
# rostopic hz /dope/pose_meat
subscribed to [/dope/pose_meat]
no new messages
no new messages
no new messages
no new messages
no new messages
no new messages
no new messages
no new messages
no new messages
no new messages
My rosnodes are:
# rosnode list
/dope
/dope_webcam
/rosout
/rviz_1669901658066642276
/static_transform_publisher_1669901906574858598
also:
# rostopic info /dope/pose_meat
Type: geometry_msgs/PoseStamped
Publishers:
* /dope (http://MYCOMPUTER:40797/)
Subscribers:
* /rviz_1669901658066642276 (http://MYCOMPUTER:46235/)
I tried both of these and none works for publishing the 3D cuboid when I select the "Image" in "Add --> Display Name" however the actual image and the belief maps are published. Can you please guide me how to see the 3D cuboid around the meat can? In config_pose.xml I have commented soup can and set to meat.
~/catkin_ws/src/camera_info_manager_py# rosrun tf2_ros static_transform_publisher 0 0 0 0.7071 0 0 -0.7071 world
[ INFO] [1669839875.757842505]: Spinning until killed publishing -0.7071 to world ~/catkin_ws/src/camera_info_manager_pyrosrun tf static_transform_publisher 0 0 0 0 0 0 1 map dope_webcam 5
Here's the config_pose.xml change: