compas-dev / compas_fab

Robotic fabrication package for the COMPAS Framework.
https://compas.dev/compas_fab/
MIT License
108 stars 32 forks source link

Re-advertise topic if the ros client has changed #369

Closed gonzalocasas closed 1 year ago

gonzalocasas commented 1 year ago

If the ros client of a topic instance changes in Grasshopper, for example, if a new ROS connect component is connected to it, it needs to detect the instance is not the same and re-start the advertise operation before publishing.

This was found by @kunaalchadha and we tested the fix on his machine.

What type of change is this?

Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.