World observation configuration information. More...
#include <Observation.h>
Public Member Functions | |
const Item & | getItem () const |
Item value accessor (immutable). | |
Item & | getItem () |
Item value accessor. | |
const PlacementSurface & | getPlacementSurface () const |
PlacementSurface accessor. | |
const geometry::Pose & | getPose () const |
Pose value accessor (immutable). | |
geometry::Pose & | getPose () |
Pose value accessor. | |
const ros::Time & | getRemovedEstimate () const |
Estimated removal time value accessor (immutable). | |
ros::Time & | getRemovedEstimate () |
Estimated removal time value accessor. | |
const ros::Time & | getRemovedObserved () const |
Observed removal time value accessor (immutable). | |
ros::Time & | getRemovedObserved () |
Observed removal time value accessor. | |
const Surface & | getSurface () const |
Surface value accessor (immutable). | |
Surface & | getSurface () |
Surface value accessor. | |
const ros::Time & | getTime () const |
Time value accessor (immutable). | |
ros::Time & | getTime () |
Time value accessor. | |
Observation (const Item &item=Item(), const Surface &surface=Surface(), const geometry::Pose &pose=geometry::Pose(), const ros::Time &time=ros::Time::now(), const ros::Time &removed_estimate=ros::Time(0), const ros::Time &removed_observed=ros::Time(0)) | |
Create a new Observation. | |
void | setItem (const Item &item) |
Item value mutator. | |
void | setPose (const geometry::Pose &pose) |
Pose value mutator. | |
void | setRemovedEstimate (const ros::Time &removed_estimate) |
Estimated removal time value mutator. | |
void | setRemovedObserved (const ros::Time &removed_observed) |
Observed removal time value mutator. | |
void | setSurface (const Surface &surface) |
Surface value mutator. | |
void | setTime (const ros::Time &time) |
Time value mutator. | |
Private Attributes | |
Item | item_ |
geometry::Pose | pose_ |
ros::Time | removed_estimate_ |
ros::Time | removed_observed_ |
Surface | surface_ |
ros::Time | time_ |
World observation configuration information.
An observation consists of seeing a given item on a given surface at a give pose.
Definition at line 38 of file Observation.h.
Observation::Observation | ( | const Item & | item = Item() , |
const Surface & | surface = Surface() , |
||
const geometry::Pose & | pose = geometry::Pose() , |
||
const ros::Time & | time = ros::Time::now() , |
||
const ros::Time & | removed_estimate = ros::Time(0) , |
||
const ros::Time & | removed_observed = ros::Time(0) |
||
) |
Create a new Observation.
Create a new Observation with the given Item, Surface, and Pose (in reference to the surface itself).
item | The Item seen in this Observation (defaults to empty Item). |
surface | The Surface the Item was seen on in this Observation (defaults to empty Surface). |
pose | The Pose of this Item in this Observation with respect to the Surface (defaults to empty Pose). |
time | The ros::Time the observation was made (defaults to now). |
removed_estimate | The estimated ros::Time the Item was removed from the Surface (defaults to 0). |
removed_observed | The observed ros::Time the Item was not seen on the Surface (defaults to 0). |
Definition at line 18 of file Observation.cpp.
const Item & Observation::getItem | ( | ) | const |
Item value accessor (immutable).
Get the Item value of this Observation.
Definition at line 25 of file Observation.cpp.
Item & Observation::getItem | ( | ) |
Item value accessor.
Get the Item value of this Observation.
Definition at line 30 of file Observation.cpp.
const PlacementSurface & Observation::getPlacementSurface | ( | ) | const |
PlacementSurface accessor.
Get the PlacementSurface of this Observation (defined as the closest placement surface to the observation Pose).
Definition at line 55 of file Observation.cpp.
const Pose & Observation::getPose | ( | ) | const |
Pose value accessor (immutable).
Get the Pose value of this Observation.
Definition at line 60 of file Observation.cpp.
Pose & Observation::getPose | ( | ) |
Pose value accessor.
Get the Pose value of this Observation.
Definition at line 65 of file Observation.cpp.
const ros::Time & Observation::getRemovedEstimate | ( | ) | const |
Estimated removal time value accessor (immutable).
Get the estimated removal time value of this Observation.
Definition at line 90 of file Observation.cpp.
Estimated removal time value accessor.
Get the estimated removal time value of this Observation.
Definition at line 95 of file Observation.cpp.
const ros::Time & Observation::getRemovedObserved | ( | ) | const |
Observed removal time value accessor (immutable).
Get the observed removal time value of this Observation.
Definition at line 105 of file Observation.cpp.
Observed removal time value accessor.
Get the observed removal time value of this Observation.
Definition at line 110 of file Observation.cpp.
const Surface & Observation::getSurface | ( | ) | const |
Surface value accessor (immutable).
Get the Surface value of this Observation.
Definition at line 40 of file Observation.cpp.
Surface value accessor.
Get the Surface value of this Observation.
Definition at line 45 of file Observation.cpp.
const ros::Time & Observation::getTime | ( | ) | const |
Time value accessor (immutable).
Get the time value of this Observation.
Definition at line 75 of file Observation.cpp.
Time value accessor.
Get the time value of this Observation.
Definition at line 80 of file Observation.cpp.
void Observation::setItem | ( | const Item & | item | ) |
Item value mutator.
Set the Item value of this Observation.
item | The new Item value of this Observation. |
Definition at line 35 of file Observation.cpp.
void Observation::setPose | ( | const geometry::Pose & | pose | ) |
Pose value mutator.
Set the Pose value of this Observation.
pose | The new Pose value of this Observation. |
Definition at line 70 of file Observation.cpp.
void Observation::setRemovedEstimate | ( | const ros::Time & | removed_estimate | ) |
Estimated removal time value mutator.
Set the estimated removal time value of this Observation.
time | The new estimated removal time value of this Observation. |
Definition at line 100 of file Observation.cpp.
void Observation::setRemovedObserved | ( | const ros::Time & | removed_observed | ) |
Observed removal time value mutator.
Set the observed removal time value of this Observation.
time | The new observed removal time value of this Observation. |
Definition at line 115 of file Observation.cpp.
void Observation::setSurface | ( | const Surface & | surface | ) |
Surface value mutator.
Set the Surface value of this Observation.
surface | The new Surface value of this Observation. |
Definition at line 50 of file Observation.cpp.
void Observation::setTime | ( | const ros::Time & | time | ) |
Time value mutator.
Set the time value of this Observation.
time | The new time value of this Observation. |
Definition at line 85 of file Observation.cpp.
The Item in this Observation.
Definition at line 230 of file Observation.h.
The Pose in this Observation.
Definition at line 234 of file Observation.h.
ros::Time rail::spatial_temporal_learning::worldlib::world::Observation::removed_estimate_ [private] |
Definition at line 236 of file Observation.h.
ros::Time rail::spatial_temporal_learning::worldlib::world::Observation::removed_observed_ [private] |
Definition at line 236 of file Observation.h.
The Surface in this Observation.
Definition at line 232 of file Observation.h.
The various timestamps in this Observation.
Definition at line 236 of file Observation.h.