Turn ratio field editor (#225)
* Turn ratio field editor (initial draft) * Add field turn ratio editor * Fix arrow rotation * Fix left and right direction, remove unnecessary SVG circles. * Update UI a little. add marker. * updated math for turnratio angle * slightly cuter * cleanup * consistent naming * more cleanup * fixing motor node issue * updated package version
This commit is contained in:
@ -476,7 +476,7 @@ namespace motors {
|
||||
* @param value (optional) move duration or rotation
|
||||
* @param unit (optional) unit of the value
|
||||
*/
|
||||
//% blockId=motorPairSteer block="steer %chassis|turn ratio %turnRatio|speed %speed=motorSpeedPicker|%"
|
||||
//% blockId=motorPairSteer block="steer %chassis|turn ratio %turnRatio=motorTurnRatioPicker|speed %speed=motorSpeedPicker|%"
|
||||
//% weight=95
|
||||
//% turnRatio.min=-200 turnRatio=200
|
||||
//% inlineInputMode=inline
|
||||
|
Reference in New Issue
Block a user