-100 means turn left on the spot (right motor at 100% forward, left motor at 100% backward),
0 means drive in a straight line, and
100 means turn right on the spot (left motor at 100% forward, right motor at 100% backward).
"steering" can be any number between -100 and 100.
Example:
steering_drive = MoveSteering(OUTPUT_A, OUTPUT_B)
# drive in a turn for 10 rotations of the outer motor
steering_drive.on_for_rotations(-20, SpeedPercent(75), 10)steering. Note that calling this function alone will not make the motors move, it only calculates the speed. A run_* function must be called afterwards to make the motors move.
-100 means turn left on the spot (right motor at 100% forward, left motor at 100% backward),
0 means drive in a straight line, and
100 means turn right on the spot (left motor at 100% forward, right motor at 100% backward).
The speed that should be applied to the outmost motor (the one rotating faster). The speed of the other motor will be computed automatically.
This method overrides ev3dev2.motor.MoveTank.on_for_degrees.
The distance each motor will travel follows the rules of :meth:`MoveTank.on_for_degrees`.
This method overrides ev3dev2.motor.MoveTank.on_for_rotations.
The distance each motor will travel follows the rules of :meth:`MoveTank.on_for_rotations`.