Ask Your Question

Revision history [back]

All you need to do is convert your numpy array to a python list and assign it to your message.action. This means replace the line ThrustArray = Thrust with (as you tried before) ThrustArray.action = list(Thrust). This should do the trick. This works since you know, that Thrust is a 1D array making the numpy-array to list conversion rather easy.