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

Correction for the standard deviations of the sensors' measurements #2

Open
ManuelZ opened this issue Sep 27, 2021 · 1 comment
Open

Comments

@ManuelZ
Copy link

ManuelZ commented Sep 27, 2021

In line 298 of probability_mapper.py, your intend to create a normal continuous random variable based on the reading and its standard deviation, however the standard deviation that you provide has different units than the reading provided.

Such std devs are interpolations of TOF_STD_DEV/INFRARED_STD_DEV, which are not in millimeter units, but actually are decimal fractions of the actual measured distances. (e.g. for a TOF reading between 0 and 0.05 meters, there is a std_dev of 12.6% of the actual reading).

Refer to: https://cyberbotics.com/doc/reference/distancesensor#lookup-table

@debbynirwan
Copy link
Owner

Hi @ManuelZ , thanks for your comments, I'll check when I have time.

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

2 participants