Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   C/C++ (http://www.chiefdelphi.com/forums/forumdisplay.php?f=183)
-   -   Serial C++ Docs (http://www.chiefdelphi.com/forums/showthread.php?t=100524)

mikegrundvig 17-01-2012 22:06

Serial C++ Docs
 
Ok, I'm trying to help the students work on the C++ code for the robot and am getting my head around the build/deploy process. The students had a HORRIBLE time getting it working initially for a variety of reasons and we are still not there yet but close. I'm trying to plan 2 steps ahead - where can I find documentation about what we can do with C++ on the robot outside of the WPI robot library docs? For instance, we are likely to need serial communication working and the WPI docs have nothing. We could use native C code but we need documentation on what's available on the cRIO. Where is this available? Thanks!

-Mike

mikegrundvig 18-01-2012 10:38

Re: Serial C++ Docs
 
While it's not the platform C++ docs, the WPI API docs have enough info for serial communication. Here they are:
http://firstforge.wpi.edu/sf/go/doc1198?nav=1

jwakeman 18-01-2012 17:09

Re: Serial C++ Docs
 
You probably will not need to interface with any device that is not covered by the WPILib. If you want to get ahead I would focus on understanding WPILib and the classes/interfaces it exposes.

Link to the relevant documents (You might need to create an account):
http://firstforge.wpi.edu/sf/docman/..._documentation

Relevant Docs:
Quote:

2012 WPILib Cookbook
WPI Robotics Library Users Guide
C++ Getting Started Guide

Tommy.Brown 26-01-2012 00:36

Re: Serial C++ Docs
 
Yes, WPILib does support Serial communication, take a look at SerialPort.cpp and SerialPort.h

I know that the cRIO can handle many of the basic C++ functions, such as the variety of string methods, and it is fully compatible with math.h.


All times are GMT -5. The time now is 17:39.

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