NASA Astrobee Robot Software
0.19.1
Flight software for the Astrobee robots operating inside the International Space Station.
pose_interpolater.h
Go to the documentation of this file.
1
/* Copyright (c) 2017, United States Government, as represented by the
2
* Administrator of the National Aeronautics and Space Administration.
3
*
4
* All rights reserved.
5
*
6
* The Astrobee platform is licensed under the Apache License, Version 2.0
7
* (the "License"); you may not use this file except in compliance with the
8
* License. You may obtain a copy of the License at
9
*
10
* http://www.apache.org/licenses/LICENSE-2.0
11
*
12
* Unless required by applicable law or agreed to in writing, software
13
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
14
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
15
* License for the specific language governing permissions and limitations
16
* under the License.
17
*/
18
19
#ifndef LOCALIZATION_COMMON_POSE_INTERPOLATER_H_
20
#define LOCALIZATION_COMMON_POSE_INTERPOLATER_H_
21
22
#include <
localization_common/timestamped_interpolater.h
>
23
24
#include <Eigen/Geometry>
25
26
namespace
localization_common
{
27
using
PoseInterpolater
=
TimestampedInterpolater<Eigen::Isometry3d>
;
28
29
template
<>
30
Eigen::Isometry3d
PoseInterpolater::Interpolate
(
const
Eigen::Isometry3d
& a,
const
Eigen::Isometry3d
& b,
31
const
double
alpha)
const
;
32
33
template
<>
34
Eigen::Isometry3d
PoseInterpolater::Relative
(
const
Eigen::Isometry3d
& a,
const
Eigen::Isometry3d
& b)
const
;
35
}
// namespace localization_common
36
37
#endif // LOCALIZATION_COMMON_POSE_INTERPOLATER_H_
localization_common
Definition:
averager.h:33
localization_common::TimestampedInterpolater::Interpolate
boost::optional< T > Interpolate(const Time timestamp) const
Definition:
timestamped_interpolater.h:87
localization_common::TimestampedInterpolater::Relative
boost::optional< T > Relative(const Time timestamp_a, const Time timestamp_b) const
Definition:
timestamped_interpolater.h:109
localization_common::Isometry3d
Eigen::Isometry3d Isometry3d(const Eigen::Vector3d &translation, const RotationType &rotation)
Definition:
utilities.h:226
localization_common::TimestampedInterpolater
Definition:
timestamped_interpolater.h:40
timestamped_interpolater.h