Skip to content

Commit

Permalink
Revert "Add cartesian waypoints to fixed indices"
Browse files Browse the repository at this point in the history
This reverts commit e55888e.
  • Loading branch information
rjoomen committed Dec 21, 2023
1 parent 6086340 commit ed4e0d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -273,9 +273,7 @@ TrajOptMotionPlanner::createProblem(const PlannerRequest& request) const
seed_states.push_back(request.env_state.getJointValues(joint_names));
}

// Add to fixed indices
if (!cwp.isToleranced()) /** @todo Should not make fixed if term_type is cost */
fixed_steps.push_back(i);
/** @todo If fixed cartesian and not term_type cost add as fixed */
}
else if (move_instruction.getWaypoint().isJointWaypoint())
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -314,9 +314,7 @@ std::shared_ptr<TrajOptIfoptProblem> TrajOptIfoptMotionPlanner::createProblem(co
// Apply profile
cur_plan_profile->apply(*problem, cwp, move_instruction, composite_mi, active_links, i);

// Add to fixed indices
if (!cwp.isToleranced()) /** @todo Should not make fixed if term_type is cost */
fixed_steps.push_back(i);
/** @todo If fixed cartesian and not term_type cost add as fixed */
}
else if (move_instruction.getWaypoint().isJointWaypoint())
{
Expand Down

0 comments on commit ed4e0d5

Please sign in to comment.