Skip to content

Commit

Permalink
fix gripper action
Browse files Browse the repository at this point in the history
  • Loading branch information
mrceki committed Mar 8, 2023
1 parent ea60221 commit 69d3100
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion moveit_task_constructor/core/src/storage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ void SubTrajectory::fillMessage(moveit_task_constructor_msgs::Solution& msg, Int
moveit_task_constructor_msgs::SubTrajectory& t = msg.sub_trajectory.back();
SolutionBase::fillInfo(t.info, introspection);

if (trajectory())
if (trajectory() && trajectory()->getWayPointDurationFromStart(trajectory()->getWayPointCount() - 1) > 0.0)
trajectory()->getRobotTrajectoryMsg(t.trajectory);

this->end()->scene()->getPlanningSceneDiffMsg(t.scene_diff);
Expand Down

0 comments on commit 69d3100

Please sign in to comment.