1 / 13

2010 LabVIEW Intermediate Workshop

2010 LabVIEW Intermediate Workshop . October 9, 2010 Hauppauge High School SPBLI – LI FIRST. Mark McLeod Hauppauge Team 358 Northrop Grumman Corp. Mark.McLeod@ngc.com. Agenda. Programming Topics PID State Machines Saving Data For Later Lab on Tuning PID. PID. Steering Example.

thais
Télécharger la présentation

2010 LabVIEW Intermediate Workshop

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 2010 LabVIEW Intermediate Workshop October 9, 2010 Hauppauge High School SPBLI – LI FIRST Mark McLeod Hauppauge Team 358 Northrop Grumman Corp. Mark.McLeod@ngc.com

  2. Agenda • Programming Topics • PID • State Machines • Saving Data For Later • Lab on Tuning PID

  3. PID Steering Example • Proportional (current error) • Integral (total error) • Derivative (current change in error)

  4. State Machine • Kicker Example • Draw back kicker • Latch • Release • Follow through WPI Robotics Library->DriverStation->Joystick Programming->Structures Programming->Comparison Programming->Numeric

  5. Save Data For Later • Probably best used on Classmate • ASCII, .ini, Binary or Spreadsheet formats • Try to make it reasonably readable Example: Save battery voltage throughout a match for later review Programming->File I/O Programming->File I/O->File Constants

  6. Practice Code This Tune It Flywheel Tachometer Example WPI Robotics Library->DriverStation->Joystick WPI Robotics Library->Actuators->MotorControl PID Programming->Timing

  7. Links • Workshop slides and code • http://www.team358.org/files/workshops/ • LabVIEW Examples: • http://team358.org/files/programming/ControlSystem2009-/LabVIEW/

  8. Contacts • Presentation slides Under Workshops at: Team358.org • Questions/Help please email Mark.McLeod@ngc.com

  9. Further Topics

  10. Framework • 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

  11. Odds & Ends

More Related