From ba325e3ac9c0265246a9cb5e4cee0f6ac3b29a14 Mon Sep 17 00:00:00 2001 From: matous Date: Wed, 31 Jan 2024 18:04:44 +0100 Subject: [PATCH] refactored for new mrs_lib matrix loading --- cpp/waypoint_flier/src/example_waypoint_flier.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/waypoint_flier/src/example_waypoint_flier.cpp b/cpp/waypoint_flier/src/example_waypoint_flier.cpp index f8cd599..6a016df 100644 --- a/cpp/waypoint_flier/src/example_waypoint_flier.cpp +++ b/cpp/waypoint_flier/src/example_waypoint_flier.cpp @@ -194,7 +194,7 @@ void ExampleWaypointFlier::onInit() { ROS_INFO_STREAM_ONCE("[ExampleWaypointFlier]: " << _n_loops_ << " loops requested"); /* load offset of all waypoints as a static matrix from config file */ - param_loader.loadMatrixStatic("offset", _offset_, 1, 4); + param_loader.loadMatrixKnown("offset", _offset_, 1, 4); offsetPoints(waypoints_, _offset_); if (!param_loader.loadedSuccessfully()) {