Class Motors

java.lang.Object
com.crossbotics.ftchelper.robot.Motors

public final class Motors extends Object
Encoder counts per turn and top speed of the common FTC motors, by the same ids as the simulator's parts catalog (sim/parts/parts.json, docs/guides/parts-catalog.md): "gobilda-5203-312", "rev-hd-hex-20"... Modules use it to turn a motor id into encoder counts per degree or per wheel turn.

The numbers are copied from the parts catalog, which has each seller's page and the date it was checked; a test checks that they still match it. Docs: docs/modules/robot.md

  • Method Details