Ever wanted to leave a mark on the world? Or maybe just debug your program, and couldn’t remember where your robot was at each turn?
In the Cyber Robotics 101 course, there is an option in which your robot leaves a trail behind it, so you can draw geometric shapes, create beautiful artwork or debug your code.
How do I leave a trail?
Simply click on the Trail icon located in the simulation toolbar, just above the simulation window.
Once pressed, your robot will leave a white line behind it while driving using Manual Control. Click again to turn it off.
How do I use the trail in my code?
Using a few Utilities blocks, you can turn the trail on and off, delete it and even choose its color!