TrickfireRobotics / mission-control

The mission control user interface for "Viator" for the University Rover Challenge
1 stars 2 forks source link

Transport communications over CBOR instead of JSON #23

Closed uellenberg closed 1 month ago

uellenberg commented 1 month ago

CBOR is more efficient than JSON, and moving over to it automatically encodes images in binary rather than base64, which should reduce bandwidth usage by ~30%. Currently roslibjs doesn't support cbor for sending messages, although we could probably implement it if needed. I suspect most of the data is coming from the rover and not the other way around, though.