parent
9be15466d3
commit
5a3bb14083
|
@ -56,6 +56,10 @@ common::Time PoseExtrapolator::GetLastPoseTime() const {
|
|||
return timed_pose_queue_.back().time;
|
||||
}
|
||||
|
||||
common::Time PoseExtrapolator::GetLastExtrapolatedTime() const {
|
||||
return GetLastPoseTime();
|
||||
}
|
||||
|
||||
void PoseExtrapolator::AddPose(const common::Time time,
|
||||
const transform::Rigid3d& pose) {
|
||||
if (imu_tracker_ == nullptr) {
|
||||
|
|
|
@ -47,6 +47,7 @@ class PoseExtrapolator {
|
|||
// Returns the time of the last added pose or Time::min() if no pose was added
|
||||
// yet.
|
||||
common::Time GetLastPoseTime() const;
|
||||
common::Time GetLastExtrapolatedTime() const;
|
||||
|
||||
void AddPose(common::Time time, const transform::Rigid3d& pose);
|
||||
void AddImuData(const sensor::ImuData& imu_data);
|
||||
|
|
Loading…
Reference in New Issue