Skip to content

Commit 2a83b43

Browse files
urfeexurmahp
andauthored
Apply suggestions from code review
Co-authored-by: Mads Holm Peters <[email protected]>
1 parent dc3da24 commit 2a83b43

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

ur_robot_driver/src/hardware_interface.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1348,12 +1348,8 @@ void URPositionHardwareInterface::check_passthrough_trajectory_controller()
13481348
trajectory_times_[point_index_received] = passthrough_trajectory_time_from_start_ - last_time;
13491349
last_time = passthrough_trajectory_time_from_start_;
13501350

1351-
// if (!std::isnan(passthrough_trajectory_velocities_[0])) {
13521351
trajectory_joint_velocities_[point_index_received] = passthrough_trajectory_velocities_;
1353-
//}
1354-
// if (!std::isnan(passthrough_trajectory_accelerations_[0])) {
13551352
trajectory_joint_accelerations_[point_index_received] = passthrough_trajectory_accelerations_;
1356-
//}
13571353

13581354
point_index_received++;
13591355
passthrough_trajectory_transfer_state_ = 1.0;

0 commit comments

Comments
 (0)