Closed BryanStuurman closed 10 months ago
Please do!
On Tue, 30 May 2023, 00:51 Bryan Stuurman, @.***> wrote:
I have a robot that, when it encounters an error condition (such as e-stop), it continually asserts reset_controllers=True on the controller manager update() method. This triggers a call to the joint state controllers starting() method which re-initializes the last_publishtime variable, effectively preventing the joint state controller update() method from ever publishing joint states.
I have built a quick fix to initialise last_publishtime once per joint state controller instantiation, found here: noetic-devel...BryanStuurman:ros_controllers:fix-jsc-reset-publish https://github.com/ros-controls/ros_controllers/compare/noetic-devel...BryanStuurman:ros_controllers:fix-jsc-reset-publish
and I would be happy to submit a PR if the community so desires.
— Reply to this email directly, view it on GitHub https://github.com/ros-controls/ros_controllers/issues/616, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA24PYLLSRWIITGXGJPVG3TXIUY7BANCNFSM6AAAAAAYTILEEY . You are receiving this because you are subscribed to this thread.Message ID: @.***>
pr #617 merged, issue closed.
I have a robot that, when it encounters an error condition (such as e-stop), it continually asserts reset_controllers=True on the controller manager update() method. This triggers a call to the joint state controllers starting() method which re-initializes the last_publishtime variable, effectively preventing the joint state controller update() method from ever publishing joint states.
I have built a quick fix to initialise last_publishtime once per joint state controller instantiation, found here: https://github.com/ros-controls/ros_controllers/compare/noetic-devel...BryanStuurman:ros_controllers:fix-jsc-reset-publish
and I would be happy to submit a PR if the community so desires.