Skip to content

Romi project using Entech classes and robot organization

Notifications You must be signed in to change notification settings

entech281/EntechRomi

Repository files navigation

EntechRomi

Romi project using Entech classes and robot organization. This code is NOT complete. It is meant as a training exercise for new programmers.

Exercises

  1. Hook up the drive subsystem to the joystick input

  2. Add output to SmartDashboard for drive subsystem status (e.g. gyro angle, speed, accelerations, ...)

  3. Provide a command that when a button on the joystick is pressed, moves the robot forward by 6 inches

  4. Create a OnBoardIO subsystem that extends EntechSubsystem and has access the LEDs (more details needed here)

  5. Pick an LED and provide a LED on/off method(s) for the subsystem

  6. Provide an EntechCommand (or commands) that turns the LED on/off

  7. Connect the LED to a button on the joystick. The button can either be a toggle (press -> off -> press -> on) or hold on, release off

  8. Make the previous command runs when robot is disabled

Preparation

  1. Get (Download) and install "git" for your computer from git-scm.org
  2. Get (Download) and install WPI tools following the instructions on the FIRST web site (docs.wpilib.org)
  3. Create a directory to hold all your robot programming projects (what is the default in vscode??)
  4. Open a git command window in the directory you created in step 3 and set some default git parameters git config user.name your name git config user.email your@email
  5. Issue the following command to clone the example code and create your open branch to work on: git clone https://github.com/entech281/EntechRomi git branch INITIALS-start01
  6. Start VSCODE and use "File | Open Directory ..." and select the EntechRomi directory

Exercise 1 Details

About

Romi project using Entech classes and robot organization

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages