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

Laser Positioning on robot

asked 2012-07-09 05:57:36 -0500

allenh1 gravatar image

updated 2012-07-09 07:11:48 -0500

I have a laser pushed forward to the front of my robot. I hit stuff when I navigate, so I'm trying to fix that... How do I make the tf understand the laser is pushed forward?

Also, I want to reconfigure the footprint of the robot. Any help?


So I found this launch file:

<launch>
    <!-- publish the static transform from the center of the robot to the laser rangefinder (required for slam_gmapping) -->
    <node pkg="tf" type="static_transform_publisher" name="base_link_to_laser" args="0 0.1778 0 0 0 0 base_link laser 100" />
</launch>

Any idea how to adjust it?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2012-07-09 06:39:39 -0500

Lorenz gravatar image

updated 2012-07-09 07:16:47 -0500

You need to either use a static_transform_publisher as this tutorial shows or create a URDF file as these tutorials show.

Edit: You can find the documentation for static_transform_publisherer here. The numbers specify the position of your sensor in the robot's base, format is x, y, z, yaw, pitch, roll.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-07-09 05:57:36 -0500

Seen: 303 times

Last updated: Jul 09 '12