setting up rosserial_arduino for nucleo board F103RB

asked 2021-04-20 04:14:28 -0500

pariamog gravatar image

Hello there, I am using this board (https://www.st.com/en/evaluation-tool...) and have been using vscode + platform IO IDE to code in Arduino configuration (successfully works ie Blinky example) I am using the USB port to upload my code on the nucleo board. I am using Jetson-xavier with ROS melodic for my high-level PC and I want to create a rosserial communication with the nucleo board by setting up UART communication using USB TTL UART adapter. currently the wiring is like this:

RX/D0 (on nucleo) -----> TXD on converter

TX/D1 (on nucleo) -----> RXD on converter

connected to xavier via USB

However when I run a simple Hello world publisher example mentioned in ROS tutorials I get the following error :

: Unable to sync with device; possible link problem or link software version mismatch such as hydro rosserial_python with groovy Arduino

it would be great to get some help on how to set up correct rosserial_arduino with nucloe f103rb boards :) I have already set up rosserial_arduino and rosserial_python on Xavier and included the ros_lib in the library directory of the arduino code uploaded on nucleo board

edit retag flag offensive close merge delete