US First Kickoff 2012 Software Programming (And Control System) Daniel Kohn University of Memphis.

Slides:



Advertisements
Similar presentations
Teacher/Mentor Institute Using the Cortex Chuck Powell.
Advertisements

Apple Pi Robotics Logic System and Programming Basics 1 1.
Understanding Your Laptop A scavenger hunt designed to help you get to know your new computer.
Alpha Control System TheRobettes.com.
US First Robotics Lab View Tutorials Jim Thomas Lawrence Berkeley National Laboratory Team 496 Port Jeff Powerhouse.
JED Microprocessors Pty Ltd Presenting the JED T430 low-cost Projector Controllers Nov 22nd, 2009.
BEST Robotic, Inc. easyC Team Training
Jeff Beltramo NHTI-Concord’s Community College FRC Team 1922.
1. 2 LabVIEW for FRC Doug Norman National Instruments January 6, 2012.
Presented by Team 3350 (T-BOTS).  Students should lead their teams in the building, design, and all other aspects of the robot.  Knowledge of the Kit.
Networking By: Matt Motl… Programmer Brent Everson… Programming Mentor.
2010 KOP Control System Workshop January 16, 2010 Hauppauge High School SPBLI – LI FIRST Mark McLeod Hauppauge Team 358 Northrop Grumman Corp.
1. 2 FRC 2010 Driver Station Doug Norman & Stephanie Brierty National Instruments January 8, 2010 Thanks to Joe Ross – Team 330.
Programming and Electronics Training
Windows XP Basics OVERVIEW Next.
Code P010 Date: Installation and configuration Clarity User Training.
US First Kickoff 2014 Software Programming (And Control System) Daniel Kohn University of Memphis.
Part 1: Introduction FRC Introduction  FRC 2907 since 2008  Each area of the robot has a team assigned  The Electronics team is headed this year.
Choose a category: Install Episys Install Accessories Synergent Confidential Episys Version Synergent 2008Download latest guides from:
ALFRED THOMPSON MICROSOFT ACADEMIC TEAM Kinect for FRC 2012.
Calendar Browser is a groupware used for booking all kinds of resources within an organization. Calendar Browser is installed on a file server and in a.
Overview of New System Beta Team from Wilsonville 1425 Wilsonville Robotics – Code Xero 2550 Oregon City Robotics.
FRC LabVIEW Software Overview Joe Hershberger Staff Software Engineer National Instruments.
Application Software: Essentials for knowledge workers
2015 FRC Control System = MOL = DUK Power Distribution Board Volts -12 Volts (4) 40 amp Circuits (4) (6) 20/30 amp Circuits (6)
Embedded Programming and Robotics Lesson 12 Introducing the Raspberry Pi Intro to Raspberry Pi1.
Step 1 - Start your PC and place your Windows XP CD in your CD/DVD- ROM drive. Your PC should automatically detect the CD and you will get a message saying.
2012 Beta Seminar 694 Software Engineering. Overview WPILib ▫Command-based programming ▫NetworkTables ▫SmartDashboard ▫Preferences ▫Laptop-based vision.
How to Use This Training Deck
Lesson 4 Computer Software
Drivers Station 2010 Joe Ross Team /12/2009.
Driver Station MVRT 2009 – 2010 Season. Add information Breadboard Classmate PC USB Hub Joysticks Stop Button.
Getting started with Microsoft.NET Gadgeteer Comberton Village College Gadgeteer Club.
US First Kickoff 2013 Software Programming (And Control System) Daniel Kohn University of Memphis.
Configuring the MagicInfo Pro Display
LabView Basics The Fighting Pi Controls Group. About LabView LabView is a highly adaptable programming GUI (Graphic User Interface) LabView compiles the.
Hands-On Virtual Computing
Hands-On Microsoft Windows Server 2003 Administration Chapter 2 Managing Windows Server 2003 Hardware and Software.
High Speed Data Converter University
LabVIEW Workshop September 26, 2009 Hauppauge High School SPBLI - FIRST Mark McLeod Advisor Hauppauge Team 358 Northrop Grumman Corp.
The New FTC Platform (Connecting your legacy hardware)
2009 FRC Control System Software Overview Dave Doerr, Mentor, Team 67 November 15, 2008.
Teacher/Mentor Institute Using easyC Joel Kirkland July 30-31, 2015.
FRC Robot Framework Labview Made Easy (er) For FIRST Robotics 1.
BEST Robotic, Inc. easyC Breakout Session By: Guy Chetrit Programming With easyC September 15, Copyright © 2012 BEST Robotics, Inc. All rights reserved.
An Intern’s Guide to basic WMS 2011 setup in just 8 easy steps © 2011 Microsoft Corporation By: Livi Erickson.
EasyC Programming Workshop January 30, 2008 Hauppauge High School SPBLI - FIRST Mark McLeod Advisor Hauppauge Team 358 Northrop Grumman Corp.
Original 8-slot Version – Chassis – 8-slots (6 available, 2 unused) – Modules & breakouts – Module order for 2012 (changed in 2012) – Slot.
Mechanics of LabVIEW Workshop January 10, 2009 Farmingdale State College SPBLI - FIRST Mark McLeod Advisor Hauppauge Team 358 Northrop Grumman Corp.
O FFICE T ECHNOLOGY Friday, February 1, R EVIEW OF LAST WEEK Hardware v. Software Hardware names and functions Different kinds of computers Created.
Part II Introduction to Robot Code. How to open a new FRC robot project 1.Open LabVIEW. 2.Click "FRC cRIO Robot Project" in the upper left section "New".
FRC Robot Programming 1.PID Continued 2.Downloading and Deploying Code 3.Program a 2012 Robot from Spec Basic code For FIRST Robotics.
Basic Input/Output System
Introduction to Vexnet
Training on Basic Software Hardware Installation
Understanding The 2008 FRC Robot Controller Chris Gregory FRC1089 – Team Mercury
$200 $400 $600 $800 $1000 $200 $400 $600 $800 $1000 $200 $400 $600 $800 $1000 $200 $400 $600 $800 $1000 HardwareSoftwareOperating Systems Potpourri.
Session 11 Intro to FRC API.
Cr yptonite robotics labview beta findings December 19, 2015.
Introduction to Labview Dawgma Team 1712 Bob Bellini, Paul Gehman.
VAFIRST LabVIEW Workshop 11/19/11 Presenters: Marin Kobin & Patrick Foley.
Creating Flexible, Script-Controlled Autonomous Software Example Explanation.
Troubleshooting Dashhawk Issues. Here's what you have to do to have the DashHawk run properly Go to the ACTUAL PROGRAM file (not the short cut)
DISCOVERING COMPUTERS 2018 Digital Technology, Data, and Devices
After Construction Name: Per #:.
Introduction to Vexnet
Project Members: M.Premraj ( ) G.Rakesh ( ) J.Rameshwaran ( )
ACOE347 – Data Acquisition and Automation Systems
The bios.
Introduction to Programing the Cortex for BEST
Presentation transcript:

US First Kickoff 2012 Software Programming (And Control System) Daniel Kohn University of Memphis

What will be presented…… Veteran Teams Changes from Last YearChanges from Last Year Rookie Teams General intro  programming options For Everyone Classmate Updates / Install

Classmate PC Rookie Teams  There will probably be NO Software loaded on the Classmate when you get it. Veteran Teams  Classmates (driver station NetBook) will be re- imaged. –BACKUP FIRST!

Classmate PC See handout “Updating the CTL Classmate PC” for how to load up the software from the USB Thumb Drive provided in the KOP Note: Make sure you get the right USB Thumb Drive for your Classmate (E09 For Veteran Teams E11 for Rookie Teams)

VETERAN TEAMS

New with LabVIEW in 2012

New Version Of LabVIEW Upgrading from LabVIEW 8.6 to LabVIEW 2011 New Features  VI Snippets  Probe Window  Changes to Begin.vi  Kinect driving code

VI Snippets A built-in screenshot capture in LabVIEW. Highlight section, then go to Edit>Create VI Snippet from Selection. File saves as.png. Dragging picture into block diagram will paste the code.

Probe Window A window that lists every open probe. Creating a probe normally will open the window and apply future probes to the window.

Changes to Begin.vi Modules are now numbered by instance of that module. In a typical setup of 1 Digital, 1 Analog, and 1 Solenoid, each module is known as the 1 st of its kind.

Basic Kinect Driving Code Kinect treats your arms as two joysticks, and is configured for basic tank drive. Your left arm maps to axis 2, and your right arm maps to axis 4. While testing, remember to limit your motor output.

Driver Station New E-Stop # Diagnostics Tab Kinect Skeleton

New E-Stop No physical E-stop button needed for testing. Spacebar now acts as E-stop, disabling robot and requiring a manual reboot. Enter is the new disable button.

# Diagnostics Tab New Driver Station tab. Collects data from robot and graphs. Adjustable graph (information, color, graph- line type) Graphs Packet loss, packet trip time, robot voltage, and robot CPU.

Kinect Skeleton New tab for viewing Kinect data. Shows joints, as well as x, y, z coordinates of arms.

Hardware cRIO–II 2012 Jaguar

cRIO-II 4 module slots, 1 Ethernet port, 1 serial I/O port. Cameras now plug in through the gaming adapter. DIP switches now activate through the Imaging Utility.

2012 Black Jaguar Same model, different firmware. Optional built-in ramp mode (524 steps per millisecond, seconds from -1 to +1) Available by aligning jumper pins horizontally (opposite of picture)

cRIO Imaging Utility Now displays model of cRIO currently connected. DIP switches can be toggled here. Shows installed location of modules. Only accepts modules in specific order (1-Digital, 2-Analog, 3-Solenoid, 4-Any module) A cRIO-I is seen as two cRIO-II’s glued together.

Kinect Will only run on computers with Windows 7. Both the Windows Kinect SDK and Microsoft Visual Express are required on the Driver Station. KinectServer.exe runs in the background of the Driver Station, converting Kinect data to Driver Station data.

Kinect Driving Positions Neutral (both arms at 0) Full Forward (left arm at 1, right arm at 1) Full Reverse (left arm at -1, right arm at -1)

Other Notes Programming in C++ and Java pretty much the same as last year WPILib only modified slightly (mostly to do with 4 or 8 slot cRIO) Sorry – could not find anything on how the Kinect is integrated to C++ or Java

Making Connections-Network CAN optional CAN optional Pit tethering Both FRC II FRC I Optional

Making Connections - Power Optional 24v

ROOKIE TEAMS

Programming Options LabVIEW C/C++ Java

LabVIEW - Advantages Made By National Instruments (NI)  Makers of the cRIO Control system Graphical Programming Language Lots of support on line in forums and from NI  NI is a huge supporter of FRC and FIRST Lots of build in documentation (help on every VI)

LabVIEW - Disadvantages Many windows need to be opened to do anything (hard to do on the Classmate) Hard to find things the first time you need them (better in 2011) Programmers (those who know standard programming languages) have a hard time with the graphical nature of LabVIEW

Sample LabVIEW Code

C/C++ Advantages Common programming language  Mentors and students might be more comfortable with C/C++ if they programmed in C before Many books on C/C++ (but NOT the specifics for FRC teams) Mentors and students who know C/C++ will have a shorter learning curve

C/C++ Disadvantages In the past there has been Licensing issues!

Sample C/C++ Code

Java Advantages Uses NetBeans (commonly used by programmers) Mentors and students who know Java already will have a very short learning curve. All public domain – no licensing issues in off season and no registration required.

Java Disadvantages Newest Language (only the 3 rd year offered) Least amount of help/info available

Sample Java Code

Where to Start Basic code  Each language has basic robot code or templates available  Don’t be afraid to search the internet, some teams post code from previous years! HINT: the basic code usually uses the standard wiring (don’t deviate from the standard wiring or code will not work)

Keep Current A common rookie mistake is not to keep the software up to date. Check the 2012 software update website often.

Other Comments If you are NOT using LabVIEW, you will need some of the files included with the LabVIEW Install You will probably want to do your programming on a computer with a bigger screen (laptop)

Thanks to….. The Fighting PI (Team 1718)  Hauppauge Robotic Eagles (Team 358) Bill’s Blog  FRC Website 

Presentation This presentation will be posted at: