Support rosbridge Fragmentation

This issue has been tracked since 2022-08-01.

The rosbridge protocol provides the ability to fragment messages. This feature doesn't appear to be present in roslibjs.

Is there any plans to implement this? If not, is there some direction that can be provided in terms of getting this implemented?

For full context, I'm interested in using fragmentation in Foxglove, but they explained that they use roslibjs to handle this so such an update would have to occur here.

MatthijsBurgh wrote this answer on 2022-08-16

I am open to supporting this feature.

Though I do not have the time to implement this. So when you want to implement this, I am willing to assist where I can. But the bulk should be done by you (or someone else).

Rayman wrote this answer on 2022-08-22

Probably adding code to

onmessage: function onMessage(data) {
to store fragments and assemble them, and recalling onmessage with the full message.

Make sure it works with and without compression.

More Details About Repo
Owner Name RobotWebTools
Repo Name roslibjs
Full Name RobotWebTools/roslibjs
Language JavaScript
Created Date 2013-03-15
Updated Date 2022-11-22
Star Count 549
Watcher Count 54
Fork Count 340
Issue Count 66

YOU MAY BE INTERESTED

Issue Title Created Date Updated Date