IndexNextUpPreviousUrbi SDK 2.7.5

About This Part

This part, also known as the “urbiscript tutorial”, teaches the reader how to program in urbiscript. It goes from the basis to concurrent and event-based programming. No specific knowledge is expected. There is no need for a C++ compiler, as UObject will not be covered here (see Listing I). The reference manual contains a terse and complete definition of the Urbi environment (Section IV).
  Listing 7 First Steps
 
First contacts with urbiscript.
  Section 8 Basic Objects, Value Model
 
A quick introduction to objects and values.
  Section 9 Flow Control Constructs
 
Basic control flow: if, for and the like.
  Listing 10 Advanced Functions and Scoping
 
Details about functions, scopes, and lexical closures.
  Listing 11 Objective Programming, urbiscript Object Model
 
A more in-depth introduction to object-oriented programming in urbiscript.
  Listing 12 Functional Programming
 
Functions are first-class citizens.
  Listing 13 Parallelism, Concurrent Flow Control
 
The urbiscript operators for concurrency, tags.
  Listing 14 Event-based Programming
 
Support for event-driven concurrency in urbiscript.
  Listing 15 Urbi for ROS Users
 
How to use ROS from Urbi, and vice-versa.