Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
rjoomen authored and Levi-Armstrong committed Feb 22, 2024
1 parent b5c5d25 commit febcd0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tesseract_examples/src/online_planning_example.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ bool OnlinePlanningExample::onlinePlan()
{
tesseract_common::JointState state = player_.setCurrentDuration(dt);
std::vector<Eigen::VectorXd> 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
Expand Down

0 comments on commit febcd0f

Please sign in to comment.