17 #ifndef CARTOGRAPHER_CLOUD_INTERNAL_LOCAL_TRAJECTORY_UPLOADER_H 18 #define CARTOGRAPHER_CLOUD_INTERNAL_LOCAL_TRAJECTORY_UPLOADER_H 24 #include "cartographer/cloud/proto/map_builder_service.pb.h" 25 #include "cartographer/mapping/proto/trajectory_builder_options.pb.h" 38 virtual void Start() = 0;
46 std::unique_ptr<proto::SensorData> sensor_data) = 0;
48 int local_trajectory_id,
const std::set<SensorId>& expected_sensor_ids,
49 const mapping::proto::TrajectoryBuilderOptions& trajectory_options) = 0;
53 int local_trajectory_id)
const = 0;
58 const std::string& uplink_server_address,
int batch_size,
59 bool enable_ssl_encryption);
64 #endif // CARTOGRAPHER_CLOUD_INTERNAL_LOCAL_TRAJECTORY_UPLOADER_H
virtual ~LocalTrajectoryUploaderInterface()=default
virtual void AddTrajectory(int local_trajectory_id, const std::set< SensorId > &expected_sensor_ids, const mapping::proto::TrajectoryBuilderOptions &trajectory_options)=0
virtual void Shutdown()=0
std::unique_ptr< LocalTrajectoryUploaderInterface > CreateLocalTrajectoryUploader(const std::string &uplink_server_address, int batch_size, bool enable_ssl_encryption)
virtual void FinishTrajectory(int local_trajectory_id)=0
virtual SensorId GetLocalSlamResultSensorId(int local_trajectory_id) const =0
::cartographer::mapping::TrajectoryBuilderInterface::SensorId SensorId
virtual void EnqueueSensorData(std::unique_ptr< proto::SensorData > sensor_data)=0