ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

came across similar problem.

I think it is because python int is 64bit and you are putting it in a array of uint8.

try np.array([1,2]).astype(np.uint8)