Programming an FRC Robot Choosing a Language 1. INDEX The Programing Languages and their Environments The Three Major Enviroments Java with the NetBeans.

Slides:



Advertisements
Similar presentations
Java Workshop. Quick java review Goal: We want the application to tell us what the nth fibonacci number is. Components needed to achieve the goal: A Scanner.
Advertisements

Jeff Beltramo NHTI-Concord’s Community College FRC Team 1922.
2/18/2008ITK 1681 Feb. 20, Wed. 8:00 – 9:30 pm STV Closed book, notes, and no computer is allowed. 2.Everyone is allowed to bring a self- prepared.
US First Kickoff 2014 Software Programming (And Control System) Daniel Kohn University of Memphis.
28-OCT-09 BREAKOUT SESSION Team 3125 Programming/Electrical Subteams Cody Harris Technical Director.
OBJECT-ORIENTED PROGRAMMING CONCEPTS (Review). What is an Object? What is an Object? Objects have states and behaviors. Example: A dog has states - color,
©TheMcGraw-Hill Companies, Inc. Permission required for reproduction or display. COMPSCI 125 Introduction to Computer Science I.
CENG 161 Introduction to Computer Science Instructor: Dr. Nurdan SARAN Lab Assistant: Arzu Burçak Sönmez.
Getting Ready for Java. What is Java? Java is a programming language: a language that you can learn to write, and the computer can be made to understand.
Data Abstraction and Object- Oriented Programming CS351 – Programming Paradigms.
About the Presentations The presentations cover the objectives found in the opening of each chapter. All chapter objectives are listed in the beginning.
15-Jul-15 Getting Ready for Java. What is Java? Java is a programming language: a language that you can learn to write, and the computer can be made to.
Programming Part 1 Armond R. Smith Zhenying Wu. Overview of this Class ● Transition from FTC -> FRC ● Using Your Resources ● Java Keywords o Data Types.
PHY281Introduction to JavaSlide 1 Introduction to Java In this section we will learn how how to use Java and write our first Java Applet:  The Java Development.
2015 Control System New IDEs and CAN. Programming Languages Labview, C++, Java Labview remains basically the same C++ and Java now use Eclipse IDE You’ll.
ECLIPSE IDE N AME : A SHOK P ADMARAJU C OURSE : T OPICS ON S OFTWARE E NGINEERING I NSTRUCTOR : D R. S ERGIU D ASCALU.
Java Course Outline Kumar Harshit, USW. Course Description Teaches students to program using the Java programming language with the help of the Netbeans.
Driver Station MVRT 2009 – 2010 Season. Add information Breadboard Classmate PC USB Hub Joysticks Stop Button.
US First Kickoff 2013 Software Programming (And Control System) Daniel Kohn University of Memphis.
Abstraction, Inheritance, and Polymorphism in Java.
+ Java vs. Javascript Jessi Style. + Java Compiled Can stand on its own Written once, run anywhere Two-stage debugging Java is an Object Oriented Programming.
A First Program Using C#
Invitation to Computer Science 5th Edition
CSCI 224 Introduction to Java Programming. Course Objectives  Learn the Java programming language: Syntax, Idioms Patterns, Styles  Become comfortable.
M1G Introduction to Programming 2 4. Enhancing a class:Room.
FRC Java for Robotics Introduction Team 1279 ColdFusion January 8, 2011.
The NetBeans IDE CSIS 3701: Advanced Object Oriented Programming.
Using Visual Basic 6.0 to Create Web-Based Database Applications
Java The Beginning. Why Java?  Currently, this is the language of the international AP course which runs Feb-Apr  FREE!  Platform-independent  Simple.
Programming Languages: Scratch Intro to Scratch. Lower level versus high level Clearly, lower level languages can be tedious Higher level languages quickly.
Session One Introduction. Personal Introduction Role of programmers Robot Examination HUD & HID Uploading Code.
Object-Oriented Programming (OOP). Implementing an OOD in Java Each class is stored in a separate file. All files must be stored in the same package.
INTRODUCTION TO JAVA AND ANDROID. Slide 2 Our Ecosystem Java Eclipse Android SDK.
POS 406 Java Technology And Beginning Java Code
1 3. Computing System Fundamentals 3.1 Language Translators.
JCreator Tonga Institute of Higher Education. Programming with the command line and notepad is difficult. DOS disadvantages  User Interface (UI) is not.
CIT 590 Intro to Programming First lecture on Java.
Computer Programs and Programming Languages What are low-level languages and high-level languages? High-level language Low-level language Machine-dependent.
Creating Projects in JCreator Computer Science 40S.
Eclipse. An IDE is an Integrated Development Environment Different IDEs meet different needs BlueJ, DrJava are designed as teaching tools Emphasis is.
Eclipse 24-Apr-17.
Getting started with Programming using IDE. JAVA JAVA IS A PROGRAMMING LANGUAGE AND A PLATFORM. IT CAN BE USED TO DELIVER AND RUN HIGHLY INTERACTIVE DYNAMIC.
Applets Yong Choi School of Business CSU, Bakersfield.
The course. Description Computer systems programming using the C language – And possibly a little C++ Translation of C into assembly language Introduction.
Java Methods Methods contain a group of instructions that together perform a single task. For example if I want to perform the task of “making a pizza”,
Part III Robot Drive. Robot Main.vi The main body of your code: accesses all of the other programs in your project A big loop! Do not add any more loops.
OCR GCSE Computing © Hodder Education 2013 Slide 1 OCR GCSE Computing Python programming 1: Introduction.
Application Programming Interfaces. Java comes with a bunch of classes that are already written. Java comes with a bunch of classes that are already written.
Jon Cardwell Red Alert Robotics Team 1741 October 24, 2015.
Session 11 Intro to FRC API.
Java Example Presentation of a Language. Background Conception: Java began as a language for embedded processors in consumer electronics, such as VCR,
KING SAUD UNIVERSITY – COLLAGE OF COMPUTER AND INFORMATION SCIENCES CSC 113 JAVA ONLINE DOCUMENTATION.
PHP OOP WEB Technologies : PHP Programming Language.
Object Oriented Programming Criteria: P2 Date: 07/10/15 Name: Thomas Jazwinski.
INTRODUCTION TO JAVA AND ANDROID. Slide 2 Our Ecosystem Java Eclipse Android SDK.
Computer Science A 1. Course plan Introduction to programming Basic concepts of typical programming languages. Tools: compiler, editor, integrated editor,
Software Design– Unit Testing SIMPLE PRIMER ON Junit Junit is a free simple library that is added to Eclipse to all automated unit tests. The first step,
© Peter Andreae Java Programs COMP 102 # T1 Peter Andreae Computer Science Victoria University of Wellington.
Agenda For Feb PowerPoint Presentation on Java Methods. 3. Finish Happy Face Assignment (Due by the.
Execution ways of program References: www. en.wikipedia.org/wiki/Integrated_development_environment  You can execute or run a simple java program with.
Software Construction Lab 05 Abstraction, Inheritance, and Polymorphism in Java.
Programming 2 Intro to Java Machine code Assembly languages Fortran Basic Pascal Scheme CC++ Java LISP Smalltalk Smalltalk-80.
Introduction to Programming with Java Presented by.
1 Sections Java Virtual Machine and Byte Code Fundamentals of Java: AP Computer Science Essentials, 4th Edition Lambert / Osborne.
Lesson 2: First Java Programs. 2.1 Why Java? Java is one of the most popular programming languages in the world. Java is a modern object-oriented programming.
Debuggers. Errors in Computer Code Errors in computer programs are commonly known as bugs. Three types of errors in computer programs –Syntax errors –Runtime.
Java for Beginners University Greenwich Computing At School DASCO
Final Project of Computer Graphics
Fundamental of Java Programming
Java Online documentation
Presentation transcript:

Programming an FRC Robot Choosing a Language 1

INDEX The Programing Languages and their Environments The Three Major Enviroments Java with the NetBeans IDE C++ with the Windriver Workbench IDE Graphical Programming with the LabView IDE Pros and Cons for each Language Java C++ LabView Side-by-Side Comparisons Thanks 2

THE PROGRAMING LANGUAGES AND THEIR ENVIRONMENTS 3

There are three major programing environments available to FIRST Robotics Teams Java – NetBeans C++ - Windriver Workbench Graphical Programming - LabView 4

Java with the NetBeans IDE 5

Java Basic Structure package edu.wpi.first.wpilibj.templates; import edu.wpi.first.wpilibj.SimpleRobot; public class RobotTemplate extends SimpleRobot { //Declare Global Variables here public RobotTemplate(){ //Initialize Global Variables here } public void autonomous() { //Autonomous code goes here } public void operatorControl() { //Teleop code goes here } 6

Java IDE Interface 7

C++ with the Windriver Workbench IDE 8

C++ Basic Structure #include "WPILib.h" class RobotDemo : public SimpleRobot{ //Declaration of components go here public: RobotDemo(void): //Initialization of components goes here { //Startup routines go here } void Autonomous(void){ //Autonomous code goes here } void OperatorControl(void){ //Teleop code goes here } }; START_ROBOT_CLASS(RobotDemo); 9

C++ IDE Interface 10

Graphical Programming with the LabView IDE 11

LabView Basic Structure 12

LabView IDE Interface 13

LabView IDE Interface 14

LabView IDE Interface 15

PROS AND CONS FOR EACH LANGUAGE 16

Java Pros A well known language Many Resources Similar to C++ in style and syntax Fast Compiling Easier to pass references between functions Object-Oriented-Programming Text-Based language Structured/User Friendly Used in Computer Science Courses Cons Does not use the standard LabView Dashboard 17

C++ Pros A well known language Many Resources Similar to Java in style and syntax Fast Compiling Object-Oriented- Programming Text-based language Cons Requires a Windows PC Allows for free reign Less user-friendly 18

LabView Pros A well known language in the First FRC community Many Resources Graphical Popular with First Teams Cons Hard to navigate in the functions menu Requires Windows PC 19

Side-by-Side Comparisons Java Text-based Many Resources Available Syntax is similar to that of C++ Fast Compiling Object-Oriented- Programming Structured Easier to pass references C++ Text-based Syntax is similar to that of Java Fast Compiling Object-Oriented- Programming Many Resources Available Not Structured 20

Side-by-Side Comparisons LabView Graphical Hard to locate specific functions Popular with First Teams Well Documented C++ Text-based Syntax is similar to that of Java Fast Compiling Object-Oriented- Programming Many Resources Available Not Structured 21

Side-by-Side Comparisons LabView Graphical Hard to locate specific functions Popular with First Teams Well Documented Java Text-based Many Resources Available Syntax is similar to that of C++ Fast Compiling Object-Oriented- Programming Structured Easier to pass references 22

Thanks to Team 1279 ColdFusion The Chief Delphi Community The WPI Robotics Libraries Sample Programs Provided by First For providing information that was used in this presentation 23