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

How to check versions of ros_lib messages and messages installed with ROS #552

Closed elgarbe closed 3 years ago

elgarbe commented 3 years ago

Hi, I have a working setup using stm32f722 and ubuntu 18.04 (ros melodic). I use 921600 bps and 4096bytes for buffers and DMA channels, it works really good! On the STM side I get ros_lib folder from an old project, I don't remember how do I get it. Now I'm trying to use the same firmware with a raspberry pi and ubuntu 16.04 (ros kinetic), but I get the error "wrong checksum for topic id and msg" This error appear after my board and Raspberry exchange topics, I mean, I get the correct number/name of suscribers/publishers and then a lot of that error. Again, the same stm32 board/firmware connected to a raspberry pi with ubuntu 18.04 works ok.

So, I think my ros_lib folder on stm32 firmware is not compatible with ros kinetic. I would like to confirm that.

The next question will be how to obtain the correct ros_lib folder compatible with kinetic.

Thank!

elgarbe commented 3 years ago

I'm sorry, it was no a version problem. It's related to serial channel. Test 1: Raspberry pi 2 + ubuntu 18.04 + ros melodic. Works without problem at 921600bps Test 2: Raspberry pi 3b+ ubuntu 16.04 + ros kinetic. Complain with "wrong checksum for topic id and msg". at 921600. At 115200bps it works ok. Both raspberry connected directly to GPIO uart. I will try with a fresh ubuntu 16 on pi3 and see what happend.

thanks