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

Cliff sensor modifications #10

Open
stonier opened this issue Jan 10, 2020 · 0 comments
Open

Cliff sensor modifications #10

stonier opened this issue Jan 10, 2020 · 0 comments

Comments

@stonier
Copy link
Collaborator

stonier commented Jan 10, 2020

Conversion

Currently Kobuki outputs a human-_un_friendly measurement for the distance to the floor in case a cliff is detected (see kobuki_msgs/CliffEvent -> bottom).

The current output is the A/D-value of the sensor (Integer, 0 - 4095) and doesn't allow the users to related to an actual distance (e.g. in meters).

I suggest we add a conversion to the driver to output the mesured distance in meter.

Threshold

Currently thresholded at 8cm in firmware, too much for turtlebot. 4cm better.

Details

Conversion : put a lookup table in kobuki driver and publish both analog and converted values (converted will lose accuracy)

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

No branches or pull requests

1 participant