Files
B-ROBOT_EVO2/Blockly/brobot/index.html
JJROBOTS 818138ef8a New version of BROBOT EVO2
This is the first oficial version of BROBOT EVO2. Enjoy!
2017-06-27 16:30:41 +01:00

217 lines
6.6 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="google" value="notranslate">
<title>BROBOT Block programming</title>
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="jquery/jquery-ui.min.css">
<script src='jquery/jquery-3.1.1.min.js'></script>
<script src='jquery/jquery-ui.min.js'></script>
<script src="blockly_compressed.js"></script>
<script src="blocks_compressed.js"></script>
<script src="blocks/brobot.js"></script>
<script src="javascript_compressed.js"></script>
<script src="python_compressed.js"></script>
<script src="generators/javascript/brobot.js"></script>
<script src="generators/python/brobot.js"></script>
<script src="msg/en.js"></script>
<script src="msg/js/en.js"></script>
<script src="brobot_config.js"></script>
<script src="code.js"></script>
</head>
<body>
<table width="100%" height="100%">
<tr>
<td>
<img src="Brobot2.jpg" width="120">
<img src="logojjrobots.png" width="100">
</td>
<td>
<h1 style="text-align:left">BROBOT Block Programming v0.8</h1>
<!--<h5 style="text-align:left">Blockly based programming</h5>-->
<!--<h5 style="text-align:left" id="msg">Remember to connect to your B-ROBOT Wifi network (JJROBOTS_xx,passw:87654321)!</h5>-->
</td>
</tr>
<tr>
<td colspan=2>
<table width="100%">
<tr id="tabRow" height="1em">
<td id="tab_blocks" class="tabon">...</td>
<td class="tabmin">&nbsp;</td>
<td id="tab_javascript" class="taboff">JavaScript</td>
<td class="tabmin">&nbsp;</td>
<td id="tab_python" class="taboff">Python</td>
<td class="tabmin">&nbsp;</td>
<td id="tab_xml" class="taboff">XML</td>
<td class="tabmax">
<button id="trashButton" class="notext" title="...">
<img src='media/1x1.gif' class="trash icon21">
</button>
<button id="linkButton" class="notext" title="...">
<img src='media/1x1.gif' class="link icon21">
</button>
<button id="runButton" class="notext primary" title="...">
<img src='media/1x1.gif' class="run icon21">
</button>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="99%" colspan=2 id="content_area">
</td>
</tr>
</table>
<div id="content_blocks" class="content"></div>
<pre id="content_javascript" class="content"></pre>
<pre id="content_python" class="content"></pre>
<textarea id="content_xml" class="content" wrap="off"></textarea>
<xml id="toolbox" style="display: none">
<category name="BROBOT SIMPLE" colour="60">
<block type="moveforward"></block>
<block type="movebackward"></block>
<block type="turnright"></block>
<block type="turnleft"></block>
<block type="turn180"></block>
<block type="spin360"></block>
<block type="movesimple">
<value name="cm">
<shadow type="math_number">
<field name="NUM">50</field>
</shadow>
</value>
</block>
<block type="turndegrees">
<value name="degrees">
<shadow type="math_number">
<field name="NUM">45</field>
</shadow>
</value>
</block>
<block type="delay"></block>
</category>
<category name="BROBOT" colour="60">
<block type="throttle">
<value name="TValue">
<shadow type="math_number">
<field name="NUM">0</field>
</shadow>
</value>
</block>
<block type="steering">
<value name="SValue">
<shadow type="math_number">
<field name="NUM">0</field>
</shadow>
</value>
</block>
<block type="servo"></block>
<block type="mode"></block>
<block type="delay"></block>
<block type="robotconfig">
<value name="IPvalue">
<shadow type="text">
<field name="TEXT">192.168.1.1</field>
</shadow>
</value>
</block>
</category>
<category name="{catLogic}" colour="210">
<block type="controls_if"></block>
<block type="logic_compare"></block>
<block type="logic_operation"></block>
<block type="logic_negate"></block>
<block type="logic_boolean"></block>
<block type="logic_null"></block>
<block type="logic_ternary"></block>
</category>
<category name="{catLoops}" colour="120">
<block type="controls_repeat_ext">
<value name="TIMES">
<shadow type="math_number">
<field name="NUM">10</field>
</shadow>
</value>
</block>
<block type="controls_whileUntil"></block>
</category>
<category name="{catMath}" colour="230">
<block type="math_number"></block>
<block type="math_arithmetic">
<value name="A">
<shadow type="math_number">
<field name="NUM">1</field>
</shadow>
</value>
<value name="B">
<shadow type="math_number">
<field name="NUM">1</field>
</shadow>
</value>
</block>
<block type="math_single">
<value name="NUM">
<shadow type="math_number">
<field name="NUM">9</field>
</shadow>
</value>
</block>
<block type="math_trig">
<value name="NUM">
<shadow type="math_number">
<field name="NUM">45</field>
</shadow>
</value>
</block>
<block type="math_round">
<value name="NUM">
<shadow type="math_number">
<field name="NUM">3.1</field>
</shadow>
</value>
</block>
<block type="math_random_int">
<value name="FROM">
<shadow type="math_number">
<field name="NUM">1</field>
</shadow>
</value>
<value name="TO">
<shadow type="math_number">
<field name="NUM">100</field>
</shadow>
</value>
</block>
</category>
<category name="{catText}" colour="160">
<block type="text"></block>
<block type="text_print">
<value name="TEXT">
<shadow type="text">
<field name="TEXT">Hello</field>
</shadow>
</value>
</block>
</category>
<category name="{catVariables}" colour="330" custom="VARIABLE"></category>
<category name="{catFunctions}" colour="290" custom="PROCEDURE"></category>
</xml>
<div id="dialog" title="Check your connection">
<p>Remember to connect your PC/laptop to to your B-Robot Wifi network! (JJROBOTS_xx, password:87654321)</p>
</div>
</body>
</html>