-
Notifications
You must be signed in to change notification settings - Fork 122
Nepo assertion and debugging
For Nepo we have created two new blocks: »debug« and »assert«. There are two main reasons for this:
- allowing to test and debug integration tests easier and system independent, see Integration tests. All plugins support the two blocks so that they can be used for automatically generated tests.
- the blocks could also be used for advanced programming in e.g. productive environments or for learning how to create advanced programs.
Currently the blocks are not in one of the toolboxes. Please use the the following key combinations to create them:
- Ctrl+3 - create a debug block. You will find the new block in the left upper edge of the workspace
- Ctrl+4 - create an assert block. You will find the new block and an already connected logic compare block in the left upper edge of the workspace.
Both blocks are designed to create some useful output to an appropriate medium like console, serial or similar. The output medium depends on the robots system or capabilities.
The implementation of the assert block is derived from common assert functions. Only when the evaluation of the logic compare expression fails the output is created in the following form:
Assertion failed: <text> <left side of the expression> <operator> <right side of the expression>
Different to some common assert function the program will not exit in this case.
- for all simulations open the "Developer tools" and checkout the console view: tbc
Home | Community | Installation | Team
Installation Tutorials
- Instructions to run a openroberta lab server using DOCKER
- Instructions to run the Open Roberta Lab Server natively on ubuntu ‐ not recommended
- Raspberry Pi 2/3/4 and the Open Roberta Lab
- EV3 and leJOS
- EV3 and ev3dev
- Creating the OR leJOS image
- Arduino Create Agent
- Mbed DAL: Generation and automation
Development
-
Workflows
-
Architecture
-
Blockly
-
Software engineering issues
-
Misc
-
Notes on robots
Textual Representation
Contribution
Discussions on future development