Functions
cartographer::mapping::test Namespace Reference

Functions

void AddToProtoGraph (const proto::Node &node_data, proto::PoseGraph *pose_graph)
 
void AddToProtoGraph (const proto::Submap &submap_data, proto::PoseGraph *pose_graph)
 
void AddToProtoGraph (const proto::PoseGraph::Constraint &constraint, proto::PoseGraph *pose_graph)
 
void AddToProtoGraph (const proto::PoseGraph::LandmarkPose &landmark, proto::PoseGraph *pose_graph)
 
proto::PoseGraph::Constraint CreateFakeConstraint (const proto::Node &node, const proto::Submap &submap)
 
proto::PoseGraph::LandmarkPose CreateFakeLandmark (const std::string &landmark_id, const transform::Rigid3d &global_pose)
 
proto::Node CreateFakeNode (int trajectory_id, int node_index)
 
proto::Submap CreateFakeSubmap3D (int trajectory_id, int submap_index)
 
proto::Trajectory * CreateTrajectoryIfNeeded (int trajectory_id, proto::PoseGraph *pose_graph)
 
std::vector< cartographer::sensor::TimedPointCloudDataGenerateFakeRangeMeasurements (double travel_distance, double duration, double time_step)
 
std::unique_ptr<::cartographer::common::LuaParameterDictionaryResolveLuaParameters (const std::string &lua_code)
 

Function Documentation

◆ AddToProtoGraph() [1/4]

void cartographer::mapping::test::AddToProtoGraph ( const proto::Node &  node_data,
proto::PoseGraph *  pose_graph 
)

Definition at line 131 of file mapping/internal/testing/test_helpers.cc.

◆ AddToProtoGraph() [2/4]

void cartographer::mapping::test::AddToProtoGraph ( const proto::Submap &  submap_data,
proto::PoseGraph *  pose_graph 
)

Definition at line 141 of file mapping/internal/testing/test_helpers.cc.

◆ AddToProtoGraph() [3/4]

void cartographer::mapping::test::AddToProtoGraph ( const proto::PoseGraph::Constraint &  constraint,
proto::PoseGraph *  pose_graph 
)

Definition at line 154 of file mapping/internal/testing/test_helpers.cc.

◆ AddToProtoGraph() [4/4]

void cartographer::mapping::test::AddToProtoGraph ( const proto::PoseGraph::LandmarkPose &  landmark,
proto::PoseGraph *  pose_graph 
)

Definition at line 159 of file mapping/internal/testing/test_helpers.cc.

◆ CreateFakeConstraint()

proto::PoseGraph::Constraint cartographer::mapping::test::CreateFakeConstraint ( const proto::Node &  node,
const proto::Submap &  submap 
)

Definition at line 91 of file mapping/internal/testing/test_helpers.cc.

◆ CreateFakeLandmark()

proto::PoseGraph::LandmarkPose cartographer::mapping::test::CreateFakeLandmark ( const std::string &  landmark_id,
const transform::Rigid3d global_pose 
)

Definition at line 123 of file mapping/internal/testing/test_helpers.cc.

◆ CreateFakeNode()

proto::Node cartographer::mapping::test::CreateFakeNode ( int  trajectory_id,
int  node_index 
)

Definition at line 81 of file mapping/internal/testing/test_helpers.cc.

◆ CreateFakeSubmap3D()

proto::Submap cartographer::mapping::test::CreateFakeSubmap3D ( int  trajectory_id,
int  submap_index 
)

Definition at line 71 of file mapping/internal/testing/test_helpers.cc.

◆ CreateTrajectoryIfNeeded()

proto::Trajectory * cartographer::mapping::test::CreateTrajectoryIfNeeded ( int  trajectory_id,
proto::PoseGraph *  pose_graph 
)

Definition at line 110 of file mapping/internal/testing/test_helpers.cc.

◆ GenerateFakeRangeMeasurements()

std::vector< cartographer::sensor::TimedPointCloudData > cartographer::mapping::test::GenerateFakeRangeMeasurements ( double  travel_distance,
double  duration,
double  time_step 
)

Definition at line 42 of file mapping/internal/testing/test_helpers.cc.

◆ ResolveLuaParameters()

std::unique_ptr<::cartographer::common::LuaParameterDictionary > cartographer::mapping::test::ResolveLuaParameters ( const std::string &  lua_code)

Definition at line 31 of file mapping/internal/testing/test_helpers.cc.



cartographer
Author(s): The Cartographer Authors
autogenerated on Mon Feb 28 2022 22:00:59