MCPcopy Create free account
hub / github.com/Robotics-STAR-Lab/H2-Mapping / registerPub

Method registerPub

src/dvins/pose_graph/src/pose_graph.cpp:27–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25}
26
27void PoseGraph::registerPub(ros::NodeHandle &n)
28{
29 pub_pg_path = n.advertise<nav_msgs::Path>("pose_graph_path", 1000);
30 pub_base_path = n.advertise<nav_msgs::Path>("base_path", 1000);
31 pub_pose_graph = n.advertise<visualization_msgs::MarkerArray>("pose_graph", 1000);
32 for (int i = 1; i < 10; i++)
33 pub_path[i] = n.advertise<nav_msgs::Path>("path_" + to_string(i), 1000);
34}
35
36void PoseGraph::loadVocabulary(std::string voc_path)
37{

Callers 1

mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected