WorldState.h File Reference
Detailed Description
Describes WorldState, maintains information about the robot's environment, namely sensors and power status.
- Author:
- ejt (Creator)
- Author
- dst
- Name
- Revision
- 1.42
- State
- Exp
- Date
- 2007/03/16 08:12:07
Definition in file WorldState.h.
#include <OPENR/core_macro.h>
#include <OPENR/ObjcommTypes.h>
#include <OPENR/OPENR.h>
#include <OPENR/OPENRAPI.h>
#include <OPENR/OPENRMessages.h>
#include "Shared/RobotInfo.h"
#include "Events/EventBase.h"
#include "IPC/ProcessID.h"
#include <math.h>
#include <vector>
Include dependency graph for WorldState.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
|
Namespaces |
| namespace | SensorSourceID |
| namespace | PowerSourceID |
Classes |
| class | WorldState |
| | The state of the robot and its environment. More...
|
Enumerations |
| enum | SensorSourceID::SensorSourceID_t { SensorSourceID::UpdatedSID
} |
| | holds source ID types for sensor events More...
|
| enum | PowerSourceID::PowerSourceID_t {
PowerSourceID::PauseSID = 0,
PowerSourceID::MotorPowerSID,
PowerSourceID::VibrationSID,
PowerSourceID::BatteryEmptySID,
PowerSourceID::LowPowerWarnSID,
PowerSourceID::BatteryFullSID,
PowerSourceID::ExternalPowerSID,
PowerSourceID::ExternalPortSID,
PowerSourceID::BatteryConnectSID,
PowerSourceID::BatteryInitSID,
PowerSourceID::DischargingSID,
PowerSourceID::ChargingSID,
PowerSourceID::OverheatingSID,
PowerSourceID::PowerGoodSID,
PowerSourceID::ChargerStatusSID,
PowerSourceID::SuspendedSID,
PowerSourceID::OverChargedSID,
PowerSourceID::TermDischargeSID,
PowerSourceID::TermChargeSID,
PowerSourceID::ErrorSID,
PowerSourceID::StationConnectSID,
PowerSourceID::BatteryOverCurrentSID,
PowerSourceID::DataFromStationSID,
PowerSourceID::RegisterUpdateSID,
PowerSourceID::RTCSID,
PowerSourceID::SpecialModeSID,
PowerSourceID::BMNDebugModeSID,
PowerSourceID::PlungerSID,
PowerSourceID::UpdatedSID,
NumPowerSIDs
} |
| | holds source ID types for power events More...
|
Variables |
|
WorldState * | state |
| | the global state object, points into a shared memory region, created by MainObject
|
|