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

Gabe noisy light #40

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Gabe noisy light #40

wants to merge 2 commits into from

Commits on Jul 23, 2019

  1. Configuration menu
    Copy the full SHA
    88ef64c View commit details
    Browse the repository at this point in the history

Commits on Jul 25, 2019

  1. Took 50 measurements of 3 different colors (white, grey, black) on 15…

    … different bots. I then analyzed this to find the distribution of each of these colors. I found that the standard deviation of the light measurements depended on the intensity of the light being measured (more light->higher standard deviation). Fit a second degree polynomial to the measurements I took. Thus, each time get_ambientlight() is called, the standard deviation polynomial uses the noise-free measurement to find the std_dev at that measurement and a normal distribution random number generator finds the measurement with noise.
    SeymourGabe committed Jul 25, 2019
    Configuration menu
    Copy the full SHA
    8c7215d View commit details
    Browse the repository at this point in the history