100 likes | 238 Views
Programming. Progamz pls. Importance. VERY IMPORTANT. Language. Java (For our team) cRIO Java ME. But how…?. Programming: WPILibJ API for FRC ( http://lcec.us/javadoc/ ) Application Programming Interface Deploying Netbeans Eclipse. Tracking. Several options: On Board tracking
E N D
Programming Progamz pls
Importance VERY IMPORTANT
Language • Java (For our team) • cRIO • Java ME
But how…? • Programming: • WPILibJ • API for FRC (http://lcec.us/javadoc/) • Application Programming Interface • Deploying • Netbeans • Eclipse
Tracking Several options: • On Board tracking • Various Methods on Board • Driver station tracking • JavaCV
Working in teams GitHub • Open source repository (Team 1923) • POWER
Basics of Java • Variables • private int x = 5 • Objects • Numero five = new Numero(5) • Methods • public static void main(string[] args){}
Parts of a method Method Name Return Type public static void main(String []args) { System.out.println(“This is a String”); } Parameters Visibility Static?
Review (http://lcec.us/javadoc/) 1) What are the parameters for the first constructor in the Gyro Class? 2) What is a class that could represent the Victor speed controller? The Jaguar? b) What method could be used to change or set the speed of a motor? (Victor or Jag) 3) Which class provided in the API is implemented to detect input from a controller? 4) What does API stand for? 5) What are the parameters (params) for the Joystick class? 6) Define UI. FINAL QUESTION What is the Difference between a “JoyfulStick” and a “BhavishStick”?
Some Helpful Links - http://www.learnjavaonline.org/ -http://eclipsetutorial.sourceforge.net/totalbeginner.html -http://docs.oracle.com/javase/tutorial/ (Oracle Docs) ^Simple Search^ -http://lcec.us/javadoc/ (FIRST API 2013)