Skip to content

Commit a5f3e63

Browse files
committed
Remove non-used case from sending spline interpolation to the robot
1 parent e1232c3 commit a5f3e63

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

ur_robot_driver/src/hardware_interface.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1400,9 +1400,6 @@ void URPositionHardwareInterface::check_passthrough_trajectory_controller()
14001400
} else if (has_velocities(trajectory_joint_velocities_) && !has_accelerations(trajectory_joint_accelerations_)) {
14011401
ur_driver_->writeTrajectorySplinePoint(trajectory_joint_positions_[i], trajectory_joint_velocities_[i],
14021402
trajectory_times_[i]);
1403-
} else if (!has_velocities(trajectory_joint_velocities_) && has_accelerations(trajectory_joint_accelerations_)) {
1404-
ur_driver_->writeTrajectorySplinePoint(trajectory_joint_positions_[i], trajectory_joint_accelerations_[i],
1405-
trajectory_times_[i]);
14061403
} else if (has_velocities(trajectory_joint_velocities_) && has_accelerations(trajectory_joint_accelerations_)) {
14071404
ur_driver_->writeTrajectorySplinePoint(trajectory_joint_positions_[i], trajectory_joint_velocities_[i],
14081405
trajectory_joint_accelerations_[i], trajectory_times_[i]);

0 commit comments

Comments
 (0)