Template Function tf2::getTimestamp(const tf2::Stamped<P>&)

Function Documentation

template<class P>
tf2::TimePoint tf2::getTimestamp(const tf2::Stamped<P> &t)

Get the frame_id from data.

An implementation for Stamped

datatypes.

Parameters:

t[in] The data input.

Returns:

The frame_id associated with the data.