From 697693a39791cd7c61d16d87c8953e9381f1f807 Mon Sep 17 00:00:00 2001 From: Tomas Baca Date: Tue, 17 Oct 2023 11:33:37 +0200 Subject: [PATCH] another fix of minz --- src/control_manager/control_manager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/control_manager/control_manager.cpp b/src/control_manager/control_manager.cpp index fb1f8e6e..c5d6ac91 100644 --- a/src/control_manager/control_manager.cpp +++ b/src/control_manager/control_manager.cpp @@ -7060,7 +7060,7 @@ double ControlManager::getMinZ(const std::string& frame_id) { std::string from_frame = _safety_area_frame_; if (_safety_area_frame_ == "latlon_origin") { - from_frame = "world_origin"; + from_frame = frame_id; } point.header.frame_id = from_frame;