ROSBridge : How are data arrays represented and sent via JSON?
If I send a uint8[] array with 1 byte of data (of value 0x00) over ROSBridge, I receive the string "AA==" on the client end.
How does ROSbridge handle the conversion of byte arrays to strings? How can I retrieve my original data of 0x00?
I don't know how exactly rosbridge handles the data, but since the websockets are used, the memory spaces of payload and trailer are allocated. With websockets data is sent in between 0x00 and 0xFF in a packet. You can examine the rosbridge_library codes to see the conversion.