Skip to content

Commit 3eea6c6

Browse files
authored
Merge branch 'moveit:main' into main
2 parents 6c5b9f3 + ff50bdb commit 3eea6c6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

moveit_planners/pilz_industrial_motion_planner/src/trajectory_generator_polyline.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,8 @@ void TrajectoryGeneratorPolyline::extractMotionPlanInfo(const planning_scene::Pl
103103
for (const auto& pc : req.path_constraints.position_constraints)
104104
{
105105
Eigen::Isometry3d waypoint;
106-
tf2::fromMsg(pc.constraint_region.primitive_poses.front(), waypoint);
106+
waypoint = getConstraintPose(pc.constraint_region.primitive_poses.front().position,
107+
pc.constraint_region.primitive_poses.front().orientation, pc.target_point_offset);
107108
waypoint = scene->getFrameTransform(frame_id) * waypoint;
108109
info.waypoints.push_back(waypoint);
109110
}

0 commit comments

Comments
 (0)