From 670570377cacc4962a7758fdfbcc716f630b7d66 Mon Sep 17 00:00:00 2001
From: yuyuyu <2144789125@qq.com>
Date: Tue, 5 May 2026 20:01:40 +0800
Subject: [PATCH 1/5] relocalize
---
package.xml | 3 +-
src/cxx/component.cc | 53 +++++-
src/cxx/util/localization/engine.cc | 259 +++++++++++++++++++++-------
src/cxx/util/localization/engine.hh | 46 +++--
src/lua/action.lua | 72 ++++++++
src/lua/api.lua | 4 +
6 files changed, 354 insertions(+), 83 deletions(-)
diff --git a/package.xml b/package.xml
index b89ba8f..ed20810 100644
--- a/package.xml
+++ b/package.xml
@@ -29,7 +29,8 @@
rclpy
tf2_ros
rmcs_local_map
-
+ rmcs-relocation
+
ament_cmake
diff --git a/src/cxx/component.cc b/src/cxx/component.cc
index 6c543c8..94210a6 100644
--- a/src/cxx/component.cc
+++ b/src/cxx/component.cc
@@ -5,10 +5,16 @@
#endif
#include "cxx/context.hh"
+#include "cxx/util/localization/engine.hh"
#include "cxx/util/navigation/navigation.hh"
#include "cxx/util/node_mixin.hh"
-
+#include
#include
+#include