MCPcopy Create free account
hub / github.com/RoboMaster/RoboRTS / HandleInitialPoseMessage

Method HandleInitialPoseMessage

roborts_localization/amcl/amcl.cpp:203–209  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

201}
202
203void Amcl::HandleInitialPoseMessage(Vec3d pf_init_pose_mean,
204 Mat3d pf_init_pose_cov) {
205 initial_pose_hyp_.reset(new AmclHyp());
206 initial_pose_hyp_->pf_pose_mean = pf_init_pose_mean;
207 initial_pose_hyp_->pf_pose_cov = pf_init_pose_cov;
208 ApplyInitPose();
209}
210
211void Amcl::ApplyInitPose() {
212 if (initial_pose_hyp_ != nullptr && map_ptr_ != nullptr) {

Callers 1

InitialPoseCallbackMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected