cartographer
sensor
odometry_data.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_SENSOR_ODOMETRY_DATA_H_
18
#define CARTOGRAPHER_SENSOR_ODOMETRY_DATA_H_
19
20
#include "
cartographer/common/time.h
"
21
#include "cartographer/sensor/proto/sensor.pb.h"
22
#include "
cartographer/transform/rigid_transform.h
"
23
24
namespace
cartographer
{
25
namespace
sensor {
26
27
struct
OdometryData
{
28
common::Time
time
;
29
transform::Rigid3d
pose
;
30
};
31
32
// Converts 'odometry_data' to a proto::OdometryData.
33
proto::OdometryData
ToProto
(
const
OdometryData
& odometry_data);
34
35
// Converts 'proto' to an OdometryData.
36
OdometryData
FromProto
(
const
proto::OdometryData& proto);
37
38
}
// namespace sensor
39
}
// namespace cartographer
40
41
#endif // CARTOGRAPHER_SENSOR_ODOMETRY_DATA_H_
cartographer::sensor::OdometryData::pose
transform::Rigid3d pose
Definition:
odometry_data.h:29
time.h
cartographer::sensor::OdometryData
Definition:
odometry_data.h:27
cartographer::sensor::ToProto
proto::FixedFramePoseData ToProto(const FixedFramePoseData &pose_data)
Definition:
fixed_frame_pose_data.cc:25
cartographer::sensor::FromProto
FixedFramePoseData FromProto(const proto::FixedFramePoseData &proto)
Definition:
fixed_frame_pose_data.cc:34
cartographer::common::Time
UniversalTimeScaleClock::time_point Time
Definition:
time.h:44
cartographer::transform::Rigid3< double >
cartographer
Definition:
map_builder_stub.cc:31
rigid_transform.h
cartographer::sensor::OdometryData::time
common::Time time
Definition:
odometry_data.h:28
cartographer
Author(s): The Cartographer Authors
autogenerated on Mon Feb 28 2022 22:00:58