2018-02-07 04:43:50 +01:00
|
|
|
# Motors
|
|
|
|
|
|
|
|
## Motion
|
|
|
|
|
|
|
|
```cards
|
|
|
|
motors.largeA.setSpeed(50)
|
|
|
|
motors.largeAB.tank(50, 50)
|
|
|
|
motors.largeAB.steer(0, 50)
|
|
|
|
motors.largeA.pauseUntilReady()
|
|
|
|
motors.largeA.setBrake(false)
|
2018-02-07 08:18:36 +01:00
|
|
|
motors.largeA.setInverted(true)
|
2018-02-07 04:43:50 +01:00
|
|
|
motors.largeA.setRegulated(false)
|
|
|
|
motors.largeA.stop()
|
|
|
|
motors.largeA.reset()
|
|
|
|
motors.stopAllMotors()
|
|
|
|
```
|
|
|
|
## Counters
|
|
|
|
|
|
|
|
```cards
|
|
|
|
motors.largeA.speed()
|
|
|
|
motors.largeA.angle()
|
|
|
|
motors.largeA.tacho()
|
|
|
|
motors.largeA.clearCounts()
|
|
|
|
```
|