Go to Post theres no such thing as the best robot...cuz every robot is the best :D - [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 07-08-2016, 23:49
NetArcX NetArcX is offline
Registered User
FRC #1816 ("The Green Machine")
 
Join Date: Jun 2015
Rookie Year: 2014
Location: Edina, Minnesota
Posts: 6
NetArcX is an unknown quantity at this point
Serial Communication (Java)

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 ?
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 09:30.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi