| 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() { |
nothing calls this directly
no outgoing calls
no test coverage detected