Go to Post No way thats Dean... he didn't give an hour long speech :p - AndyB [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
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 01-12-2015, 09:44 AM
dougwilliams's Avatar
dougwilliams dougwilliams is offline
Engineer - Controls, Electronics
FRC #2053 (TigerTronics)
Team Role: Mentor
 
Join Date: May 2013
Rookie Year: 2013
Location: Vestal, NY
Posts: 109
dougwilliams is on a distinguished road
Question Help with RoboRio Serial Ports -

We are integrating a NAV6 IMU with the RoboRIO and had it working fine over USB (with USB/RS232 converter), and tried to go direct to the RoboRio RS232 port. We keep getting errors when running - similar to what we had with the USB port before we correctly passed the port (SerialPort::kUSB). We have swapped that out with SerialPort::kOnboard, but still have no luck. We tried swapping the TX/RX wires, but the RoboRIO choked after that, so we went back to the original which seemed more promising.

What should we see in the RoboRIO web page - we always seem to see two ports, but both are stuck at 9600. In the LIDAR thread someone mentiones something about the "main" I2C port not working, but the MXP one does, and I'm wondering if there is a setting somewhere that is steering logical ports to either the "On Board" ports vs the MXP ports.

Our code and most relevant setup file for serial comms is here:
https://github.com/team2053tigertron...r/FODRobot2015

Related side question 1: Where is the latest "official" downloadable source for the WPILib? I see a few repositories, but nothing I can discern as latest/official, etc. (So I can browse the functions and make sure we are using them right).

Related side question 2: Are there any links to Beta teams who used C++, and posted their code somewhere? I have only found one or two, but none that used the serial port...
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:56 AM.

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