Skip to content

Commit febcd0f

Browse files
rjoomenLevi-Armstrong
authored andcommitted
1 parent b5c5d25 commit febcd0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tesseract_examples/src/online_planning_example.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ bool OnlinePlanningExample::onlinePlan()
315315
{
316316
tesseract_common::JointState state = player_.setCurrentDuration(dt);
317317
std::vector<Eigen::VectorXd> init_trajectory;
318-
Eigen::VectorXd time_state = Eigen::VectorXd::LinSpaced(steps_, dt, player_.trajectoryDuration());
318+
Eigen::VectorXd time_state = Eigen::VectorXd::LinSpaced(steps_, dt, player_.trajectoryDurationEnd());
319319
for (Eigen::Index t = 0; t < steps_; t++)
320320
{
321321
tesseract_common::JointState state = player_.setCurrentDuration(time_state(t)); // NOLINT

0 commit comments

Comments
 (0)