Skip to content
Advertisement

Tag: publish-subscribe

Get ros message type at runtime

I’m hoping to have a config file loaded in via rosparam that includes the type for a generic callback to subscribe to. Right now this is what I have but can’t figure out how to make it work with the subscriber. Answer In Python you can use globals to lookup and return the message type from a string

Advertisement