Skip to content

Commit f795b62

Browse files
Update diff_drive_controller/src/diff_drive_controller.cpp get_clock()->now() to ->now()
Co-authored-by: Sai Kishor Kothakota <[email protected]>
1 parent 794b77c commit f795b62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

diff_drive_controller/src/diff_drive_controller.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ controller_interface::CallbackReturn DiffDriveController::on_configure(
439439
get_node()->get_logger(),
440440
"Received TwistStamped with zero timestamp, setting it to current "
441441
"time, this message will only be shown once");
442-
msg->header.stamp = get_node()->get_clock()->now();
442+
msg->header.stamp = get_node()->now();
443443
}
444444

445445
const auto current_time_diff = get_node()->now() - msg->header.stamp;

0 commit comments

Comments
 (0)