Defining message types directly in Python
I'm writing a Python script to synthesize a rosbag from data files generated outside of ROS.
It would be easiest to be able to define the ROS message types within my Python code, rather than have to write standalone .msg
definition files and re-generate them over and over again as I iterate on the script.
What would this entail? I'm fine with importing from genmsg
or genpy
.