80 likes | 361 Views
2010 LabVIEW Beginner Workshop . October 9, 2010 Hauppauge High School SPBLI – LI FIRST. Mark McLeod Hauppauge Team 358 Northrop Grumman Corp. Mark.McLeod@ngc.com. Agenda. Advanced Glimpse Default Framework Begin.vi Finish.vi Teleop.vi Autonomous Independent.vi Adding a Joystick
E N D
2010 LabVIEW Beginner Workshop October 9, 2010 Hauppauge High School SPBLI – LI FIRST Mark McLeod Hauppauge Team 358 Northrop Grumman Corp. Mark.McLeod@ngc.com
Agenda • Advanced Glimpse • Default Framework • Begin.vi • Finish.vi • Teleop.vi • Autonomous Independent.vi • Adding a Joystick • Teleop Program • Autonomous Program
Advanced Glimpse Flywheel Tachometer Example WPI Robotics Library->DriverStation->Joystick WPI Robotics Library->Actuators->MotorControl PID Programming->Timing
Framework • Primary files are: • Begin.vi • Finish.vi • Teleop.vi • Autonomous Independent.vi • The essential elements every • FRC robot program requires are: • Communications with the Driver Station • Recognizing and processing the different competition modes • Autonomous operations • Teleop driver controls
Adding A Joystick • Begin.vi – All device opens go in here • Copy/paste existing code • Highlight existing code, hold Cntl, hold left-click and drag to new spot. Release click before Cntl. • Add from Palettes • Expand error array & wire new joystick • Finish.vi – All devices get closed here
Teleop Program • Remove example code • Replace Arcade Drive with Tank Drive • Add use of new joystick
Autonomous Program • Remove example default code • Add Flat Sequence Structure & additional Frames • Add Tank Drive commands and Watchdog Timing Delays
Contacts • Presentation slides/Step-by-step walkthrough/project code Under Workshops at: Team358.org • Questions/Help please email Mark.McLeod@ngc.com