Dual Servos
constructor(@Nullable left: Servo, @Nullable right: Servo, leftClosed: Double, leftOpen: Double, rightClosed: Double, rightOpen: Double)
Create a new DualServos.
Parameters
left
the left servo
right
the right servo
left Closed
the left servo closed position
left Open
the left servo open position
right Closed
the right servo closed position
right Open
the right servo open position
Create a new DualServos with default open and close positions. This relies that your servos are configured at the hardware level to move in the correct directions.
Parameters
left
the left servo
right
the right servo