File tree Expand file tree Collapse file tree 2 files changed +0
-25
lines changed Expand file tree Collapse file tree 2 files changed +0
-25
lines changed Original file line number Diff line number Diff 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-
886865Blockly . Blocks . coderbot_adv_findFace = {
887866 /**
888867 * Block for findSignal function.
Original file line number Diff line number Diff line change 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"
You can’t perform that action at this time.
0 commit comments