sending messages containing not predefined types
Hello everyone.
I took a look at how custom messages can be designed in ROS and I realized that they can just include fields of predefined types (for instance, integers and strings).
Instead, I have two active nodes needing to communicate with each other. One of them, produces a list of objects belonging to a class that I have defined. This list should be sent to the other node but I guess it's not possible using standard ROS messages.
Could you suggest a way to bypass the problem, maybe using possible definitions of ROS messages?
Thanks for help.