-
Notifications
You must be signed in to change notification settings - Fork 8
Conversion of an UUID fails #19
Comments
This Error might also be a Bug/Error/intended Behaviour caused by ROS. On this site ROS (or more specific 'rospy') describes how it converts specific datatypes into Python-Data-Types. If you take a look at the Array-Handling, Surprisingly So a quick fix would be to avoid |
The new ObjectConverter now handles such cases. Keep in mind that this is just a construct on top which handles This can easily break, if ROS decides to convert it differently into e.g. Int's (or any other construct you can imagine). |
Pulled from the development branch the new version. It works and updates to OCB the uuids as promised (thank you for the quick bugfix), but it still prints the ROS_ERROR. |
The submodule wasn't added properly in the last commit. With your bag i am able to send the Message to the Contextbroker. I could not find any specific ROS_ERROR. Can you give me some more details? |
Hello Luxxi! int8[16] is larger than string when converted to OCB? Many thanks, |
Hi @marija185, Yes, this can happen. In your case: The Here an example of the array, where each value is wrapped:
And here the String version:
The payload size of the OCB should now be customizable. If you are experiencing that your messages are slightly to large, you could increase the limit. |
Hello @Luxxii ! |
Hello again @marija185, There is a slightly better representation of arrays in FIWARE-Entities, which i found: #1 (comment) But i cannot guarantee, that we implement this without more documentation about this.. Best regards, |
Oho! Thanks! That means int8[16] could be compressed too in the future. |
We are facing an error of the conversion of UUIDs... this relates to the FiwareObjectConverter from my point of view but needs to be verified and fixed. If you need the messages, let me know.
here is the ROS message from the rostopic echo
The text was updated successfully, but these errors were encountered: