Knowledge Base

What is the Trail? And What is it Good For? (CR101)

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.

trail_101.gif

 

 

How do I leave a trail?

Simply click on the Trail icon ic_gesture_black_24dp_2x.png  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?

Excellent question. 
Using a few Utilities blocks, you can turn the trail on and off, delete it and even choose its color! 

For example:

mceclip0.png

 

 

 

Was this article helpful?
0 out of 0 found this helpful

Comments

Please sign in to leave a comment.

Powered by Zendesk