View Single Post
  #6   Spotlight this post!  
Unread 26-02-2016, 09:46
MamaSpoldi's Avatar
MamaSpoldi MamaSpoldi is offline
Programming Mentor
AKA: Laura Spoldi
FRC #0230 (Gaelhawks)
Team Role: Engineer
 
Join Date: Jan 2009
Rookie Year: 2007
Location: Shelton, CT
Posts: 305
MamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant future
Re: Mentor seeking advice.

Quote:
Originally Posted by rich2202 View Post
Pick one language: Labview, Java, C++

This will tell you about the Control System
https://wpilib.screenstepslive.com/s/4485

Eventually you will want to get to the libraries that have routines already written to access the major components. The following is the C++ library.
http://first.wpi.edu/FRC/roborio/rel...annotated.html

Somewhere, there is Sample Robot that has the basics structure.
http://wpilib.screenstepslive.com/s/...g-a-base-class

I believe the order the functions are called are:

RobotInit
AutonomousInit
AutonomousPeriodic (called repeatedly during Autonomous)
TeleopInit
TeleopPeriodic (called repeatedly during Teleop)

those are the main ones we use, but there are others:
http://users.wpi.edu/~bamiller/WPIRo...ive_robot.html
Agreed you should pick one language and work with that... at least while you are on the initial learning curve. Many good references are noted here... but there is one issue I wanted to point. The functions listed there are only defined when using the IterativeRobot base class. There are different/additional functions defined for the SampleRobot and CommandBasedRobot base classes.
__________________
Reply With Quote