# Exercise 3.1.2 - Failed to get camera data in alloted time

**URL:** <https://get-help.theconstruct.ai/t/exercise-3-1-2-failed-to-get-camera-data-in-alloted-time/23358>\
**Category:** ROS2 Manipulation Basics\
**Created:** [March 26, 2023, 3:02pm UTC](https://get-help.theconstruct.ai/t/exercise-3-1-2-failed-to-get-camera-data-in-alloted-time/23358 "2023-03-26T15:02:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Scotvers](https://get-help.theconstruct.ai/letter_avatar_proxy/v4/letter/s/8797f3/32.png) [@Scotvers](https://get-help.theconstruct.ai/u/Scotvers)\
**Post date:** [March 26, 2023, 3:02pm UTC](https://get-help.theconstruct.ai/t/exercise-3-1-2-failed-to-get-camera-data-in-alloted-time/23358/1 "2023-03-26T15:02:45Z")

</div>

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

```auto
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?

---

<div class="post-metadata">

**Author:** ![aezquerrostudent](https://get-help.theconstruct.ai/user_avatar/get-help.theconstruct.ai/aezquerrostudent/32/6298_2.png) [@aezquerrostudent](https://get-help.theconstruct.ai/u/aezquerrostudent)\
**Post date:** [March 28, 2023, 8:39am UTC](https://get-help.theconstruct.ai/t/exercise-3-1-2-failed-to-get-camera-data-in-alloted-time/23358/2 "2023-03-28T08:39:40Z")

</div>

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:

 ![Captura de Pantalla 2023-03-28 a las 10.38.21](https://get-help.robotigniteacademy.com/uploads/default/original/2X/e/e65a37b0558186a462f1b48d1b7e6e235a7b6aa5.png)

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

```auto
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.

---

<div class="post-metadata">

**Author:** ![Scotvers](https://get-help.theconstruct.ai/letter_avatar_proxy/v4/letter/s/8797f3/32.png) [@Scotvers](https://get-help.theconstruct.ai/u/Scotvers)\
**Post date:** [March 28, 2023, 9:19am UTC](https://get-help.theconstruct.ai/t/exercise-3-1-2-failed-to-get-camera-data-in-alloted-time/23358/3 "2023-03-28T09:19:15Z")

</div>

thank you very much!!!

---

<div class="post-metadata">

**Author:** ![bayodesegun](https://get-help.theconstruct.ai/user_avatar/get-help.theconstruct.ai/bayodesegun/32/10684_2.png) [@bayodesegun](https://get-help.theconstruct.ai/u/bayodesegun)\
**Post date:** [March 30, 2023, 9:19am UTC](https://get-help.theconstruct.ai/t/exercise-3-1-2-failed-to-get-camera-data-in-alloted-time/23358/4 "2023-03-30T09:19:16Z")

</div>

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