rosbridge v2 msg format and subscriber callback in csharp
With the help of the code provided here: RosBrigde client for windows in C# I managed to communicate with winros's tcp_server from my external program and subscribe to a topic. When I try to receive the topic data I face two problems:
- I receive a string formatted as: "topic: ... msg: {data: ...} op: ..." How do I manage to retrieve the data value of the string? my message as I have created it consists of a class with three string variables, but that doesn't seem to work
- I receive only one string and then the call back times out. I have put the code inside a loop but no results
Thank you for any help.