We have defined a couple of common datatypes and already implemented SICMessage-extended classes for thoseThe SIC framework includes a number of predefined extended subclasses for common data types. This allows for inheritance. Please Make sure to use or extend those these classes if the datatype data type you will be working with matches on one of the these pre-defined types.
The message messages can be found in https://bitbucketgithub.org/socialroboticshub/docker/src/v3/sic/siccom/Social-AI-VU/social-interaction-cloud/blob/main/sic_framework/core/datamessage_python2.py .
JPEGCompressedImageMessage
UncompressedImageMessage
AudioMessage
BoundingBoxesMessage
Message class name | Description of use |
---|---|
| Preferred way of sending any message containing an image. Uses lossy JPEG compression on WxHx3 images. Non-image content will be destroyed by this compression. |
| Same as |
can be significantly slower. Only use this if the image data must be kept untouched. For example, if you want to send an array of depth values, because you don’t want those values to be changed (8cm might become 7.3cm with | |
| Preferred way of sending |
a message containing audio. The audio must |
contain pulse-code modulated (PCM) 16-bit signed integer waveform audio data. | |
| Preferred way of sending any message containing a list of |