Publish generated path to use for visualisation

This commit is contained in:
Pimpest committed 2025-04-18 22:20:15 +02:00
1 parent ec831bd334
commit aeaf36fc2b
6 files changed
+12 -2

No files matched your search

@@ -109,6 +109,7 @@ namespace mg {
rclcpp::Rate rate(UPDATE_RATE);
while (target_check() && rclcpp::ok()) {
target_update();
if (hgoal->is_canceling()) {
cancel();
return;
@@ -22,7 +22,7 @@ namespace mg {
template <>
inline void DWA<MgNavigationServer::MoveGlobal>::target_update() {
baseNode.path_buffer()->update_path(goal);
baseNode.path_buffer()->update_path();
target_pos = baseNode.path_buffer()->get_next(pos, LOOKAHEAD);
}