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

Unknown reason for transform error [closed]

asked 2019-03-24 20:08:36 -0500

nkp1215 gravatar image

updated 2019-03-25 09:10:27 -0500

We are building a robot for a competition and using ROS for navigation. I'm attempting to get the LASERscan data onto a static map. However, whenever it's on base_footprint the laserscan data it doesn't come up, but when the fixed frame is switched to laser_frame, it shows.

I tried to attach pictures but was unable too. But base_footprint is publishing to laser_frame.

Also my lidartransform node is publishing to a /tf node. Map server publishing to /map. And ydlidar publishing to /scan.

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2022-10-12 04:42:56.635157

Comments

Hi nkp1215, You need to be a bit more elaborate. "However, whenever it's on base_footprint, it doesn't come up, but when the fixed frame is switched to laser_frame, it shows." It shows where? In RVIZ? Can you please edit the question with the output of rosrun tf view_frames ?

janindu gravatar image janindu  ( 2019-03-24 21:03:36 -0500 )edit

1 Answer

Sort by » oldest newest most voted
0

answered 2019-03-25 09:17:38 -0500

Procópio gravatar image

Your tf tree is probably disconnected. You likely need to publish a static transform from your "laser_frame" to your "base_footprint".

edit flag offensive delete link more

Comments

Currently, the base_footprint is publishing to laser_frame. Does this need to be switched if so how?

nkp1215 gravatar image nkp1215  ( 2019-03-25 13:59:53 -0500 )edit

@nkp1215 please elaborate more your question and post the output of rosrun tf view_frames, as mentioned by @janindu

Procópio gravatar image Procópio  ( 2019-04-03 03:01:38 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2019-03-24 20:08:36 -0500

Seen: 460 times

Last updated: Mar 25 '19