ros-controls / ros_controllers

Generic robotic controllers to accompany ros_control
http://wiki.ros.org/ros_control
BSD 3-Clause "New" or "Revised" License
547 stars 524 forks source link

add flag controlling init of last_publish_time_ #617

Closed BryanStuurman closed 8 months ago

BryanStuurman commented 1 year ago

This PR fixes the no publish during reset bug identified in issue 616 (https://github.com/ros-controls/ros_controllers/issues/616)

BryanStuurman commented 1 year ago

~~actually, and this is embarrassing, can we add a missing line of code? Line 93 of joint_state_controller.cpp, insert pub_time_initialized_ = true;~~ Thanks gavanderhoorn, I got this committed.

gavanderhoorn commented 1 year ago

You can amend the PR by pushing new commits to the same branch.