17 #ifndef CARTOGRAPHER_MAPPING_TRAJECTORY_BUILDER_H_ 18 #define CARTOGRAPHER_MAPPING_TRAJECTORY_BUILDER_H_ 28 #include "cartographer/mapping/proto/trajectory_builder_options.pb.h" 38 common::LuaParameterDictionary*
const parameter_dictionary);
49 : time(time), pose(pose), point_cloud(point_cloud) {}
72 std::unique_ptr<sensor::Data> data) = 0;
75 const Eigen::Vector3f& origin,
78 common::make_unique<sensor::Data>(
83 const Eigen::Vector3d& linear_acceleration,
84 const Eigen::Vector3d& angular_velocity) {
93 common::make_unique<sensor::Data>(time, odometer_pose));
100 #endif // CARTOGRAPHER_MAPPING_TRAJECTORY_BUILDER_H_
sensor::PointCloud point_cloud
void AddRangefinderData(const string &sensor_id, common::Time time, const Eigen::Vector3f &origin, const sensor::PointCloud &ranges)
PoseEstimate(common::Time time, const transform::Rigid3d &pose, const sensor::PointCloud &point_cloud)
virtual int num_submaps()=0
TrajectoryBuilder & operator=(const TrajectoryBuilder &)=delete
void AddImuData(const string &sensor_id, common::Time time, const Eigen::Vector3d &linear_acceleration, const Eigen::Vector3d &angular_velocity)
UniversalTimeScaleClock::time_point Time
virtual ~TrajectoryBuilder()
void AddOdometerData(const string &sensor_id, common::Time time, const transform::Rigid3d &odometer_pose)
virtual const PoseEstimate & pose_estimate() const =0
proto::TrajectoryBuilderOptions CreateTrajectoryBuilderOptions(common::LuaParameterDictionary *const parameter_dictionary)
std::vector< Eigen::Vector3f > PointCloud
virtual SubmapData GetSubmapData(int submap_index)=0
virtual void AddSensorData(const string &sensor_id, std::unique_ptr< sensor::Data > data)=0