The UObject Tutorial for Urbi 1.x

(book compiled from 523M)

Matthieu Nottale

This document is released under the Attribution-NonCommercial-NoDerivs 2.0 Creative Commons licence (http://creativecommons.org/licenses/by-nc-nd/2.0/deed.en).


Table of Contents

1. Introduction
Basic concepts
2. The UObject API
Creating a class, binding variables and functions
Creating new instances
Notification of a variable change or access
Timers
The special case of sensor/effector variables
Using URBI variables
Using binary types
Using hubs to group objects
Sending URBI code
3. Use cases
Writting a servomotor device
Caching
Using timers
Using hubs to group objects
Alternate implementation
Writting a camera device
Optimization in plugin mode
Writting a speaker or microphone device
Writing a softdevice: ball detection
A. Copyright