Skip to content

Commit

Permalink
removed duplicated previous_publish_timestamp_ increment by publish_p…
Browse files Browse the repository at this point in the history
…eriod_ in diff_drive_controller.cpp (#644) (#777)

Co-authored-by: Jules CARPENTIER <[email protected]>
(cherry picked from commit 77420cb)

Co-authored-by: julescarpentier <[email protected]>
  • Loading branch information
mergify[bot] and julescarpentier authored Sep 15, 2023
1 parent a58243b commit 4906645
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions diff_drive_controller/src/diff_drive_controller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,6 @@ controller_interface::return_type DiffDriveController::update(

if (should_publish)
{
previous_publish_timestamp_ += publish_period_;

if (realtime_odometry_publisher_->trylock())
{
auto & odometry_message = realtime_odometry_publisher_->msg_;
Expand Down

0 comments on commit 4906645

Please sign in to comment.