ROS2 how do you publish an int array as a message in python? I get vague "raise TypeError()" when i try
I want to publish 3 ints as a message but i'm getting this vague error that I'm not sure how to solve this.
This is the relevant bit of my code:
self.publisher = self.create_publisher(
Int32,
'wheel_settings',
10)
#test publishing wheel settings
self.publisher.publish([1, 1, 1])
Error: "raise TypeError()"
How do I fix this? P