ros-controls / ros_controllers

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

Fix joint state controller exception starting with 0 time #629

Closed 01binary closed 7 months ago

01binary commented 9 months ago

Fixes #628, crash in joint state controller when given start time less than the publish interval.

Reproduction steps:

Testing

I haven't updated unit tests for joint state controller yet, but the functionality was tested and appears to work:

01binary commented 7 months ago

This is now a duplicate of #630 . I failed to get unit tests passing, and the issue has been solved in the other PR.