facontidavide / ros_type_introspection

Deserialize ROS messages that are unknown at compilation time
MIT License
61 stars 30 forks source link

Bridging generic subscribers and publishers #42

Open ngiftsun opened 5 years ago

ngiftsun commented 5 years ago

Hello @facontidavide! I appreciate you for this useful library and tutorials which let me use your tool without any problem.

I'm trying to building a type agnostic bridge to publish a vector of subscribed topics of interest without disturbing the type of the subscribed message. I have problems to deserialize and move the subscribed data without knowing the type in advance to my publishers. FlatContainers are good but I would like to make my topic publications practically easier to use in other functional components.

  1. I see, I can get the datatype and definition of the subscribed topic but I'm not sure if the current development allows me to create a variant ros message that could adapt during the runtime?
  2. Is it possible to define a variant deserializer which adapts during the runtime?

Thanks.