RosJava - ByteMultiarray problem to create a publisher

asked 2017-08-22 16:41:08 -0600

barovehicles gravatar image

updated 2017-08-22 22:37:25 -0600

Ed Venator gravatar image

Hi Everyone.

I'm trying to send using a bytemultiarray few bytes. But the program in Android stop unexpectly when execute nuevo.setdata(eee).

std_msgs.ByteMultiArray nuevo = pubremotecontrol.newMessage();
ChannelBuffer eee= copiedBuffer(new byte[] {0x22,0x32,0x22,0x11});
nuevo.setData(eee);
pubremotecontrol.publish(nuevo);

Best Regards

edit retag flag offensive close merge delete