You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The MessageStore proxy can't recreate ROS messages when they include a list of ROS types. For example, trying to store a geometry_msgs/Polygon fails because it containts a list of Point32:
geometry_msgs/Polygon tabletop
geometry_msgs/Point32[] points
float32 x
float32 y
float32 z
The message is stored ok in the database, but when recreated the points list is created as a list of python dictionaries not a list of ROS messages.
The problem is in util.py, line 150, only dicitionaries are expanded into the message. We need something like:
finding the type of the message that should be in the list could be done by looking at the _slot_types field of the message class, but then primitive types - eg. list of ints - would need special attention....
The text was updated successfully, but these errors were encountered:
The MessageStore proxy can't recreate ROS messages when they include a list of ROS types. For example, trying to store a geometry_msgs/Polygon fails because it containts a list of Point32:
The message is stored ok in the database, but when recreated the points list is created as a list of python dictionaries not a list of ROS messages.
The problem is in util.py, line 150, only dicitionaries are expanded into the message. We need something like:
finding the type of the message that should be in the list could be done by looking at the _slot_types field of the message class, but then primitive types - eg. list of ints - would need special attention....
The text was updated successfully, but these errors were encountered: