Exercise 3.1.2 - Failed to get camera data in alloted time

hello,
(course manipulation )
after i run this commands:

ros2 run simple_grasping basic_grasping_perception_node --ros-args -p debug_topics:=true

ros2 action send_goal /find_objects grasping_msgs/action/FindGraspableObjects "{plan_grasps: false}"

i got the error
Failed to get camera data in alloted time

i changed the time (from 3 seconds to 10 second) and i still get the same error.

anyone can help?

Hello @Scotvers ,

I’ve been testing this part right now and it’s working ok for me. I believe you might be missing to bridge the camera topics to ROS2, which is done in Exercise 2.1:

For this, you need to update the topics.yaml file with the following:

topics: [{topic: /joint_states, type: sensor_msgs/msg/JointState, queue_size: 100}, {topic: /clock, type: rosgraph_msgs/msg/Clock, queue_size: 100}, {topic: /tf_static, type: tf2_msgs/msg/TFMessage, queue_size: 100}, {topic: /tf, type: tf2_msgs/msg/TFMessage, queue_size: 100}, {topic: /wrist_rgbd/depth/camera_info, type: sensor_msgs/msg/CameraInfo, queue_size: 100}, 
{topic: /wrist_rgbd/depth/points, type: sensor_msgs/msg/PointCloud2, queue_size: 100}]

With this setup, it should work OK.

thank you very much!!!

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.