Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 84

Define a custom message type for .msg files

$
0
0
Hey so my problem is that I need a custom format for msgs which I have no idea how to do with ROS. The problem is that I have a really complex dynamic format and I would basically need a serialize() and deserialize() or something along those lines where I can define how to serialize and deserialize the msg. The main problem is that its changing during runtime and I found no way to do that with ros yet. I have values similar to this I need to send in the message: message Variant { oneof value { int64 int_value = 3; double double_value = 4; bool bool_value = 5; string string_value = 6; } }

Viewing all articles
Browse latest Browse all 84

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>