reloc: web hien map DB (2D+3D) ngay luc khoi dong; robot o goc map toi khi chot roi nhay ve cho that

This commit is contained in:
trung09122002
2026-09-29 14:32:14 +07:00
parent 60853531aa
commit 36db5126c2
3 changed files with 50 additions and 28 deletions

View File

@@ -351,11 +351,6 @@ class Runtime {
Transform slam_laser_to_base_ = TransformIdentity(); // doc-only sau Start()
std::string reloc_status_; // duoi slam_mu_
bool reloc_pending_ = false; // duoi slam_mu_: chua dinh vi xong
// Duoi slam_mu_: ung vien SO 1 cua vong khop gan nhat (ke ca bi tu choi).
// CHI de VE: khi chua chot, web ve robot MO tai `guess * odom` -- thay cho
// odom tu 0 nam ngoai toa nha. KHONG dua cho RTAB-Map.
Pose2D reloc_guess_T_;
bool have_reloc_guess_ = false;
// Tu chay: XOAY (gom) -> khop -> chua chot thi QUAY ve cho thoang -> DI ->
// XOAY... Tran cung 6 vong / 12 m roi DUNG HAN goi nguoi (nhu ban ROS).