|
Re: Help with RoboRio Serial Ports -
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!
|