Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JSON Compression for point cloud #14

Open
Weimmer opened this issue Oct 24, 2019 · 3 comments
Open

JSON Compression for point cloud #14

Weimmer opened this issue Oct 24, 2019 · 3 comments

Comments

@Weimmer
Copy link

Weimmer commented Oct 24, 2019

Hi
i am doing the project with ROSBridgeLib, thanks a lot for the job what you have done.
i habe read the ROSBridge_suite that can compress the JSON to binary data, is there a way doing that with the ROSBridgeLib?
One more question, what is the different between ROSBridgeLib.cs and ROSBridgeMsg.cs this two files?
Thanks in advance.

@michaeljenkin
Copy link
Owner

michaeljenkin commented Oct 24, 2019 via email

@Weimmer
Copy link
Author

Weimmer commented Oct 25, 2019

Hi @michaeljenkin
binary communication is a new feature as me was told, i'd like to try add the CBOR with ROSBridgeLib, i am new to programming, could you give me some help to do it?

@rcodddow
Copy link
Collaborator

rcodddow commented Oct 28, 2019

you will need to modify the onMessage function in ROSBridgeWebSocketConnection.cs to detect when a CBOR encoded message is received and decode it. Once decoded the rest of the OnMessage function should handle the message as before

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants