Class trifinger_object_tracking::ObjectTrackerFrontend

class ObjectTrackerFrontend

Frontend to access the object tracker data.

Public Functions

inline ObjectTrackerFrontend(ObjectTrackerData::Ptr data)
ObjectPose get_pose(const time_series::Index t) const

Get the object pose at time index t.

ObjectPose get_current_pose() const

Get the latest object pose.

time_series::Index get_current_timeindex() const

Get the index of the current time step.

time_series::Index get_oldest_timeindex() const

Get the index of the oldest time step still held in the buffer.

time_series::Timestamp get_timestamp_ms(const time_series::Index t) const

Get time stamp of the given time step.

void wait_until_timeindex(const time_series::Index t) const

Wait until time index t is reached.

bool has_observations() const

Returns true if there are observations in the time series.

inline ObjectTrackerFrontend(ObjectTrackerData::Ptr data)
ObjectPose get_pose(const time_series::Index t) const

Get the object pose at time index t.

ObjectPose get_current_pose() const

Get the latest object pose.

time_series::Index get_current_timeindex() const

Get the index of the current time step.

time_series::Index get_oldest_timeindex() const

Get the index of the oldest time step still held in the buffer.

time_series::Timestamp get_timestamp_ms(const time_series::Index t) const

Get time stamp of the given time step.

void wait_until_timeindex(const time_series::Index t) const

Wait until time index t is reached.

bool has_observations() const

Returns true if there are observations in the time series.