Module rotation
Source Expand description
- get_angle
- Gets the Rotation Sensor’s current angle in centidegrees (0-36000)
- get_position
- Gets the Rotation Sensor’s current position in centidegrees
- get_reversed
- Gets the Rotation Sensor’s reversed flag
- get_velocity
- Gets the Rotation Sensor’s current velocity in centidegrees per second
- reset
- Resets the Rotation Sensor
- reset_position
- Resets the Rotation Sensor position to 0
- set_data_rate
- Sets the Rotation Sensor’s refresh interval in milliseconds
- set_position
- Sets the Rotation Sensor position reading to a desired rotation value
- set_reversed
- Sets the Rotation Sensor reversed flag