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-2_4_1
- Revision
- 1.28
- State
- Exp
- Date
- 2004/07/27 14:36:50
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 "Shared/Profiler.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 |
WorldState * | state |
| 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 27 of file WorldState.cc.
Referenced by ProfilerCheckControl::activate(), Wireless::blockingSend(), BatteryMonitorBehavior::calcFlipDelay(), CDTGenerator::calcImage(), InterleavedYUVGenerator::calcImage(), JPEGGenerator::calcImage(), RawCameraGenerator::calcImage(), RegionGenerator::calcImage(), RLEGenerator::calcImage(), SegmentedColorGenerator::calcImage(), Kinematics::calculateGroundPlane(), Wireless::close(), Wireless::connect(), OldHeadPointerMC::convFromBodyRelative(), OldHeadPointerMC::convToBodyRelative(), LedEngine::displayNumber(), Aibo3DControllerBehavior::DoStart(), CameraBehavior::DoStart(), HeadLevelBehavior::DoStart(), StareAtPawBehavior2::DoStart(), ToggleHeadLightBehavior::DoStart(), EmergencyStopMC::EmergencyStopMC(), EmergencyStopMC::freezeJoints(), MotionManager::getOutputs(), HeadLevelBehavior::HeadLevelBehavior(), HeadPointerMC::HeadPointerMC(), Controller::init(), HeadPointerMC::isAlive(), Wireless::listen(), OldHeadPointerMC::OldHeadPointerMC(), ValueEditControl< T >::pause(), SoundTestBehavior::play(), AlanBehavior::processEvent(), AutoGetupBehavior::processEvent(), BallDetectionGenerator::processEvent(), BatteryMonitorBehavior::processEvent(), ChaseBallBehavior::processEvent(), FlashIPAddrBehavior::processEvent(), FollowHeadBehavior::processEvent(), GroundPlaneBehavior::processEvent(), HeadLevelBehavior::processEvent(), KinematicSampleBehavior2::processEvent(), LookForSoundBehavior::processEvent(), PostureEditor::processEvent(), SensorObserverControl::processEvent(), SimpleChaseBallBehavior::processEvent(), StareAtBallBehavior::processEvent(), ValueEditControl< T >::processEvent(), VisualTargetCloseTrans::processEvent(), WalkToTargetNode::processEvent(), WallTestBehavior::processEvent(), WorldStateSerializerBehavior::processEvent(), WorldStateVelDaemon::processEvent(), Wireless::receive(), Wireless::ReceiveCont(), BatteryCheckControl::refresh(), EmergencyStopMC::releaseJoints(), BatteryCheckControl::report(), WalkMC::resetLegPos(), MotionSequenceEngine::resume(), Wireless::send(), BatteryMonitorBehavior::setFlipper(), MotionManager::setPID(), BanditMachine::setup(), ExploreMachine::setup(), WalkCalibration::setupMoving(), FlashIPAddrBehavior::setupSequence(), BatteryMonitorBehavior::shouldWarn(), SoundTestBehavior::SoundTestBehavior(), BatteryMonitorBehavior::startWarning(), PostureEngine::takeSnapshot(), Controller::trapEvent(), WorldStateVelDaemon::trapEvent(), EmergencyStopMC::trigger(), Kinematics::update(), EmergencyStopMC::updateOutputs(), OldHeadPointerMC::updateOutputs(), TailWagMC::updateOutputs(), MotionManager::updatePIDs(), SensorObserverControl::updateRT(), and MotionManager::updateWorldState(). |
|