uzh-rpg / rpg_dvs_ros

ROS packages for DVS
MIT License
300 stars 155 forks source link

Fix event message construction for compatibility with nodelets #136

Open AdamGoertz opened 2 years ago

AdamGoertz commented 2 years ago

When publishing a ConstPtr type message using no-copy communication, the message cannot be modified after publishing. This commit fixes an issue where 'clear' was being called on the contents of the event message immediately after publishing, which caused nodelets running in the same manager to receive empty event messages.