| global | Index |
Overview
The global primitive does not perform any motion. It may be used to create a behavior that sets global properties of the robot, such as speed, unit types, ranger thresholds, etc. This primitive makes it possible to queue operations that set global properties along with motion primitives when processing an XML script.
When writing a C/C++ application, it is not necessary to use global primitives since all global properties may be accessed with acpGarcia member functions.
Return Status
This is an immediate primitive. It does not execute any programs on the robot. The return status is always the defined value aGARCIA_ERRFLAG_NORMAL .
Property Inheritance
global inherits Behavior inherits Object properties.
Properties
Any of the properties for a Garcia object that are not read-only may be set within a global primitive.