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
ejt
Name
tekkotsu-3_0
Revision
1.36
State
Exp
Date
2006/10/03 22:00:08

Definition in file WorldState.h.

#include "IPC/ProcessID.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 <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, PowerSourceID::NumPowerSIDs
}
 holds source ID types for power events More...

Variables

WorldStatestate
 the global state object, is a shared memory region, created by MainObject


Variable Documentation

the global state object, is a shared memory region, created by MainObject

Definition at line 34 of file WorldState.cc.

Referenced by Wireless::blockingSend(), BatteryMonitorBehavior::calcFlipDelay(), Kinematics::calculateGroundPlane(), Wireless::close(), Wireless::connect(), MutexLock< num_doors >::do_try_lock(), WorldStatePool::doReleaseResource(), WorldStatePool::doUseResource(), ProcessID::getID(), MotionManager::getOutputs(), Controller::init(), Wireless::listen(), MutexLock< num_doors >::lock(), ValueEditControl< T >::pause(), AutoGetupBehavior::processEvent(), BatteryMonitorBehavior::processEvent(), FlashIPAddrBehavior::processEvent(), PostureEditor::processEvent(), SensorObserverControl::processEvent(), ValueEditControl< T >::processEvent(), VisualTargetCloseTrans::processEvent(), WalkToTargetNode::processEvent(), WorldStateSerializerBehavior::processEvent(), WorldStateVelDaemon::processEvent(), Wireless::receive(), Wireless::ReceiveCont(), BatteryCheckControl::refresh(), BatteryCheckControl::report(), Wireless::send(), CameraStreamBehavior::sendSensors(), BatteryMonitorBehavior::setFlipper(), MotionManager::setPID(), WalkCalibration::setupMoving(), FlashIPAddrBehavior::setupSequence(), BatteryMonitorBehavior::shouldWarn(), BatteryMonitorBehavior::startWarning(), Controller::trapEvent(), WorldStateVelDaemon::trapEvent(), MutexLock< num_doors >::try_lock(), MutexLock< num_doors >::unlock(), Kinematics::update(), MotionManager::updatePIDs(), SensorObserverControl::updateRT(), and MotionManager::updateWorldState().


Tekkotsu v3.0
Generated Wed Oct 4 00:04:53 2006 by Doxygen 1.4.7