RomiServo
- class romi.RomiServo(channel: SupportsInt | SupportsIndex)
Bases:
pybind11_objectRomiServo.
A SimDevice based servo
Constructs a RomiServo.
- Parameters:
channel – the servo channel
- getAngle() wpimath.units.radians
Get the servo angle.
- Returns:
Current servo angle in radians
- setAngle(angle: wpimath.units.radians) None
Set the servo angle.
- Parameters:
angle – Desired angle in radians