BitePoint Class Reference

#include <SpecialPercept.h>

List of all members.

Public Types

 none = -1
 frontleft = 0
 frontright
 behindleft
 behindright
 master
 numOfPositions
enum  Position {
  none = -1, frontleft = 0, frontright, behindleft,
  behindright, master, numOfPositions
}

Public Member Functions

 BitePoint ()
void addPercept (double aAngleTo, double aDistanceTo, double aPreciseShift)

Public Attributes

Position position
double angleTo
double distanceTo
Vector2< double > relPos
double preciseShift
unsigned long timeWhenLastSeen
bool fresh
Pose2D lastOdometry


Detailed Description

A class that contains a certain bitePoint at the open challenge bridge
Author:
Jochen Kerdels

Definition at line 33 of file SpecialPercept.h.


Member Enumeration Documentation

enum BitePoint::Position

The different bitePoints

Enumerator:
none 
frontleft 
frontright 
behindleft 
behindright 
master 
numOfPositions 

Definition at line 40 of file SpecialPercept.h.


Constructor & Destructor Documentation

BitePoint::BitePoint (  ) 

Constructor

Definition at line 13 of file SpecialPercept.cpp.

References angleTo, distanceTo, fresh, none, position, preciseShift, relPos, timeWhenLastSeen, Vector2< V >::x, and Vector2< V >::y.


Member Function Documentation

void BitePoint::addPercept ( double  aAngleTo,
double  aDistanceTo,
double  aPreciseShift 
)

method to add a new percept

Definition at line 25 of file SpecialPercept.cpp.

References angleTo, distanceTo, fresh, SystemCall::getCurrentSystemTime(), pi_2, preciseShift, relPos, sgn, timeWhenLastSeen, Vector2< V >::x, and Vector2< V >::y.

Referenced by RBridgeSpecialist::findBridgeMark().


Member Data Documentation

double BitePoint::angleTo

relative angle to the bitePoint

Definition at line 55 of file SpecialPercept.h.

Referenced by addPercept(), BitePoint(), operator<<(), and operator>>().

double BitePoint::distanceTo

relative distance to the bitePoint

Definition at line 57 of file SpecialPercept.h.

Referenced by addPercept(), BitePoint(), OpenChallengeSymbols::getSeenDistanceToBitePoint(), operator<<(), and operator>>().

bool BitePoint::fresh

indicates fresh-data

Definition at line 72 of file SpecialPercept.h.

Referenced by addPercept(), BitePoint(), operator<<(), and operator>>().

Pose2D BitePoint::lastOdometry

last odometry-data

Definition at line 75 of file SpecialPercept.h.

Position BitePoint::position

postion of the bitePoint at the oc bridge

Definition at line 52 of file SpecialPercept.h.

Referenced by BitePoint(), OpenChallengeSymbols::getBitePointPosition(), operator<<(), and operator>>().

double BitePoint::preciseShift

the preciseShift to either left or right while in front of the bytePoint

Definition at line 63 of file SpecialPercept.h.

Referenced by addPercept(), BitePoint(), OpenChallengeSymbols::getPreciseShiftToBitePoint(), operator<<(), and operator>>().

Vector2<double> BitePoint::relPos

the relative position of the bitePoint

Definition at line 59 of file SpecialPercept.h.

Referenced by addPercept(), BitePoint(), operator<<(), and operator>>().

unsigned long BitePoint::timeWhenLastSeen

time when the bitePoint was last seen by the own camera

Definition at line 66 of file SpecialPercept.h.

Referenced by addPercept(), BitePoint(), operator<<(), and operator>>().


The documentation for this class was generated from the following files:
Generated on Thu Dec 7 01:19:22 2006 for DT2005.panorama by  doxygen 1.4.7