Skip to content

Commit

Permalink
pass current_time to the trigger_update method
Browse files Browse the repository at this point in the history
  • Loading branch information
saikishor committed Nov 17, 2024
1 parent 9e45ce0 commit 62f5832
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controller_manager/src/controller_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2401,7 +2401,7 @@ controller_interface::return_type ControllerManager::update(
try
{
const auto trigger_result =
loaded_controller.c->trigger_update(time, controller_actual_period);
loaded_controller.c->trigger_update(current_time, controller_actual_period);
trigger_status = trigger_result.ok;
controller_ret = trigger_result.result;
if (trigger_status && trigger_result.execution_time.has_value())
Expand Down

0 comments on commit 62f5832

Please sign in to comment.