From febcd0fb84c4b95187d2bcd0f2025a3840da35cb Mon Sep 17 00:00:00 2001 From: Roelof Oomen Date: Tue, 20 Feb 2024 19:19:02 +0100 Subject: [PATCH] Update matching https://github.com/tesseract-robotics/tesseract/pull/989 --- tesseract_examples/src/online_planning_example.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tesseract_examples/src/online_planning_example.cpp b/tesseract_examples/src/online_planning_example.cpp index 35eb25d173..e044d46154 100644 --- a/tesseract_examples/src/online_planning_example.cpp +++ b/tesseract_examples/src/online_planning_example.cpp @@ -315,7 +315,7 @@ bool OnlinePlanningExample::onlinePlan() { tesseract_common::JointState state = player_.setCurrentDuration(dt); std::vector init_trajectory; - Eigen::VectorXd time_state = Eigen::VectorXd::LinSpaced(steps_, dt, player_.trajectoryDuration()); + Eigen::VectorXd time_state = Eigen::VectorXd::LinSpaced(steps_, dt, player_.trajectoryDurationEnd()); for (Eigen::Index t = 0; t < steps_; t++) { tesseract_common::JointState state = player_.setCurrentDuration(time_state(t)); // NOLINT