ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Tf tree getting messed up when launching freenect.launch

asked 2018-02-28 03:58:13 -0500

Just launching the robot description . image description

After launching freenect

roslaunch freenect_launch freenect.launch

image description

edit retag flag offensive close merge delete

Comments

The launch file has a "publish_tf" argument, try with this argument set to false

Humpelstilzchen gravatar image Humpelstilzchen  ( 2018-03-01 02:17:59 -0500 )edit

Did the job , thank you! (@humpelstilzchen)

chrissunny94 gravatar image chrissunny94  ( 2018-03-01 02:47:02 -0500 )edit

[camera/camera_nodelet_manager-1] process has died [pid 12709, exit code -6, cmd /opt/ros/kinetic/lib/nodelet/nodelet manager __name:=camera_nodelet_manager __log:=/home/ubuntu/.ros/log/eeb501ca-1d10-11e8-875b-00044b65e5df/camera-camera_nodelet_manager-1.log]. log file: /home/ubuntu/.ros/log/eeb501c

chrissunny94 gravatar image chrissunny94  ( 2018-03-01 02:51:36 -0500 )edit

Now i am getting the above error , kinect launches and then crashes .

chrissunny94 gravatar image chrissunny94  ( 2018-03-01 02:52:10 -0500 )edit

I have tried hooking it upto RPI3 , same error .

I am now using a Nvidia Jetson TX1 , still the same error persists .

Any ideas on how to get around this problem ?

chrissunny94 gravatar image chrissunny94  ( 2018-03-01 02:53:51 -0500 )edit

When i am trying to run gmapping , i get the following error .

Timed out waiting for transform from base_link to map to become available before running costmap, tf error: Could not find a connection between 'map' and 'base_link' because they are not part of the same tree.Tf has two or more unconnec

chrissunny94 gravatar image chrissunny94  ( 2018-03-01 03:30:48 -0500 )edit

Thats a new question, also look at the mentioned log file.

Humpelstilzchen gravatar image Humpelstilzchen  ( 2018-03-01 03:54:14 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
3

answered 2018-03-02 17:38:30 -0500

Gayan Brahmanage gravatar image

Your TF tree is not fully connected. You need to publish the transformation between your base_link and camera _link

edit flag offensive delete link more

Comments

Had to set the tf on freenect.launch to not publish tf , that was conflicting with my robot tf.

chrissunny94 gravatar image chrissunny94  ( 2018-03-06 02:25:19 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2018-02-28 03:58:13 -0500

Seen: 410 times

Last updated: Mar 02 '18