Skip to content

Commit e19c573

Browse files
committed
Remove non-used case from sending spline interpolation to the robot
1 parent 6cea256 commit e19c573

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
@@ -1387,9 +1387,6 @@ void URPositionHardwareInterface::check_passthrough_trajectory_controller()
13871387
} else if (has_velocities(trajectory_joint_velocities_) && !has_accelerations(trajectory_joint_accelerations_)) {
13881388
ur_driver_->writeTrajectorySplinePoint(trajectory_joint_positions_[i], trajectory_joint_velocities_[i],
13891389
trajectory_times_[i]);
1390-
} else if (!has_velocities(trajectory_joint_velocities_) && has_accelerations(trajectory_joint_accelerations_)) {
1391-
ur_driver_->writeTrajectorySplinePoint(trajectory_joint_positions_[i], trajectory_joint_accelerations_[i],
1392-
trajectory_times_[i]);
13931390
} else if (has_velocities(trajectory_joint_velocities_) && has_accelerations(trajectory_joint_accelerations_)) {
13941391
ur_driver_->writeTrajectorySplinePoint(trajectory_joint_positions_[i], trajectory_joint_velocities_[i],
13951392
trajectory_joint_accelerations_[i], trajectory_times_[i]);

0 commit comments

Comments
 (0)