Skip to content

Document sensor equation fit #2

@Peque

Description

@Peque

Normally:

def raw_to_distances(raw, a, b):
    return a / numpy.log(raw) - b

If the sensors are too perpendicular to the wall, reflection may change the best equation to:

def raw_to_distances(raw, a, b, c):
    return a / numpy.log(raw) - b - c * numpy.sqrt(raw)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions