Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistent LaserScan data #14

Open
moooeeeep opened this issue Apr 11, 2018 · 0 comments
Open

Inconsistent LaserScan data #14

moooeeeep opened this issue Apr 11, 2018 · 0 comments

Comments

@moooeeeep
Copy link

moooeeeep commented Apr 11, 2018

Your LaserScan publisher seems to publish inconsistent values for the angle range (angle_min and angle_max) and the increment (angle_increment). The angle_max is supposed to be the maximum angle value, but the way the angle increment is calculated here makes it the value of one increment past the last angle. So you'd probably want to set scan.angle_increment = 3.14 / (num_readings - 1); instead (or zero, if you have only one reading).

Note that I have posted a related question here, because I wasn't sure if angle_max really has to have that strict interpretation. Feel free to share your opinion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant