Skip to content

🐛[BUG] Rotation::reset() does not change the absolute angle of the rotation sensor #688

@SizzinSeal

Description

@SizzinSeal

Describe the bug
There is no way to set the absolute angle measured by the rotation sensor to 0

To Reproduce
Steps to reproduce the behavior:

  1. Instantiate a rotation sensor
  2. try to zero the sensor with Rotation::reset()
  3. Observe that the measured absolute angle does not change

Expected behavior
For Rotation::reset() to zero the absolute position of the encoder

Screenshots
N/A

Desktop (please complete the following information):
N/A

Kernel Version: 4.1.0

Additional context
Also, the docs don't distinguish between Rotation::get_position and Rotation::get_angle

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions