About the Blockly programming category

Discussion about using the Blockly programming environment and tool to create programs for the XRP.

Does anyone have some sample Blockly code they wouldn’t mind sharing to get the sensors working?

The XRP Users Guide:
https://xrpusersguide.readthedocs.io/en/latest/course/sensors.html
contains a couple pics of Blockly code snippets that might help you get started.

The Intro To Robotics document also has some pics of Blockly sensor scripts:
https://introtoroboticsv2.readthedocs.io/en/latest/course/measuring_distance/intro.html#robotic-echolocation
The document explicitly offers the Python code; you need to select the Blockly tab to see the Blockly snippet pics.

Thanks for the suggestion, but this link appears to be dead. Anyone have an update?

This link is also dead and 404’s.

Both links work for me (just now, retested). I’ll try to find another alternative.

The github repository for the documents contain images of the Blockly scripts.

You may need to preview the document in order to see the images rather than links to the inline images.