From 9d2e0c320d2c661df09080f76ecc513b96a187a4 Mon Sep 17 00:00:00 2001 From: John Morris Date: Mon, 21 Sep 2020 09:41:57 -0500 Subject: [PATCH] single_joint_generator: Remove trailing `_` from function parameter Fixup for 7c937adc --- src/single_joint_generator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/single_joint_generator.cpp b/src/single_joint_generator.cpp index 87f4876c..e497aec7 100644 --- a/src/single_joint_generator.cpp +++ b/src/single_joint_generator.cpp @@ -534,7 +534,7 @@ ErrorCodeEnum SingleJointGenerator::positionVectorLimitLookAhead(size_t* index_l return error_code; // Helpful hint if limit comp fails on the first waypoint - if (index_last_successful_ == 1) + if (*index_last_successful == 1) { std::cout << "Limit compensation failed at the first waypoint. " << "Try a larger position_tolerance parameter or smaller timestep." << std::endl;