2018-02-06 19:43:50 -08:00
|
|
|
# Motors
|
|
|
|
|
|
|
|
## Motion
|
|
|
|
|
|
|
|
```cards
|
2018-02-19 07:35:08 -08:00
|
|
|
motors.largeA.run(50)
|
2018-02-06 19:43:50 -08:00
|
|
|
motors.largeAB.tank(50, 50)
|
|
|
|
motors.largeAB.steer(0, 50)
|
|
|
|
motors.largeA.pauseUntilReady()
|
|
|
|
motors.largeA.setBrake(false)
|
2018-02-06 23:18:36 -08:00
|
|
|
motors.largeA.setInverted(true)
|
2018-02-06 19:43:50 -08:00
|
|
|
motors.largeA.setRegulated(false)
|
|
|
|
motors.largeA.stop()
|
|
|
|
motors.largeA.reset()
|
2018-02-14 08:56:12 -08:00
|
|
|
motors.stopAll()
|
2018-02-06 19:43:50 -08:00
|
|
|
```
|
|
|
|
## Counters
|
|
|
|
|
|
|
|
```cards
|
|
|
|
motors.largeA.speed()
|
|
|
|
motors.largeA.angle()
|
|
|
|
motors.largeA.clearCounts()
|
|
|
|
```
|