Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

WorldState.h File Reference


Detailed Description

Describes WorldState, maintains information about the robot's environment, namely sensors and power status.

Author:
ejt (Creator)
Author
kcomer
Name
tekkotsu-4_0
Revision
1.46
State
Exp
Date
2007/11/15 21:33:04

Definition in file WorldState.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  SensorSrcID
namespace  PowerSrcID

Classes

class  WorldStateLookup
 This class masquerades as a simple WorldState pointer, but actually checks the process ID of the referencing thread to allow each thread group to have a separate WorldState*. More...
class  WorldState
 The state of the robot and its environment. More...

Enumerations

enum  SensorSrcID::SensorSourceID_t { SensorSrcID::UpdatedSID }
 holds source ID types for sensor events More...
enum  PowerSrcID::PowerSourceID_t {
  PowerSrcID::PauseSID = 0, PowerSrcID::MotorPowerSID, PowerSrcID::VibrationSID, PowerSrcID::BatteryEmptySID,
  PowerSrcID::LowPowerWarnSID, PowerSrcID::BatteryFullSID, PowerSrcID::ExternalPowerSID, PowerSrcID::ExternalPortSID,
  PowerSrcID::BatteryConnectSID, PowerSrcID::BatteryInitSID, PowerSrcID::DischargingSID, PowerSrcID::ChargingSID,
  PowerSrcID::OverheatingSID, PowerSrcID::PowerGoodSID, PowerSrcID::ChargerStatusSID, PowerSrcID::SuspendedSID,
  PowerSrcID::OverChargedSID, PowerSrcID::TermDischargeSID, PowerSrcID::TermChargeSID, PowerSrcID::ErrorSID,
  PowerSrcID::StationConnectSID, PowerSrcID::BatteryOverCurrentSID, PowerSrcID::DataFromStationSID, PowerSrcID::RegisterUpdateSID,
  PowerSrcID::RTCSID, PowerSrcID::SpecialModeSID, PowerSrcID::BMNDebugModeSID, PowerSrcID::PlungerSID,
  PowerSrcID::UpdatedSID, PowerSrcID::NumPowerSIDs
}
 holds source ID types for power events More...

Variables

WorldStateLookup state
 the global state object, points into a shared memory region, created by MainObject


Variable Documentation


Tekkotsu v4.0
Generated Thu Nov 22 00:58:03 2007 by Doxygen 1.5.4