#include <trajectory_builder_stub.h>
Public Member Functions | |
void | AddLocalSlamResultData (std::unique_ptr< mapping::LocalSlamResultData > local_slam_result_data) override |
void | AddSensorData (const std::string &sensor_id, const sensor::TimedPointCloudData &timed_point_cloud_data) override |
void | AddSensorData (const std::string &sensor_id, const sensor::ImuData &imu_data) override |
void | AddSensorData (const std::string &sensor_id, const sensor::OdometryData &odometry_data) override |
void | AddSensorData (const std::string &sensor_id, const sensor::FixedFramePoseData &fixed_frame_pose) override |
void | AddSensorData (const std::string &sensor_id, const sensor::LandmarkData &landmark_data) override |
TrajectoryBuilderStub & | operator= (const TrajectoryBuilderStub &) |
TrajectoryBuilderStub (std::shared_ptr<::grpc::Channel > client_channel, const int trajectory_id, const std::string &client_id, LocalSlamResultCallback local_slam_result_callback) | |
TrajectoryBuilderStub (const TrajectoryBuilderStub &) | |
~TrajectoryBuilderStub () override | |
Static Private Member Functions | |
static void | RunLocalSlamResultsReader (async_grpc::Client< handlers::ReceiveLocalSlamResultsSignature > *client_reader, LocalSlamResultCallback local_slam_result_callback) |
Private Attributes | |
std::unique_ptr < async_grpc::Client < handlers::AddFixedFramePoseDataSignature > > | add_fixed_frame_pose_client_ |
std::unique_ptr < async_grpc::Client < handlers::AddImuDataSignature > > | add_imu_client_ |
std::unique_ptr < async_grpc::Client < handlers::AddLandmarkDataSignature > > | add_landmark_client_ |
std::unique_ptr < async_grpc::Client < handlers::AddOdometryDataSignature > > | add_odometry_client_ |
std::unique_ptr < async_grpc::Client < handlers::AddRangefinderDataSignature > > | add_rangefinder_client_ |
std::shared_ptr<::grpc::Channel > | client_channel_ |
const std::string | client_id_ |
async_grpc::Client < handlers::ReceiveLocalSlamResultsSignature > | receive_local_slam_results_client_ |
std::unique_ptr< std::thread > | receive_local_slam_results_thread_ |
const int | trajectory_id_ |
Definition at line 38 of file trajectory_builder_stub.h.
cartographer::cloud::TrajectoryBuilderStub::TrajectoryBuilderStub | ( | std::shared_ptr<::grpc::Channel > | client_channel, |
const int | trajectory_id, | ||
const std::string & | client_id, | ||
LocalSlamResultCallback | local_slam_result_callback | ||
) |
Definition at line 28 of file trajectory_builder_stub.cc.
Definition at line 50 of file trajectory_builder_stub.cc.
void cartographer::cloud::TrajectoryBuilderStub::AddLocalSlamResultData | ( | std::unique_ptr< mapping::LocalSlamResultData > | local_slam_result_data | ) | [override] |
Definition at line 145 of file trajectory_builder_stub.cc.
void cartographer::cloud::TrajectoryBuilderStub::AddSensorData | ( | const std::string & | sensor_id, |
const sensor::TimedPointCloudData & | timed_point_cloud_data | ||
) | [override, virtual] |
Implements cartographer::mapping::TrajectoryBuilderInterface.
Definition at line 76 of file trajectory_builder_stub.cc.
void cartographer::cloud::TrajectoryBuilderStub::AddSensorData | ( | const std::string & | sensor_id, |
const sensor::ImuData & | imu_data | ||
) | [override, virtual] |
Implements cartographer::mapping::TrajectoryBuilderInterface.
Definition at line 91 of file trajectory_builder_stub.cc.
void cartographer::cloud::TrajectoryBuilderStub::AddSensorData | ( | const std::string & | sensor_id, |
const sensor::OdometryData & | odometry_data | ||
) | [override, virtual] |
Implements cartographer::mapping::TrajectoryBuilderInterface.
Definition at line 104 of file trajectory_builder_stub.cc.
void cartographer::cloud::TrajectoryBuilderStub::AddSensorData | ( | const std::string & | sensor_id, |
const sensor::FixedFramePoseData & | fixed_frame_pose | ||
) | [override, virtual] |
Implements cartographer::mapping::TrajectoryBuilderInterface.
Definition at line 117 of file trajectory_builder_stub.cc.
void cartographer::cloud::TrajectoryBuilderStub::AddSensorData | ( | const std::string & | sensor_id, |
const sensor::LandmarkData & | landmark_data | ||
) | [override, virtual] |
Implements cartographer::mapping::TrajectoryBuilderInterface.
Definition at line 132 of file trajectory_builder_stub.cc.
TrajectoryBuilderStub& cartographer::cloud::TrajectoryBuilderStub::operator= | ( | const TrajectoryBuilderStub & | ) |
void cartographer::cloud::TrajectoryBuilderStub::RunLocalSlamResultsReader | ( | async_grpc::Client< handlers::ReceiveLocalSlamResultsSignature > * | client_reader, |
LocalSlamResultCallback | local_slam_result_callback | ||
) | [static, private] |
Definition at line 150 of file trajectory_builder_stub.cc.
std::unique_ptr<async_grpc::Client<handlers::AddFixedFramePoseDataSignature> > cartographer::cloud::TrajectoryBuilderStub::add_fixed_frame_pose_client_ [private] |
Definition at line 78 of file trajectory_builder_stub.h.
std::unique_ptr<async_grpc::Client<handlers::AddImuDataSignature> > cartographer::cloud::TrajectoryBuilderStub::add_imu_client_ [private] |
Definition at line 74 of file trajectory_builder_stub.h.
std::unique_ptr<async_grpc::Client<handlers::AddLandmarkDataSignature> > cartographer::cloud::TrajectoryBuilderStub::add_landmark_client_ [private] |
Definition at line 80 of file trajectory_builder_stub.h.
std::unique_ptr<async_grpc::Client<handlers::AddOdometryDataSignature> > cartographer::cloud::TrajectoryBuilderStub::add_odometry_client_ [private] |
Definition at line 76 of file trajectory_builder_stub.h.
std::unique_ptr<async_grpc::Client<handlers::AddRangefinderDataSignature> > cartographer::cloud::TrajectoryBuilderStub::add_rangefinder_client_ [private] |
Definition at line 72 of file trajectory_builder_stub.h.
std::shared_ptr<::grpc::Channel> cartographer::cloud::TrajectoryBuilderStub::client_channel_ [private] |
Definition at line 68 of file trajectory_builder_stub.h.
const std::string cartographer::cloud::TrajectoryBuilderStub::client_id_ [private] |
Definition at line 70 of file trajectory_builder_stub.h.
async_grpc::Client<handlers::ReceiveLocalSlamResultsSignature> cartographer::cloud::TrajectoryBuilderStub::receive_local_slam_results_client_ [private] |
Definition at line 82 of file trajectory_builder_stub.h.
std::unique_ptr<std::thread> cartographer::cloud::TrajectoryBuilderStub::receive_local_slam_results_thread_ [private] |
Definition at line 83 of file trajectory_builder_stub.h.
const int cartographer::cloud::TrajectoryBuilderStub::trajectory_id_ [private] |
Definition at line 69 of file trajectory_builder_stub.h.