MCPcopy Create free account
hub / github.com/HaisenbergPeng/ROLL / initialpose_callback

Method initialpose_callback

src/mapOptmization.cpp:1755–1763  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1753 }
1754
1755 void initialpose_callback(const rvizPoseType& pose_msg) {
1756 ROS_INFO("initial pose received!!");
1757 std::lock_guard<std::mutex> lock(pose_estimator_mutex);
1758 poseEstVec.push_back(pose_msg);
1759 if (relocByRviz()){
1760 ROS_INFO("Got pose estimate");
1761 poseGuessFromRvizAvailable = true;
1762 }
1763 }
1764
1765
1766 bool relocByRviz() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected