more work on motors
This commit is contained in:
@ -52,20 +52,23 @@
|
||||
"control.raiseEvent|param|value": "Component specific code indicating the cause of the event.",
|
||||
"motors.Motor.clearCount": "Clears the motor count",
|
||||
"motors.Motor.count": "Gets motor step count.",
|
||||
"motors.Motor.move": "Moves the motor by a number of degrees",
|
||||
"motors.Motor.move|param|angle": "the degrees to rotate, eg: 360",
|
||||
"motors.Motor.reset": "Resets the motor.",
|
||||
"motors.Motor.move": "Moves the motor by a number of rotations, degress or seconds",
|
||||
"motors.Motor.move|param|unit": "the meaning of the value",
|
||||
"motors.Motor.move|param|value": "the move quantity, eg: 2",
|
||||
"motors.Motor.power": "Turns the motor on or off at the current speed",
|
||||
"motors.Motor.power|param|on": "true if the motor should be on",
|
||||
"motors.Motor.reset": "Resets the motor and clears any synchronization",
|
||||
"motors.Motor.setBrake": "Sets the automatic brake on or off when the motor is off",
|
||||
"motors.Motor.setBrake|param|brake": "a value indicating if the motor should break when off",
|
||||
"motors.Motor.setReversed": "Reverses the motor polarity",
|
||||
"motors.Motor.setSpeed": "Sets the motor speed level from ``-100`` to ``100``.",
|
||||
"motors.Motor.setSpeed|param|speed": "the power from ``100`` full forward to ``-100`` full backward, eg: 50",
|
||||
"motors.Motor.speed": "Gets motor actual speed.",
|
||||
"motors.Motor.stop": "Stops the motor",
|
||||
"motors.Motor.sync": "Synchronizes a follower motor to this motor",
|
||||
"motors.Motor.sync|param|follower": "the motor that follows this motor commands, eg: motors.largeC",
|
||||
"motors.Motor.tachoCount": "Gets motor tacho count.",
|
||||
"motors.setSyncSpeed": "Synchronizes this motor with another motor.",
|
||||
"motors.setSyncSpeed|param|speed": "the power applied to the motor, eg: 50",
|
||||
"motors.setSyncSpeed|param|turnRatio": "the ratio of the master power applied to this motor, eg: 100",
|
||||
"motors.Motor.turn": "Turns the motor and the follower motor by a number of rotations",
|
||||
"motors.Motor.turn|param|turnRatio": "the ratio of power sent to the follower motor, from -200 to 200",
|
||||
"motors.Motor.turn|param|unit": "the meaning of the value",
|
||||
"motors.Motor.turn|param|value": "the move quantity, eg: 2",
|
||||
"motors.stopAllMotors": "Stops all motors",
|
||||
"output.createBuffer": "Create a new zero-initialized buffer.",
|
||||
"output.createBuffer|param|size": "number of bytes in the buffer",
|
||||
|
@ -12,6 +12,9 @@
|
||||
"LightsPattern.RedFlash|block": "Flashing Red",
|
||||
"LightsPattern.RedPulse|block": "Pulsing Red",
|
||||
"LightsPattern.Red|block": "Red",
|
||||
"MoveUnit.Degrees|block": "degrees",
|
||||
"MoveUnit.Rotations|block": "rotations",
|
||||
"MoveUnit.Seconds|block": "seconds",
|
||||
"Output.ALL|block": "All",
|
||||
"Output.A|block": "A",
|
||||
"Output.BC|block": "B+C",
|
||||
@ -37,13 +40,15 @@
|
||||
"control.raiseEvent|block": "raise event|from %src|with value %value",
|
||||
"control|block": "control",
|
||||
"motors.Motor.count|block": "`icons.motorLarge` %motor|count",
|
||||
"motors.Motor.move|block": "move `icons.motorLarge` %motor|by %angle|degrees at %speed|%",
|
||||
"motors.Motor.move|block": "move `icons.motorLarge` %motor|for %value|%unit",
|
||||
"motors.Motor.power|block": "power `icons.motorLarge` %motor|%on",
|
||||
"motors.Motor.reset|block": "reset `icons.motorLarge` %motor",
|
||||
"motors.Motor.setBrake|block": "set `icons.motorLarge` %motor|brake %brake",
|
||||
"motors.Motor.setReversed|block": "set `icons.motorLarge` %motor|reversed %reversed",
|
||||
"motors.Motor.setSpeed|block": "set speed `icons.motorLarge` %motor|to %speed|%",
|
||||
"motors.Motor.speed|block": "`icons.motorLarge` %motor|speed",
|
||||
"motors.Motor.stop|block": "stop `icons.motorLarge` %motor",
|
||||
"motors.Motor.sync|block": "sync `icons.motorLarge` %motor|with `icons.motorLarge` %follower",
|
||||
"motors.Motor.tachoCount|block": "`icons.motorLarge` %motor|tacho count",
|
||||
"motors.Motor.turn|block": "turn `icons.motorLarge` %motor|by %value|%unit|turn %turnRadio",
|
||||
"motors.largeMotorA|block": "large A",
|
||||
"motors.largeMotorB|block": "large B",
|
||||
"motors.largeMotorC|block": "large C",
|
||||
@ -52,7 +57,6 @@
|
||||
"motors.mediumMotorB|block": "medium B",
|
||||
"motors.mediumMotorC|block": "medium C",
|
||||
"motors.mediumMotorD|block": "medium D",
|
||||
"motors.setSyncSpeed|block": "set sync speed B+C with %turnRatio|turn ratio at %speed|% speed",
|
||||
"motors.stopAllMotors|block": "stop all `icons.motorLarge`",
|
||||
"motors|block": "motors",
|
||||
"output|block": "output",
|
||||
@ -69,6 +73,5 @@
|
||||
"{id:category}Serial": "Serial",
|
||||
"{id:group}Buttons": "Buttons",
|
||||
"{id:group}Light": "Light",
|
||||
"{id:group}Motors": "Motors",
|
||||
"{id:group}Screen": "Screen"
|
||||
}
|
Reference in New Issue
Block a user