how can I make a custom msg struct to publish?
i have a script that publishes a lot of system information like battery voltage/current, sysstem status, and isready all in all i have 13 different parameters im publishing. what i want is to tie all that data into a single sturct and only publish once.
for example something live geometry msgs odom msg, you know how it has like msg.pose.pose.x i want something similar like msg.data1.data