mirror of
https://github.com/moveit/moveit_task_constructor.git
synced 2025-11-04 14:49:57 +08:00
consider v4hn's comment
This commit is contained in:
parent
433db67cf9
commit
5c525f8729
@ -158,7 +158,7 @@ bool Connect::compute(const InterfaceState &from, const InterfaceState &to) {
|
||||
end->getCurrentStateNonConst().setJointGroupPositions(jmg, positions);
|
||||
|
||||
robot_trajectory::RobotTrajectoryPtr trajectory;
|
||||
if (!pair.second->plan(start, to.scene(), jmg, timeout, trajectory, path_constraints))
|
||||
if (!pair.second->plan(start, end, jmg, timeout, trajectory, path_constraints))
|
||||
break;
|
||||
|
||||
sub_trajectories.push_back(trajectory);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user