ros / joint_state_publisher

http://wiki.ros.org/joint_state_publisher
50 stars 81 forks source link

[kinetic] Set source_update_cb attr before creating subscribers #41

Closed sloretz closed 4 years ago

sloretz commented 4 years ago

Fixes #36. It's possible for a subscriber to receive their first message and call the callback prior to self.source_update_cb existing. This PR creates the attribute before the subscribers.

clalancette commented 4 years ago

I think we'll also need the same fix on the noetic-devel branch.