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

How scan angle is measured and published in LaserScan msg?

asked 2015-04-20 05:29:10 -0500

Kishore Kumar gravatar image

updated 2015-04-20 05:30:03 -0500

Range of the distance of the obstacles are measured from output of laser sensor but how actually the scan angles are measured. do we use any separate sensor to get the value?

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted
3

answered 2015-04-20 07:16:23 -0500

Chaos gravatar image

updated 2015-04-20 07:17:10 -0500

The scan angles depend on the angle_increment and angle_min values stored into the topic (as you can see here). i.e.: if angle_increment is set to 0.1 (rad) the first range measurement is refered to angle_min + 0*0.1 , the second to angle_min + 1*0.1 rad, the third to angle_min+2*0.1 rad and so on. In general, the angle refered to a particular range measurement is

angle = angle_min + index*angle_increment

where index is refered to the index of the vector's element containing that range measurement.

edit flag offensive delete link more
0

answered 2015-04-20 06:39:09 -0500

dornhege gravatar image

The scan angle is relative to the laser, where the laser is by definition at the frame that is defined for the driver instance. E.g., for 0 deg and 1m, there will be a point at x=1m in the laser frame.

edit flag offensive delete link more
0

answered 2015-04-20 06:10:58 -0500

bvbdort gravatar image

Laser is emitted by transmitter for every 1 or 0.5 degree depending on your laser setting.

Corresponding distances were calculated using time taken by laser pulse to reflect at receiver.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2015-04-20 05:29:10 -0500

Seen: 2,017 times

Last updated: Apr 20 '15