ammarhusain / ros-protobuf-bridge

24 stars 9 forks source link

Deserialization Failed #4

Open Gabriel-Lv258 opened 2 years ago

Gabriel-Lv258 commented 2 years ago

Screenshot from 2022-01-05 09-40-26

Why i get the issue ? any mistake i made ? Could you please give some comments? Thank you.

@ammarhusain

ammarhusain commented 2 years ago

This is because Protobuf is unable to parse the byte string it is receiving: https://developers.google.com/protocol-buffers/docs/pythontutorial

Are you sure you are publishing the right messages?

Gabriel-Lv258 commented 2 years ago

This is because Protobuf is unable to parse the byte string it is receiving: https://developers.google.com/protocol-buffers/docs/pythontutorial

Are you sure you are publishing the right messages?

Thank you for your feedback. I just download the catkin branch and do the catkin_make, do you mean i need to do some modification on the src/pub.cpp and sub.cpp ? Could you please check the below screenshots and give me some comments ?

Screenshot from 2022-01-05 14-04-52

ammarhusain commented 2 years ago

What is the FooBar proto message? I do not believe that is part of the example in my library

On Tue, Jan 4, 2022 at 6:06 PM Gabriel-Lv258 @.***> wrote:

[image: Screenshot from 2022-01-05 09-40-26] https://user-images.githubusercontent.com/81613431/148149141-1f5ed879-8f67-4ba6-963f-1f1f4ce70879.png

Why i get the issue ? any mistake i made ? Could you please give some comments? Thank you.

@ammarhusain https://github.com/ammarhusain

— Reply to this email directly, view it on GitHub https://github.com/ammarhusain/ros-protobuf-bridge/issues/4, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABANKUR5XDBARWNN7WQGCTDUUORQ7ANCNFSM5LIZQR4A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you were mentioned.Message ID: @.***>

Gabriel-Lv258 commented 2 years ago

What is the FooBar proto message? I do not believe that is part of the example in my library On Tue, Jan 4, 2022 at 6:06 PM Gabriel-Lv258 @.> wrote: [image: Screenshot from 2022-01-05 09-40-26] https://user-images.githubusercontent.com/81613431/148149141-1f5ed879-8f67-4ba6-963f-1f1f4ce70879.png Why i get the issue ? any mistake i made ? Could you please give some comments? Thank you. @ammarhusain https://github.com/ammarhusain — Reply to this email directly, view it on GitHub <#4>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABANKUR5XDBARWNN7WQGCTDUUORQ7ANCNFSM5LIZQR4A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you were mentioned.Message ID: @.>

The screenshot which i attached in previous was from the Catkin branch, i also confirmed the master branch, i got the same error 'Deserialization failed' when i run the ./sub as shown below. Please correct me if some mistake that i made. Appreciate for your help.

Screenshot from 2022-01-09 09-30-21

Screenshot from 2022-01-09 14-46-42