Skip to content

Commit

Permalink
Added comment
Browse files Browse the repository at this point in the history
  • Loading branch information
urfeex committed Dec 17, 2024
1 parent c71ebf3 commit 1aeba6e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ur_controllers/src/passthrough_trajectory_controller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,7 @@ controller_interface::return_type PassthroughTrajectoryController::update(const
#if RCLCPP_VERSION_MAJOR >= 17
active_trajectory_elapsed_time_ += period * scaling_factor_;
#else
// This is kept for Humble compatibility
active_trajectory_elapsed_time_ = active_trajectory_elapsed_time_ + period * scaling_factor_;
#endif
// RCLCPP_INFO(get_node()->get_logger(), "Elapsed trajectory time: %f. Scaling factor: %f, period: %f",
Expand Down

0 comments on commit 1aeba6e

Please sign in to comment.