Skip to content

Eliminate double rounding-errors #4

@aquila12

Description

@aquila12

Currently, output from the IK is in radians (as a float). This is converted into degrees (as an integer), and later into microseconds (also as an integer). The second conversion is done within the servo library itself, which also exposes a writeMicroseconds method.

Some rounding error could be eliminated by directly converting from radians into microseconds, and omitting the second conversion (and the intermediate, granular, degree measurement).

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