Ask Your Question

Revision history [back]

You already cite the correct wiki page about the purpose of std_msgs.

For integer/float values, there are the MultiArray messages, which could suite your needs for numbers. For strings, you either have to create a new custom message, or wriggle your way through something like adding a seperator between all users concatenated into a single string...

In short: There is no way to create a message type to be sent over ROS or written to the bag file without properly creating a .msg file. This is required for creation of the language specific representations, such that you can #include or import them.