Using C++ Programming a Robot

Programming a Robot Using C++

Philipp Schrader & Tom Brown October 27, 2012

Programming in FRC

Introduction Programming in FRC C++ Overview Why C++ in FRC?

First Steps What is programming? Source Control Windriver WPILib

Examples Simple Robot Drive with Joystick Sensors Simple Feedback Pneumatics Autonomous

Contact Information

The robot has mechanical systems and electrical hardware, but needs a program to tell it what to do

The program collects inputs from the drivers and sensors, and uses them to decide what motor output should be

Different programming "languages"

LabVIEW, C++, Java

Philipp Schrader & Tom Brown - October 27, 2012

C++ Overview

Introduction Programming in FRC C++ Overview Why C++ in FRC?

First Steps What is programming? Source Control Windriver WPILib

Examples Simple Robot Drive with Joystick Sensors Simple Feedback Pneumatics Autonomous

Contact Information

Invented in the 1980's Built as an extension on top of C Object-oriented programming language

Philipp Schrader & Tom Brown - October 27, 2012

Why C++ in FRC?

Introduction Programming in FRC C++ Overview Why C++ in FRC?

First Steps What is programming? Source Control Windriver WPILib

Examples Simple Robot Drive with Joystick Sensors Simple Feedback Pneumatics Autonomous

Contact Information

Powerful and fast language; used widely in industry

Steep learning curve, but after that development is fast

Programming tools are less complicated, smaller, faster than LabVIEW

Philipp Schrader & Tom Brown - October 27, 2012

What is programming?

Introduction Programming in FRC C++ Overview Why C++ in FRC?

First Steps What is programming? Source Control Windriver WPILib

Examples Simple Robot Drive with Joystick Sensors Simple Feedback Pneumatics Autonomous

Contact Information

Writing instructions for machines to perform a set of desired tasks

It's about controlling how inputs to a system affect the outputs of the system.

Philipp Schrader & Tom Brown - October 27, 2012

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download