Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef CARTOGRAPHER_SENSOR_FIXED_FRAME_POSE_DATA_H_
00018 #define CARTOGRAPHER_SENSOR_FIXED_FRAME_POSE_DATA_H_
00019
00020 #include <memory>
00021
00022 #include "absl/types/optional.h"
00023 #include "cartographer/common/time.h"
00024 #include "cartographer/sensor/proto/sensor.pb.h"
00025 #include "cartographer/transform/rigid_transform.h"
00026
00027 namespace cartographer {
00028 namespace sensor {
00029
00030
00031
00032 struct FixedFramePoseData {
00033 common::Time time;
00034 absl::optional<transform::Rigid3d> pose;
00035 };
00036
00037
00038 proto::FixedFramePoseData ToProto(const FixedFramePoseData& pose_data);
00039
00040
00041 FixedFramePoseData FromProto(const proto::FixedFramePoseData& proto);
00042
00043 }
00044 }
00045
00046 #endif // CARTOGRAPHER_SENSOR_FIXED_FRAME_POSE_DATA_H_