Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
buzz_argos [2018/03/18 23:30] – [ARGoS + Buzz: Basic information] root | buzz_argos [2018/03/18 23:34] (current) – [Debugging Buzz Programs] root | ||
---|---|---|---|
Line 11: | Line 11: | ||
Compile and install Buzz following the instructions reported in the [[https:// | Compile and install Buzz following the instructions reported in the [[https:// | ||
- | ==== ARGoS + Buzz: Basic information | + | ==== Library Configuration |
The Buzz integration library for ARGoS is composed of two elements: | The Buzz integration library for ARGoS is composed of two elements: | ||
Line 17: | Line 17: | ||
- A set of ARGoS controllers. At the moment, available controllers include one for the [[http:// | - A set of ARGoS controllers. At the moment, available controllers include one for the [[http:// | ||
- | - A special definition of ARGoS' QtOpenGL user functions, which allow Buzz scripts to draw in the OpenGL visualization of ARGoS. With these, a developer can [[# | + | - A special definition of ARGoS' QtOpenGL user functions, which allow Buzz scripts to draw in the OpenGL visualization of ARGoS. |
To have ARGoS find the Buzz integration library in case you installed it in a non-default location, set the environment variable '' | To have ARGoS find the Buzz integration library in case you installed it in a non-default location, set the environment variable '' | ||
Line 27: | Line 27: | ||
If you installed Buzz without specifying a custom installation prefix (e.g., using only '' | If you installed Buzz without specifying a custom installation prefix (e.g., using only '' | ||
- | === Defining an ARGoS experiment file === | + | ==== Defining an ARGoS experiment file ==== |
To use ARGoS and Buzz together, define your '' | To use ARGoS and Buzz together, define your '' | ||
Line 115: | Line 115: | ||
</ | </ | ||
+ | |||
+ | Always make sure the parameters '' | ||
If you want ARGoS to start with a Buzz script already loaded, you can specify that in the ''< | If you want ARGoS to start with a Buzz script already loaded, you can specify that in the ''< | ||
Line 159: | Line 161: | ||
$ argos3 -c myexperiment.argos | $ argos3 -c myexperiment.argos | ||
</ | </ | ||
- | |||
- | Make sure the parameters '' | ||
==== Debugging Buzz Programs ==== | ==== Debugging Buzz Programs ==== | ||
Line 192: | Line 192: | ||
* '' | * '' | ||
* disable trajectory tracking | * disable trajectory tracking | ||
- | * debug.trajectory.clear() | + | * '' |
* delete all the trajectory points | * delete all the trajectory points | ||
Line 205: | Line 205: | ||
* '' | * '' | ||
* '' | * '' | ||
- | * debug.rays.clear() | + | * '' |
* delete all the rays | * delete all the rays |