๐[BUG] `Rotation::reset()` does not change the absolute angle of the rotation sensor
SizzinSeal opened this issue ยท 1 comments
SizzinSeal commented
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:
- Instantiate a rotation sensor
- try to zero the sensor with
Rotation::reset()
- 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
ion098 commented
@SizzinSeal It looks like this isn't a bug, just not fully documented behavior: