facontidavide / ros_type_introspection

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

ROSTypeFlat::tree shall be moved to BuildROSTypeMapFromDefinition #15

Closed facontidavide closed 7 years ago

facontidavide commented 7 years ago

The StringTree inside ROSTypeFlat is updated every time the BuildRosFlatType is called. Actually it is unique for any kind of messagesm, therefore there is no reason to build it every time.

Move the creation of that StringTree into BuildROSTypeMapFromDefinition