wiki:ControlSystems/SoftwareTeam/Training

Version 32 (modified by David Albert, 7 years ago) (diff)

--

Self Study

For new students, mentors, and students on other sub-teams, these links provide an overview of what the Control Systems team does and how it does it. The goal is to provide a clear understanding of the terminology you will encounter in FRC, what goes into controlling a robot, and an appreciation for how software works (without actually learning to program).

  1. Overview
  2. Intro to Control System Components
  3. Intro To Programming?

Java

All robot programming is done in the Java programming language. See here for why we program in Java. If you don't know Java yet, these training links will help:

Robocode

Once you have a solid foundation in Java, you can use the Robocode to hone your skills in a fun way. Robocode creates a virtual robot arena on your computer where you can program virtual robots and battle them against pre-programmed robots supplied with the simulator or robots programmed by your friends.

Java Interfacing

Robots operate real world and must be able to sense their environment and manipulate it. The ZebraZero platform and exercises help you learn to use Java to interface with sensors and control motors

WPILib

When you've mastered Robocode and are ready to start programming FRC robots, you'll need to set up a suitable development environment, learn how to access the robot software, understand the WPILib environment, and learn how to load and run code on a robot.

Lessons

  • Schedule for Rookies
    • Week 1 - Programming Intro - Online Tutorial with help from mentors and members
    • Week 2 - Hello Robot - Based on Demo Program - Tank control on Peanut Bot
    • Week 3 - Turbo Robot - Use Button to stop or speed up the Peanut Bot
    • Week 4 - Arcade Control - Modify program for control the Peanut Bot with single joystick
    • Week 5 - Encoders - Use Encoder to drive forward 1m in Autonomous Mode.
    • Week 6 - Drive Straight - Use Encoders in both wheels to normalize speed between the motors to drive straight
    • Final 4 Weeks - Obstacle Course? - Use Encoders, Ultrasonics, and Limit Switches to navigate a simple obstacle course

Future Planning