Ask Your Question
0

How scan angle is measured and published in LaserScan msg?

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

Kishore Kumar gravatar image

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

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 -0600

Chaos gravatar image

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

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 -0600

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 -0600

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

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

Seen: 697 times

Last updated: Apr 20 '15