Changes between Version 17 and Version 18 of ControlSystems/SoftwareTeam/Training/GettingStarted


Ignore:
Timestamp:
Sep 8, 2019, 11:07:31 PM (6 years ago)
Author:
David Albert
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ControlSystems/SoftwareTeam/Training/GettingStarted

    v17 v18  
    2727The best way to learn about robot programming a robot is to start with a simple example program, run it, study what it does, and incrementally expand its functionality.  The WPILib software you installed includes example programs that you can compile and run on a RoboRIO.  Review [https://wpilib.screenstepslive.com/s/currentCS/m/79833/l/941601-vs-code-basics-and-wpilib-in-vs-code how to use VSCode] and then try [https://wpilib.screenstepslive.com/s/currentCS/m/79833/l/932465-creating-a-new-wpilib-project-in-vs-code creating a new robot project].
    2828
    29 * WPILib provides [https://wpilib.screenstepslive.com/s/currentCS/m/java/l/599697-choosing-a-base-class 3 frameworks] for building robot programs.  Build your first program using the TimedRobot (previously had been IterativeRobot) framework as described [https://wpilib.screenstepslive.com/s/currentCS/m/java/l/145307-creating-your-benchtop-test-program here].
     29* WPILib provides [https://wpilib.screenstepslive.com/s/currentCS/m/java/l/599697-choosing-a-base-class 3 frameworks] for building robot programs.  Build your first program using the !TimedRobot (previously had been !IterativeRobot) framework as described [https://wpilib.screenstepslive.com/s/currentCS/m/java/l/145307-creating-your-benchtop-test-program here].
    3030
    3131   * Connect your laptop to the RoboRIO USB port
     
    3838**Congratulations**, you've just built and run your first robot program.
    3939
    40 * Create another WPILib project based on the TimedRobot framework
     40* Create another WPILib project based on the !TimedRobot framework
    4141   * Study an example program.  This is a simple program for one of our test robots: Peanut 2. 
    4242      * 2-wheel-drive (2WD) robot with two CIM motors driving plaction wheels
     
    214214* You can learn more about FRC robot programming [https://frc-pdr.readthedocs.io/en/latest/index.html here]
    215215* You can learn more about game controllers [https://github.com/MTHSRoboticsClub/Documentation/wiki/Drive-Controller-Comparison here]
     216
     217* Note: you can also program and operate a peanut robot wirelessly:
     218  * Find the Peanut's !WiFi access point and connect to it; the default password is "password"
     219  * From within VSCode, choose WPILib->Deploy Robot Code
     220  * Launch the Driver Station
     221  * Enable and then start driving!
     222
     223* Note: the sample program assumes two !TalonSRX motor controllers at IDs 3 and 4.  You can set them using the CTRE Phoneix Tuner
     224* Note: the !RoboRIO web web interface is available via browser at 10.25.37.2