cartographer
transform
timestamped_transform.h
Go to the documentation of this file.
1
/*
2
* Copyright 2017 The Cartographer Authors
3
*
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
* you may not use this file except in compliance with the License.
6
* You may obtain a copy of the License at
7
*
8
* http://www.apache.org/licenses/LICENSE-2.0
9
*
10
* Unless required by applicable law or agreed to in writing, software
11
* distributed under the License is distributed on an "AS IS" BASIS,
12
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
* See the License for the specific language governing permissions and
14
* limitations under the License.
15
*/
16
17
#ifndef CARTOGRAPHER_TRANSFORM_TIMESTAMPED_TRANSFORM_H_
18
#define CARTOGRAPHER_TRANSFORM_TIMESTAMPED_TRANSFORM_H_
19
20
#include "
cartographer/common/time.h
"
21
#include "
cartographer/transform/rigid_transform.h
"
22
23
namespace
cartographer
{
24
namespace
transform {
25
26
struct
TimestampedTransform
{
27
common::Time
time
;
28
transform::Rigid3d
transform
;
29
};
30
31
TimestampedTransform
Interpolate
(
const
TimestampedTransform
& start,
32
const
TimestampedTransform
& end,
33
const
common::Time
time
);
34
35
}
// namespace transform
36
}
// namespace cartographer
37
38
#endif // CARTOGRAPHER_TRANSFORM_TIMESTAMPED_TRANSFORM_H_
time.h
cartographer::transform::TimestampedTransform
Definition:
timestamped_transform.h:26
cartographer::common::Time
UniversalTimeScaleClock::time_point Time
Definition:
time.h:44
cartographer::transform::TimestampedTransform::transform
transform::Rigid3d transform
Definition:
timestamped_transform.h:28
cartographer::transform::Rigid3< double >
cartographer::transform::Interpolate
TimestampedTransform Interpolate(const TimestampedTransform &start, const TimestampedTransform &end, const common::Time time)
Definition:
timestamped_transform.cc:22
cartographer
Definition:
map_builder_stub.cc:31
cartographer::transform::TimestampedTransform::time
common::Time time
Definition:
timestamped_transform.h:27
rigid_transform.h
cartographer
Author(s): The Cartographer Authors
autogenerated on Mon Feb 28 2022 22:00:58