ros-drivers / rosserial

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

Check ROS message for BAUDRATE #440

Open theo574 opened 5 years ago

theo574 commented 5 years ago

Hi!

I'm new with ROS and I ask sorry if mine is stupid question. I'm using rosserial for publish via serial an Int16 from Arduino sketch running on STM32 F767ZI and send, via serial, another Int16 from computer to STM32. I need to check topic message dimension for set correct baud rate, I'm sorry on google i not found something for me, really I've not understood with precision what ROS put in one message.

romainreignier commented 5 years ago

Hi, I don't really understand your issue. The rosserial protocol is defined here: https://wiki.ros.org/rosserial/Overview/Protocol For the message data, it uses the classic ROS serialization.

theo574 commented 5 years ago

Hi! Thank you! I haven't found this page before. I'm again sorry, for sure, if i have to transmit only one Int16, the length of my message is 10 bytes?