1 / 18

National Instruments FRC Robot Modeling Toolkit

National Instruments FRC Robot Modeling Toolkit. Topics:. The Big Picture: “The V-Digram Design Process” Applying the “V” to Robotics Introduction to LabVIEW Introduction to FRC Toolkit Putting it all together. In the Beginning….

tamera
Download Presentation

National Instruments FRC Robot Modeling Toolkit

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. National InstrumentsFRC Robot Modeling Toolkit

  2. Topics: • The Big Picture: “The V-Digram Design Process” • Applying the “V” to Robotics • Introduction to LabVIEW • Introduction to FRC Toolkit • Putting it all together

  3. In the Beginning… • Testing your FRC Controller software had to wait until the robot’s construction was complete. • As a result, not much time could be devoted to writing/testing the robot’s code. • Programmers cried out for a solution!

  4. System Definition System Testing Rapid Prototyping Hardware-in-the-Loop Testing Targeting Control Design Cycle—The Big Picture: The “V” Diagram

  5. V Diagram – 1. System Definition • Specify requirements of control system based on needs. All functionality and performance requirements should be included.

  6. V Diagram – 2. Rapid Prototyping • Develop all algorithms needed to meet requirements and implement prototype controller. Test input/output characteristics and validate prototype with real system. • Tools • Simulation software • Real-time system with I/O for prototyping • Data acquisition software and hardware

  7. V Diagram – 3. Targeting • Generate code for target processor from validated control algorithms. Coding may be done by hand or by using automatic code generation tools. • Tools • Automatic code generation

  8. V Diagram – 4. Hardware-in-the-Loop Testing • Test and validate actual controller against a simulated system on real-time hardware. • Tools • Simulation software • Real-time system with I/O for prototyping • Data acquisition software and hardware

  9. V Diagram – 5. System Testing • Test and validate controller with actual system. Verify all system requirements and then proceed to production testing. • Tools • Data acquisition software and hardware

  10. Applying the V to Robotics • Problem: waiting for the build team • Solution simulate the robot and get cranking on the code! • Write your REAL code for the controller • Model your robot in a simulation environment • Test your REAL code against the simulated robot • Taunt the build team with your completed code! • To do this, we use LabVIEW and the FRC Modeling Toolkit

  11. What is LabVIEW? • Graphical dataflow programming environment • Used by scientists and engineers for testing and automation • Allows users to create “Virtual Instruments” • Also known as “VIs” • Interfaces with a wide variety of buses and devices • Introduction material at www.ni.com/academic • >>Curriculum Resourses

  12. What is the FRC Modeling Toolkit? • A set of LabVIEW VIs that can be used to: • Monitor the state of the Robot Controller • Simulate a robot configuration (including sensors) • Model sensors to help understand how they operate • FRC VIs use an improved dashboard reader to determine the state of the IFI Robot Controller • FRC Vis can be used to model a robot, characterizing its behavior to act very close to the completed robot. • FRC VIs can use the USB-6009 DAQ device to generate feedback signals to the embedded controller to simulate sensors such as encoders, gyros, etc…

  13. FRC Toolkit Overview FRC Controller Dashboard Interface Operator Interface USB Digital Data simulating encoders, limit switches, etc… USB Data Acquisition Device with FRC Modeling Toolkit

  14. FRC Modeling Toolkit Overview • Allows you to define the particular hardware to simulate

  15. Toolkit Overview (cont.) • Define the entire robot with easy to understand dataflow programming

  16. Where to Get These Tools • For the toolkit as well as some tutorials, go to: • http://www.chiefdelphi.com/forums/showthread.php?t=50742 • ftp://ftp.ni.com/pub/frc/ • For help related to LabVIEW, the FRC Modeling Toolkit, or Data Acquisition in general go to the ChiefDelphi LabVIEW forum • http://www.chiefdelphi.com/forums/forumdisplay.php?f=149

  17. Installation Instructions • Installing the FRC Robot Modeling/Simulation Toolkit: • 1. Install LabVIEW 8.20 AND the supplied Driver CD as directed. NI Pilot Program teams should have received LabVIEW 8.20 and the Driver CDs with their USB-6009 shipment. All other teams will receive LabVIEW 8.20 in their FRC Kit of Parts. Sorry, this toolkit is not compatible with LabVIEW 8.0 that teams received last year - cheer up, however, teams can download and install an evaluation copy of LabVIEW 8.20 from here; once your copy arrives in your Kit of Parts, you can use its activation code to activate your copy - no need to uninstall and reinstall! • 2. If LabVIEW is already installed, please close down LabVIEW if it has already been started. • 3. Extract the contents of the FRC Toolkit ZIP file into the LabVIEW 8.2 directory - this should overwrite the contents of the user.lib directory already created in that folder. If you installed LabVIEW in the default location, that directory is "C:\Program Files\National Instruments\LabVIEW 8.2\". • Using the FRC Robot Modeling/Simulation Toolkit: • 1. Install LabVIEW 8.20. • 2. If not installing the Driver CDs, download and install NI-VISA 4.0 for Windows. • 3. Download and complete the FREE online "Learn LabVIEW in 3 Hours" course. • 4. Watch Tutorials 1 and 2. • 5. Download and Install the FRC Toolkit Software. • 6. Model your robot!

More Related