Skip to content

Commit

Permalink
[fix] duplicate scenes in Solution.msg (moveit#638)
Browse files Browse the repository at this point in the history
  • Loading branch information
captain-yoshi committed Dec 14, 2024
1 parent 904020f commit 8721bbe
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions core/src/storage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -231,10 +231,7 @@ void SubTrajectory::appendTo(moveit_task_constructor_msgs::Solution& msg, Intros
if (trajectory())
trajectory()->getRobotTrajectoryMsg(t.trajectory);

if (this->end()->scene()->getParent() == this->start()->scene())
this->end()->scene()->getPlanningSceneDiffMsg(t.scene_diff);
else
this->end()->scene()->getPlanningSceneMsg(t.scene_diff);
this->end()->scene()->getPlanningSceneDiffMsg(t.scene_diff);
}

double SubTrajectory::computeCost(const CostTerm& f, std::string& comment) const {
Expand Down

0 comments on commit 8721bbe

Please sign in to comment.