From dabe291058b4f771b6d1179a3c643dfd08b7030c Mon Sep 17 00:00:00 2001 From: puttley Date: Tue, 29 Aug 2023 11:11:18 -0500 Subject: [PATCH] commit --- index.html | 2 +- msl-3.xml | 6 +----- msl_blocks.js | 6 +++--- 3 files changed, 5 insertions(+), 9 deletions(-) diff --git a/index.html b/index.html index 46b5dc3..a0a2e13 100644 --- a/index.html +++ b/index.html @@ -246,7 +246,7 @@

- 1440 + 2200 diff --git a/msl-3.xml b/msl-3.xml index 82030d6..0101b7b 100644 --- a/msl-3.xml +++ b/msl-3.xml @@ -2022,16 +2022,12 @@ ToF Sensor - + value 1 1 2 2 - 3 - 3 - 4 - 4 diff --git a/msl_blocks.js b/msl_blocks.js index 1e14dc7..9deaa9b 100644 --- a/msl_blocks.js +++ b/msl_blocks.js @@ -380,7 +380,7 @@ Blockly.Blocks['set_drive_speed'] = { Blockly.Blocks['start_driving'] = { init: function() { this.appendDummyInput() - .appendField("drive") + .appendField("start driving") .appendField(new Blockly.FieldDropdown([["forward","forward"], ["reverse","reverse"], ["pivot right","pivotR"], ["pivot left","pivotL"], ["spin right","spinR"], ["spin left","spinL"]]), "action"); this.appendValueInput("speed") .setCheck("Number") @@ -533,8 +533,8 @@ Blockly.Blocks['get_encoder'] = { Blockly.Blocks['get_lidar'] = { init: function() { this.appendDummyInput() - .appendField("ToF sensor") - .appendField(new Blockly.FieldDropdown([["1","1"], ["2","2"], ["3","3"], ["4","4"]]), "value"); + .appendField("ToF Sensor") + .appendField(new Blockly.FieldDropdown([["1","1"], ["2","2"]]), "value"); this.setInputsInline(true); this.setOutput(true, null); this.setColour("#ec5b13");