buzz_basic

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
buzz_basic [2016/04/17 03:02] – [A Typical Buzz Script] ilpincybuzz_basic [2016/04/17 03:07] (current) – [Development, Compilation and Deployment of Buzz Scripts] ilpincy
Line 1: Line 1:
 ===== Basic Buzz Concepts ===== ===== Basic Buzz Concepts =====
  
-==== Development, Compilation and Deployment of Buzz Scripts ====+==== Development, Compilationand Deployment of Buzz Scripts ====
  
 **A dynamic extension language.** Buzz is a [[https://en.wikipedia.org/wiki/Dynamic_programming_language|dynamic language]] that allows one to express complex swarm behaviors with concise scripts. Buzz is designed as an //extension language//. The task of an extension language is to allow the programmer to work at a higher level of abstraction with respect to that of the underlying system. Thanks to its [[buzz_c_cpp|C interface]], Buzz can be used with any kind of robot software that can interoperate with C or C++. This makes it very simple to install Buzz on practically any existing robot, and also integrate it with frameworks such as [[http://www.ros.org/|Robot Operating System]]. **A dynamic extension language.** Buzz is a [[https://en.wikipedia.org/wiki/Dynamic_programming_language|dynamic language]] that allows one to express complex swarm behaviors with concise scripts. Buzz is designed as an //extension language//. The task of an extension language is to allow the programmer to work at a higher level of abstraction with respect to that of the underlying system. Thanks to its [[buzz_c_cpp|C interface]], Buzz can be used with any kind of robot software that can interoperate with C or C++. This makes it very simple to install Buzz on practically any existing robot, and also integrate it with frameworks such as [[http://www.ros.org/|Robot Operating System]].
Line 25: Line 25:
 ==== A Typical Buzz Script ==== ==== A Typical Buzz Script ====
  
-The [[buzz_syntax_bnf|Buzz syntax]] is inspired to well-known languages such as [[https://www.javascript.com/|JavaScript]], [[https://www.python.org/|Python]], and [[http://www.lua.org/|Lua]] ([[buzz_syntax_cheatsheet|see also the cheatsheet]]).+The [[buzz_syntax_bnf|Buzz syntax]] is inspired to well-known languages such as [[https://www.javascript.com/|JavaScript]], [[https://www.python.org/|Python]], and [[http://www.lua.org/|Lua]] (see also the [[buzz_syntax_cheatsheet|Buzz syntax cheatsheet]])
 + 
 +In principle, a Buzz script can be organized in any way one likes. Typically, however, a number of standard functions are present, because they need to be called by the underlying system to proceed with the execution. These functions take care of initialization, memory cleanup, reset, and stepping. To ensure standardization across different robots, it is considered standard to include into a Buzz script at least these four functions as shown below.
  
 <code buzz> <code buzz>
Line 43: Line 45:
 } }
  
-Execute once at the end of experiment.+Executed once at the end of experiment.
 function destroy() { function destroy() {
    ...    ...
 } }
 </code> </code>
  • buzz_basic.1460862155.txt.gz
  • Last modified: 2016/04/17 03:02
  • by ilpincy