Skip to content

Commit 984e934

Browse files
urfeexurmahp
andcommitted
Apply suggestions from code review
Co-authored-by: Mads Holm Peters <[email protected]>
1 parent 7695453 commit 984e934

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
@@ -1361,12 +1361,8 @@ void URPositionHardwareInterface::check_passthrough_trajectory_controller()
13611361
trajectory_times_[point_index_received] = passthrough_trajectory_time_from_start_ - last_time;
13621362
last_time = passthrough_trajectory_time_from_start_;
13631363

1364-
// if (!std::isnan(passthrough_trajectory_velocities_[0])) {
13651364
trajectory_joint_velocities_[point_index_received] = passthrough_trajectory_velocities_;
1366-
//}
1367-
// if (!std::isnan(passthrough_trajectory_accelerations_[0])) {
13681365
trajectory_joint_accelerations_[point_index_received] = passthrough_trajectory_accelerations_;
1369-
//}
13701366

13711367
point_index_received++;
13721368
passthrough_trajectory_transfer_state_ = 1.0;

0 commit comments

Comments
 (0)