ros-drivers / rosserial

A ROS client library for small, embedded devices, such as Arduino. See: http://wiki.ros.org/rosserial
508 stars 527 forks source link

Creation of subscriber failed: Checksum does not match #592

Closed Schteve-Earl closed 1 year ago

Schteve-Earl commented 1 year ago

I'm attempting to create a custom message and transmit it to an Arduino, as per the rosserial_client tutorials. I've generated my message headers by running the "make libraries" command in the rosserial_client, and I am able to compile/upload a sketch in the Arduino IDE using my custom message. However, the serial_node crashes with this error: image I'm running Ros Noetic, is error occurs when using the rosserial binaries and when building from source. Has anybody seen this issue before, and is there a solution for this?

Schteve-Earl commented 1 year ago

I switched from using an Arduino Uno to an Arduino Mega, and the situation resolved itself. I encountered the same error when using std_msgs::Float32MultiArray and the Arduino compiler gave me a warning stating that I was using 85% of the Uno's dynamic memory. So, as of now, the working solution is to get a board with more horsepower if you receive this error.