Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
VRmixin Class Reference#include <VRmixin.h>
Inheritance diagram for VRmixin:
![]() Detailed DescriptionMix-in for the BehaviorBase or StateNode class to give access to VisualRoutinesBehavior variables.Definition at line 34 of file VRmixin.h.
Constructor & Destructor Documentation
Member Function Documentation
returns reference to the global space instances, call there from global constructors instead of accessing camSkS, which might not be initialized yet
Definition at line 35 of file VRmixin.cc. Referenced by VRmixin::getGroundShS().
Definition at line 38 of file VRmixin.cc.
Definition at line 41 of file VRmixin.cc.
Definition at line 44 of file VRmixin.cc.
returns reference to the global WorldMapBuilder instance, call this from global constructors instead of accessing worldSkS/localSkS/groundShS/etc., which might not be initialized yet
Definition at line 69 of file VRmixin.cc.
Definition at line 75 of file VRmixin.cc.
Definition at line 81 of file VRmixin.cc.
starts map builders, pilot, and lookout
Definition at line 192 of file VRmixin.cc. Referenced by VisualRoutinesStateNode::DoStart(), and VisualRoutinesBehavior::DoStart().
stops map builders, pilot, and lookout
Definition at line 206 of file VRmixin.cc. Referenced by VisualRoutinesStateNode::DoStop(), and VisualRoutinesBehavior::DoStop().
Import the current color-segmented camera image as a Sketch<uchar>. Import a color-segmented image as a Sketch<uchar>. Definition at line 275 of file VRmixin.cc. Referenced by TargetData::extractLineTarget(), MapBuilder::grabCameraImageAndGo(), and Lookout::requestComplete(). Import channel n image as a Sketch<uchar>. Import channel n as a Sketch<uchar>. Definition at line 286 of file VRmixin.cc. Referenced by VRmixin::sketchFromRawY(). Import the current y-channel camera image as a Sketch<uchar>.
Definition at line 310 of file VRmixin.cc. Referenced by MapBuilder::processImage().
Import blobs from the current region list as a vector of Shape<BlobData>. Import the results of the region generator as a vector of Shape<BlobData>. Definition at line 317 of file VRmixin.cc. Referenced by MapBuilder::getCamBlobs().
processes a single line of input for a Sketch request
Definition at line 338 of file VRmixin.cc. Referenced by VRmixin::dialogCallback().
project shapes from cam space to ground space
Definition at line 217 of file VRmixin.cc. Referenced by MapBuilder::projectToGround().
Called whenever data is received on camDialogSocket.
Definition at line 226 of file VRmixin.cc. Referenced by VRmixin::VRmixin().
Called whenever data is received on localDialogSocket.
Definition at line 232 of file VRmixin.cc. Referenced by VRmixin::VRmixin().
Called whenever data is received on worldDialogSocket.
Definition at line 238 of file VRmixin.cc. Referenced by VRmixin::VRmixin().
Definition at line 244 of file VRmixin.cc. Referenced by VRmixin::camDialogSockCallback(), VRmixin::localDialogSockCallback(), and VRmixin::worldDialogSockCallback().
Member Data Documentation
count of NewVRmixin instances -- when this hits zero, free sketch spaces
Definition at line 36 of file VRmixin.h. Referenced by VRmixin::VRmixin(), and VRmixin::~VRmixin().
count of "crew" (pilot, lookout, map builders) users -- stop these when no one is using them
Definition at line 37 of file VRmixin.h. Referenced by VRmixin::startCrew(), and VRmixin::stopCrew().
The camera sketch space.
Definition at line 46 of file VRmixin.h. Referenced by VRmixin::camDialogSockCallback(), Lookout::findLocationFor(), Lookout::processPointAtEvent(), Point::projectToGround(), VRmixin::sketchFromChannel(), VRmixin::sketchFromSeg(), VRmixin::VRmixin(), and VRmixin::~VRmixin().
The camera shape space.
Definition at line 47 of file VRmixin.h. Referenced by VRmixin::camDialogSockCallback(), VRmixin::getBlobsFromRegionGenerator(), Lookout::processPointAtEvent(), VRmixin::projectToGround(), and VRmixin::~VRmixin().
The ground shape space of MapBuilder (MapBuilder::groundShS).
Definition at line 49 of file VRmixin.h. Referenced by MapBuilder::isLineVisible(), and VRmixin::projectToGround().
The localmap sketch space (LocalMapBuilder::localSkS).
Definition at line 51 of file VRmixin.h. Referenced by VRmixin::localDialogSockCallback(), VRmixin::VRmixin(), and VRmixin::~VRmixin().
The localmap shape space (LocalMapBuilder::localShS).
Definition at line 52 of file VRmixin.h. Referenced by Pilot::PushTarget::DoStart(), Pilot::BuildTarget::generateMapBuilderRequest(), Pilot::BuildTarget::getNextPoint(), Pilot::BuildTarget::keepBestTarget(), VRmixin::localDialogSockCallback(), Pilot::BuildTarget::processEvent(), VRmixin::startCrew(), and VRmixin::~VRmixin().
The worldmap sketch space (WorldMapBuilder::localSkS).
Definition at line 54 of file VRmixin.h. Referenced by VRmixin::VRmixin(), VRmixin::worldDialogSockCallback(), and VRmixin::~VRmixin().
The worldmap sketch space (WorldMapBuilder::localShS).
Definition at line 55 of file VRmixin.h. Referenced by PathPlanner::addLandmark(), ShapeSpace::clear(), VRmixin::startCrew(), VRmixin::VRmixin(), VRmixin::worldDialogSockCallback(), and VRmixin::~VRmixin(). The robot (usually lives in worldShS).
Definition at line 56 of file VRmixin.h. Referenced by ShapeSpace::clear(), Pilot::CreepToShapeLocalize::DoStart(), Pilot::CreepToShape::DoStart(), Pilot::GotoShape::DoStart(), Pilot::Localize::processMap(), VRmixin::VRmixin(), and VRmixin::~VRmixin().
the global world mapbuilder instance
Definition at line 60 of file VRmixin.h. Referenced by PFShapeSLAM::displayParticles(), PFShapeLocalization::displayParticles(), Pilot::CreepToShapeBuildMap::DoStart(), Pilot::CreepToShape::DoStart(), Pilot::VisualSearch::DoStart(), Pilot::BuildTarget::generateMapBuilderRequest(), Lookout::moveHeadToPoint(), Pilot::Localize::processEvent(), PFShapeSLAM::setAgent(), PFShapeLocalization::setAgent(), Lookout::setupSearch(), VRmixin::startCrew(), VRmixin::stopCrew(), VRmixin::VRmixin(), and VRmixin::~VRmixin(). the global Lookout instance
Definition at line 63 of file VRmixin.h. Referenced by MapBuilder::doNextSearch(), Pilot::CreepToShapeBuildMap::DoStart(), Pilot::CreepToShape::DoStart(), Pilot::Dispatch::DoStart(), Pilot::requestComplete(), MapBuilder::requestComplete(), MapBuilder::scanForGazePts(), VRmixin::startCrew(), VRmixin::stopCrew(), MapBuilder::storeImage(), and VRmixin::VRmixin(). the global Pilot instance
Definition at line 66 of file VRmixin.h. Referenced by Pilot::Localize::DoStart(), Pilot::CreepToShapeLocalize::DoStart(), Pilot::CreepToShapeBuildMap::DoStart(), Pilot::CreepToShape::DoStart(), Pilot::PushTarget::DoStart(), Pilot::GotoTarget::DoStart(), Pilot::GotoShape::DoStart(), Pilot::VisualSearchWalk::DoStart(), Pilot::VisualSearchHaveMap::DoStart(), Pilot::VisualSearch::DoStart(), Pilot::Walk::DoStart(), Pilot::Failure::DoStart(), Pilot::Success::DoStart(), Pilot::Dispatch::DoStart(), Pilot::CreepToShapeStand::DoStop(), Pilot::BuildTarget::generateMapBuilderRequest(), Pilot::GotoTarget::getNextWaypoint(), Pilot::GotoTarget::getPointAtAngle(), Pilot::Localize::processEvent(), Pilot::Localize::processMap(), Pilot::Dispatch::setup(), VRmixin::startCrew(), VRmixin::stopCrew(), and VRmixin::VRmixin().
the global particle filter instance
Definition at line 68 of file VRmixin.h. Referenced by Pilot::CreepToShapeLocalize::DoStart(), Pilot::Localize::processMap(), VRmixin::startCrew(), and VRmixin::stopCrew().
socket to talk with cam-space sketch viewer
Definition at line 71 of file VRmixin.h. Referenced by VRmixin::VRmixin(), and VRmixin::~VRmixin().
socket for transmitting RLE images to cam-space sketch viewer
Definition at line 72 of file VRmixin.h. Referenced by VRmixin::VRmixin(), and VRmixin::~VRmixin().
socket to talk with local-space sketch viewer
Definition at line 73 of file VRmixin.h. Referenced by VRmixin::VRmixin(), and VRmixin::~VRmixin().
socket for transmitting RLE images to local-space sketch viewer
Definition at line 74 of file VRmixin.h. Referenced by VRmixin::VRmixin(), and VRmixin::~VRmixin().
socket to talk with world-space sketch viewer
Definition at line 75 of file VRmixin.h. Referenced by VRmixin::VRmixin(), and VRmixin::~VRmixin().
socket for transmitting RLE images to world-space sketch viewer
Definition at line 76 of file VRmixin.h. Referenced by VRmixin::VRmixin(), and VRmixin::~VRmixin(). used so static member functions can access non-static members
Definition at line 124 of file VRmixin.h. Referenced by VRmixin::camDialogSockCallback(), VRmixin::dialogCallback(), VRmixin::localDialogSockCallback(), VRmixin::VRmixin(), VRmixin::worldDialogSockCallback(), and VRmixin::~VRmixin().
The documentation for this class was generated from the following files: |
DualCoding 4.0 |
Generated Thu Nov 22 00:54:07 2007 by Doxygen 1.5.4 |