Skip to content

Commit 50a7b04

Browse files
authored
Added comment
1 parent f53bb71 commit 50a7b04

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ur_controllers/src/passthrough_trajectory_controller.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,7 @@ controller_interface::return_type PassthroughTrajectoryController::update(const
331331
#if RCLCPP_VERSION_MAJOR >= 17
332332
active_trajectory_elapsed_time_ += period * scaling_factor_;
333333
#else
334+
// This is kept for Humble compatibility
334335
active_trajectory_elapsed_time_ = active_trajectory_elapsed_time_ + period * scaling_factor_;
335336
#endif
336337
// RCLCPP_INFO(get_node()->get_logger(), "Elapsed trajectory time: %f. Scaling factor: %f, period: %f",

0 commit comments

Comments
 (0)