GAMS
1.2.2
|
Provides platform abstractions for hardware and simulations. More...
Namespaces | |
dronerk | |
Provides bindings to Drone-RK (no longer supported) | |
java | |
Provides infrastructure for Java-based platforms. | |
ros | |
Provides infrastructure for ROS-based platforms. | |
vrep | |
Provides infrastructure for VREP-based platforms. | |
Classes | |
class | BasePlatform |
The base platform for all platforms to use. More... | |
class | DebugPlatform |
A debug platform that prints detailed status information. More... | |
class | DebugPlatformFactory |
A factory class for creating debug platforms. More... | |
class | Epsilon |
A simple bounds checker which tests whether the current position is within the given number of meters of the expected position, and whether the difference in angles is within the given number of radians. More... | |
class | JavaPlatform |
A facade for Java platforms. More... | |
class | NullPlatform |
A null platform. More... | |
class | NullPlatformFactory |
A factory class for creating null (no-op) platforms. More... | |
class | OrientationBounds |
Interface for defining a bounds checker for Orientations. More... | |
class | PlatformCollection |
A collection of platforms. More... | |
class | PlatformCollectionFactory |
A factory class for creating null (no-op) platforms. More... | |
class | PlatformFactory |
Base class for platform factories to create BasePlatforms. More... | |
class | PlatformFactoryRepository |
The controller's platform factory. More... | |
class | PoseBounds |
Interface for defining a bounds checker for Poses, a combination of position and orientation checking. More... | |
class | PositionBounds |
Interface for defining a bounds checker for Positions. More... | |
Typedefs | |
typedef BasePlatform | Base |
typedef std::map< std::string, PlatformFactory * > | FactoryMap |
Enumerations | |
enum | PlatformAnalyzeStatus { UNKNOWN = 0, OK = 1, WAITING = 2, DEADLOCKED = 4, FAILED = 8, MOVING = 16, REDUCED_SENSING_AVAILABLE = 128, REDUCED_MOVEMENT_AVAILABLE = 256, COMMUNICATION_AVAILABLE = 512, SENSORS_AVAILABLE = 1024, MOVEMENT_AVAILABLE = 2048 } |
Possible platform statuses, as returnable by analyze () More... | |
enum | PlatformReturnValues { PLATFORM_ERROR = 0, PLATFORM_IN_PROGRESS = 1, PLATFORM_MOVING = 1, PLATFORM_OK = 1, PLATFORM_ARRIVED = 2 } |
Platform return values. More... | |
Functions | |
GAMS_EXPORT PlatformFactoryRepository * | global_platform_factory () |
A globally accessible platform factory. More... | |
Provides platform abstractions for hardware and simulations.
typedef BasePlatform gams::platforms::Base |
Definition at line 533 of file BasePlatform.h.
typedef std::map<std::string, PlatformFactory *> gams::platforms::FactoryMap |
Definition at line 70 of file PlatformFactoryRepository.h.
Possible platform statuses, as returnable by analyze ()
Enumerator | |
---|---|
UNKNOWN | |
OK | |
WAITING | |
DEADLOCKED | |
FAILED | |
MOVING | |
REDUCED_SENSING_AVAILABLE | |
REDUCED_MOVEMENT_AVAILABLE | |
COMMUNICATION_AVAILABLE | |
SENSORS_AVAILABLE | |
MOVEMENT_AVAILABLE |
Definition at line 81 of file BasePlatform.h.
Platform return values.
Enumerator | |
---|---|
PLATFORM_ERROR | |
PLATFORM_IN_PROGRESS | |
PLATFORM_MOVING | |
PLATFORM_OK | |
PLATFORM_ARRIVED |
Definition at line 99 of file BasePlatform.h.
GAMS_EXPORT PlatformFactoryRepository* gams::platforms::global_platform_factory | ( | ) |
A globally accessible platform factory.
The platform factory should have all new platforms added to it before new threads that might access the factory are started. This is not currently thread safe when adding new platforms.