Go to Post The minibot horse is dead. Stop trying to beat it. Glue is too cheap. - Taylor [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
  #7   Spotlight this post!  
Unread 13-01-2015, 08:07
slibert slibert is offline
Software Mentor
AKA: Scott Libert
FRC #2465 (Kauaibots)
Team Role: Mentor
 
Join Date: Oct 2011
Rookie Year: 2005
Location: Kauai, Hawaii
Posts: 350
slibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud of
Re: Help with RoboRio Serial Ports -

Quote:
Originally Posted by razorgator View Post
We are also trying to get the Nav6 to run on the RoboRio using C++. We originally tried going from Nav6 to a USB input on the RoboRio (changing the initialization of the serial port to kUSB). We didn't have any luck with that approach. However, perhaps that was to be expected. I see that there is a note on the Kauai Labs website that suggests using a USB-serial cable with FTDI or Prolific chipsets. The cable we used did not have either of those.

We have moved to trying to communicate with the Nav6 via the RS-232 port onboard the RoboRio. Until this evening, we were getting messages while our code was running on the RoboRio suggesting that there was an issue with our use of SerialPort.h. While we did change the initialization parameter to kOnboard, we had not disabled the console out. When we disabled that, the messages went away. However, we are still unable to receive information from the Nav6. For testing purposes, we are just calling the GetYaw function and attempting to display it on the SmartDashboard. At the moment, no value is displayed.

Thanks for everyone's input this far. Any other suggestions are welcome!
The Trendnet TU-S9 USB serial adapter works on the roborio, that's the easiest integration method from a wiring perspective. There are some additional troubleshooting tips on the nav6 wiki. This has been tested with C++.

For RS-232, check your wiring. TX on the nav6 side connects to RX on the roborio side, and vice versa. And you have to connect GND on the nav6 to GND on the roborio's RS-232 connector.

To be sure the nav6 is sending data, look at the green TX led on the nav6 circuit board.
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 14:40.

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