Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
buzz_argos [2018/03/18 23:19] – [Debugging Buzz Programs] root | buzz_argos [2018/03/18 23:30] – [ARGoS + Buzz: Basic information] root | ||
---|---|---|---|
Line 34: | Line 34: | ||
<code xml> | <code xml> | ||
+ | < | ||
+ | For a full example of an ARGoS configuration file, refer to | ||
+ | |||
+ | | ||
+ | |||
+ | and the other examples at | ||
+ | |||
+ | | ||
+ | --> | ||
+ | |||
+ | ... | ||
+ | |||
< | < | ||
Line 99: | Line 111: | ||
</ | </ | ||
</ | </ | ||
+ | |||
+ | ... | ||
</ | </ | ||
- | To activate drawing, use '' | + | If you want ARGoS to start with a Buzz script already loaded, you can specify that in the '' |
<code xml> | <code xml> | ||
+ | ... | ||
+ | |||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | | ||
+ | <!-- This loads the specified files at startup --> | ||
+ | <params bytecode_file=" | ||
+ | | ||
+ | </ | ||
+ | | ||
+ | ... | ||
+ | | ||
+ | </ | ||
+ | |||
+ | To activate the Buzz editor and support debugging, use '' | ||
+ | |||
+ | <code xml> | ||
+ | <!-- For a full example of an ARGoS configuration file, refer to | ||
+ | | ||
+ | --> | ||
+ | |||
< | < | ||
< | < | ||
Line 132: | Line 174: | ||
== Writing Text on Top of a Robot == | == Writing Text on Top of a Robot == | ||
- | == Drawing the Trajectory | + | * '' |
+ | * prints a message on top of the robot, after the robot id | ||
+ | * '' | ||
- | You can draw the trajectory | + | == Drawing |
* '' | * '' | ||
* enable trajectory tracking setting how many points should be stored and the drawing color | * enable trajectory tracking setting how many points should be stored and the drawing color | ||
+ | * '' | ||
* '' | * '' | ||
* enable trajectory tracking setting how many points should be stored | * enable trajectory tracking setting how many points should be stored | ||
* '' | * '' | ||
* enable trajectory tracking keeping maxpoints' | * enable trajectory tracking keeping maxpoints' | ||
+ | * '' | ||
* '' | * '' | ||
* enable trajectory tracking keeping maxpoints' | * enable trajectory tracking keeping maxpoints' | ||
Line 154: | Line 200: | ||
* draw a ray from the reference point of the robot to '' | * draw a ray from the reference point of the robot to '' | ||
* '' | * '' | ||
+ | * '' | ||
* '' | * '' | ||
* draw a ray from '' | * draw a ray from '' | ||
* '' | * '' | ||
+ | * '' | ||
+ | * debug.rays.clear() | ||
+ | * delete all the rays |