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

Revision history [back]

Your device is probably segfaulting and keeps rebooting. The reason probably is that you are writing to unallocated memory when accessing the data slot of your message. You need to set the data slot to a pointer to allocated memory before you write the message and publish it. Have a look at this page for more information on how to use arrays in rosserial.