9namespace RoboidControl {
An object tracked by the roboid.
Definition TrackedObject.h:12
bool updated
Definition TrackedObject.h:75
Sensor * sensor
The sensor which provided that lastet pose this object.
Definition TrackedObject.h:71
Spherical position
The current position of the object.
Definition TrackedObject.h:67
static constexpr float equalityAngle
The maximum difference in angle from the roboids orientation in which two objects may be considered t...
Definition TrackedObject.h:59
bool IsTheSameAs(InterestingThing *otherObj)
Determine whether this object is the same as another object.
Definition TrackedObject.cpp:24
bool DegradeConfidence(float deltaTime)
Decrease the confidence based on the elapsed time.
Definition TrackedObject.cpp:53
unsigned char confidence
Definition TrackedObject.h:74
static constexpr unsigned char maxConfidence
Definition TrackedObject.h:78
static constexpr float equalityDistance
The maximum difference in distance from the roboid in which two objects may be considered the same.
Definition TrackedObject.h:51
Quaternion orientation
The current orientation of the object.
Definition TrackedObject.h:69
unsigned char id
The id of the tracked object.
Definition TrackedObject.h:63
unsigned char networkId
Definition TrackedObject.h:61
static constexpr unsigned char confidenceDropSpeed
Definition TrackedObject.h:79
unsigned char type
Definition TrackedObject.h:73
void Refresh(Polar position)
Update the position of the object.
Definition TrackedObject.cpp:70
char parentId
Definition TrackedObject.h:65
A sensor is a thing which can perform measurements in the environment.
Definition Sensor.h:9
Definition AbsoluteEncoder.h:5