We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
get_clock()->now()
->now()
1 parent 794b77c commit f795b62Copy full SHA for f795b62
diff_drive_controller/src/diff_drive_controller.cpp
@@ -439,7 +439,7 @@ controller_interface::CallbackReturn DiffDriveController::on_configure(
439
get_node()->get_logger(),
440
"Received TwistStamped with zero timestamp, setting it to current "
441
"time, this message will only be shown once");
442
- msg->header.stamp = get_node()->get_clock()->now();
+ msg->header.stamp = get_node()->now();
443
}
444
445
const auto current_time_diff = get_node()->now() - msg->header.stamp;
0 commit comments