0
$\begingroup$

Rosanswers logo

I was referring to a tutorial pertaining to laser_scan_matcher package. Thanks a lot for such a decent tutorial. Nevertheless, I have several questions regarding this package and the related written tutorial. They are as follow:

  1. It publishes pose2D topic which comprises of position(x, y) and orientation(theta). Are those position and orientation values cumulative or relative?
  2. Can the theta value be used without /imu and /odom? I actually got the theta values without /imu and /odom, are these values valid? I'm asking this because there is something written in the tutorial "Imu messages, used for theta prediction. Only used if use_imu is set to true.", so, I'm afraid that the valid theta values can only be obtained/valid when Imu messages is used.
  3. In the tutorial, "Required tf Transforms:base_link → laser". How do I implement this? Is it right/sufficient as what I did in the launch file here.

Hope somebody or the author can give me some insights on this..


Originally posted by alfa_80 on ROS Answers with karma: 1053 on 2011-12-05

Post score: 0

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

You are working with three frames: the fixed frame (let's say, odom), the base frame(base_link) and the laser frame (laser)

  1. The pose2D message is the same as the odom->base_link tf being published. It is provided only for convenience (in case you want to subscribe to a topic and not a tf). The value of the message is the pose of the base frame in relation to the fixed frame.

  2. Make sure you note the distinction between the theta input and theta output. The theta input is optional. It can be from an IMU or odometry source. If you have these sensors, it improves the speed and accuracy of the scan matching, because it provides an initial guess. The theta output is the best guess for the angle, given the laser scans. So yes, the theta output is valid even if you don't have any theta input.

  3. That tf best implemented with a static tf publisher. The launch file you linked works.

I hope this helps.


Originally posted by Ivan Dryanovski with karma: 4954 on 2011-12-05

This answer was ACCEPTED on the original site

Post score: 1


Original comments

Comment by alfa_80 on 2011-12-05:
@Ivan Dryanovski: Could you please answer my question no.1 as well..Thanks..

Comment by alfa_80 on 2011-12-05:
By the way, I only have 2 frames which are the base frame(base_link) and the laser frame (laser). I don't have the fixed frame (let's say, odom). Even without /odom, I still can subscribe /pose topic. Is that still OK, what I did?

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.