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

Questions on RVIZ settings for Hokuyo laser scan

asked 2015-06-17 21:31:57 -0600

psprox96 gravatar image

updated 2015-06-17 23:15:50 -0600

After connecting my Hokuyo with the laptop, I ran urg_node, tf_broadcaster, tf_listener, state_robot_publisher and RVIZ.

The Hokuyo doesnt scan the area with laser yet since I need to do configuration.

For Global Options, fixed frame is /base_laser.

For Grid, reference frame is /base_laser.

For Laser Scan, topic is /scan, now working.

For TF, status is Warn because:

/map No transform from [/map] to frame [/base_laser]

/my_frame No transform from [/my_frame] to frame [/base_laser]

For Map, no topic.

How do I troubleshoot the warning?

edit retag flag offensive close merge delete

Comments

What is your laser frame? /my_frame? Then set the fixed frame to that.

dornhege gravatar image dornhege  ( 2015-06-18 02:58:24 -0600 )edit

I set fixed frame to /base_link and it is OK now. However, /map and /my_frame are still at "Warning". Do you know what did I set wrongly?

psprox96 gravatar image psprox96  ( 2015-06-18 04:32:28 -0600 )edit

1 Answer

Sort by » oldest newest most voted
1

answered 2015-06-18 02:03:48 -0600

You need to publish somehow the transformation between the map and your laser. That is, use static transform publisher to publish the transformation between /map and /base_laser. It can be all 0, do not worry about that.

However, I recommend you to stick to the common frame naming convention usually /laser for the laser and /base_link

edit flag offensive delete link more

Comments

Yes, I got it! Thanks. I created a launch file for static transform publisher and the laser is scanning already. But my /map and /my_frame is still at "Warning" level. Is it fine? If not, do you know what I need to configure?

psprox96 gravatar image psprox96  ( 2015-06-18 04:35:27 -0600 )edit
1

Well, it is never fine to have warnings. Are you still publishing any information for any of those frames? Probably you need another static tf publisher between map and world.

Javier V. Gómez gravatar image Javier V. Gómez  ( 2015-06-18 06:34:49 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2015-06-17 21:31:57 -0600

Seen: 1,274 times

Last updated: Jun 18 '15