luxonis / depthai-ros

Official ROS Driver for DepthAI Sensors.
MIT License
251 stars 185 forks source link

How to connect disconnected tf tress for panda and oak d lite #566

Open jide07 opened 1 month ago

jide07 commented 1 month ago

I am trying to send a pos command to Panda arm after detection using yolo4 spatial example, however I get this error when I try transform frames

image

Here's my tf tree looks like image

How do I connect to trees?

Serafadam commented 1 month ago

Hi, to connect camera to another robot you need to "link" the TF transforms, this can be done either in a launch file by specifying parent_frame argument (see this example), or by creating a combined xacro description for the whole system, more on xacro can be found here