Skip to content

Commit

Permalink
Use move_group node for time
Browse files Browse the repository at this point in the history
Signed-off-by: methylDragon <[email protected]>
  • Loading branch information
methylDragon committed Jul 23, 2024
1 parent cf67313 commit b2e8670
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions moveit_ros/trajectory_cache/src/trajectory_cache.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -826,10 +826,7 @@ TrajectoryCache::construct_get_cartesian_path_request(moveit::planning_interface
out.path_constraints = moveit_msgs::msg::Constraints();
out.avoid_collisions = avoid_collisions;
out.link_name = move_group.getEndEffectorLink();

// We were already cursed before, now we are double cursed...
// move_group.getNodeHandle() is UNIMPLEMENTED upstream.
out.header.stamp = node_->now();
out.header.stamp = move_group.getNode()->now();

return out;
}
Expand Down

0 comments on commit b2e8670

Please sign in to comment.