unable to read the data from micro controller on ROS [closed]
I want to send the data from my robot to ROS over UART, I tried using rosserial but was uncessful, then I tried using the code mentioned in the below link but still I face some problems.
I am using the code as mentioned in the link: (answers.ros.org/question/10114/how-can-ros-communicate-with-my-microcontroller/)
The controller I am using is a 32-bit ARM Controller which sends data over UART to PC (ROS running on Linux) over ttyUSB0 for every 100ms, but I can not see any received data from micro controller on PC, the entire "ucResponse" buffer is only with zero's. I have checked that the data from micro-controller is coming properly out.
Can any one has any idea what is going wrong..?
Thanks in advance
Not sure if it is still relevant to you! but did you check your uc baud rate?