Skip to content

Commit 2ad726f

Browse files
committed
wip #90
1 parent f828d80 commit 2ad726f

File tree

2 files changed

+0
-25
lines changed

2 files changed

+0
-25
lines changed

src/assets/js/blockly/blocks.js

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -862,27 +862,6 @@ Blockly.Python.coderbot_adv_findLine = function (block) {
862862
return [code, Blockly.Python.ORDER_ATOMIC];
863863
};
864864

865-
Blockly.Blocks.coderbot_adv_findSignal = {
866-
/**
867-
* Block for findSignal function.
868-
* @this Blockly.Block
869-
*/
870-
init() {
871-
this.setHelpUrl(Blockly.Msg.LOGIC_BOOLEAN_HELPURL);
872-
this.setColour(250);
873-
this.appendDummyInput()
874-
.appendField(Blockly.Msg.CODERBOT_SENSOR_FINDSIGNAL);
875-
this.setOutput(true, 'Number');
876-
this.setTooltip(Blockly.Msg.LOGIC_BOOLEAN_TOOLTIP);
877-
},
878-
};
879-
880-
Blockly.Python.coderbot_adv_findSignal = function (block) {
881-
// Boolean values true and false.
882-
const code = `${sbsPrefix}get_cam().find_signal()`;
883-
return [code, Blockly.Python.ORDER_ATOMIC];
884-
};
885-
886865
Blockly.Blocks.coderbot_adv_findFace = {
887866
/**
888867
* Block for findSignal function.

src/assets/toolbox_adv.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -996,10 +996,6 @@
996996
"kind": "block",
997997
"type": "coderbot_adv_findLine"
998998
},
999-
{
1000-
"kind": "block",
1001-
"type": "coderbot_adv_findSignal"
1002-
},
1003999
{
10041000
"kind": "block",
10051001
"type": "coderbot_adv_findFace"

0 commit comments

Comments
 (0)