NetArcX
07-08-2016, 23:49
My team is currently working on getting a new on-board computer for vision tracking working with our robot. We wanted to get two way communication between both the rio and the on-board computer. The obvious choice for us was serial communication. We are currently using robo-realm vision tracking which conveniently has a built in serial output. Also we want to stay far away from Network tables because it does not work as consistently as we would like, and we want to save the extra Ethernet port on the bridge.
We currently have
A USB to UART cable from adafruit (https://www.adafruit.com/product/954)
turned off console out in the robo rio
have the baud rate from the on-board computer the same as the baud rate on the rio
have the Tx and the Rx ports swapped for communication between the two
The issues we are currently having is that when we try to read the serial in the robot we get strange mix of characters that always starts with [@. and never seems to match up with the output from the on-board computer.
So overall my question is how to read the info coming into the RS-232 port on the Robo-Rio ?
We currently have
A USB to UART cable from adafruit (https://www.adafruit.com/product/954)
turned off console out in the robo rio
have the baud rate from the on-board computer the same as the baud rate on the rio
have the Tx and the Rx ports swapped for communication between the two
The issues we are currently having is that when we try to read the serial in the robot we get strange mix of characters that always starts with [@. and never seems to match up with the output from the on-board computer.
So overall my question is how to read the info coming into the RS-232 port on the Robo-Rio ?