Skip to content

Commit

Permalink
Finsih reverting ns_ to name_ for MotionPlanner
Browse files Browse the repository at this point in the history
  • Loading branch information
marrts committed Jan 10, 2024
1 parent ee1aac4 commit 386b9aa
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,11 +114,11 @@ TaskComposerNodeInfo::UPtr MinLengthTask::runImpl(TaskComposerContext& context,

// Create profile dictionary
auto profiles = std::make_shared<ProfileDictionary>();
profiles->addProfile<SimplePlannerPlanProfile>(planner.getNamespace(), ci.getProfile(), profile);
profiles->addProfile<SimplePlannerPlanProfile>(planner.getName(), ci.getProfile(), profile);
auto flat = ci.flatten(&moveFilter);
for (const auto& i : flat)
profiles->addProfile<SimplePlannerPlanProfile>(
planner.getNamespace(), i.get().as<MoveInstructionPoly>().getProfile(), profile);
planner.getName(), i.get().as<MoveInstructionPoly>().getProfile(), profile);

// Assign profile dictionary
request.profiles = profiles;
Expand Down

0 comments on commit 386b9aa

Please sign in to comment.