Romi project using Entech classes and robot organization. This code is NOT complete. It is meant as a training exercise for new programmers.
-
Hook up the drive subsystem to the joystick input
-
Add output to SmartDashboard for drive subsystem status (e.g. gyro angle, speed, accelerations, ...)
-
Provide a command that when a button on the joystick is pressed, moves the robot forward by 6 inches
-
Create a OnBoardIO subsystem that extends EntechSubsystem and has access the LEDs (more details needed here)
-
Pick an LED and provide a LED on/off method(s) for the subsystem
-
Provide an EntechCommand (or commands) that turns the LED on/off
-
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
-
Make the previous command runs when robot is disabled
- Get (Download) and install "git" for your computer from git-scm.org
- Get (Download) and install WPI tools following the instructions on the FIRST web site (docs.wpilib.org)
- Create a directory to hold all your robot programming projects (what is the default in vscode??)
- 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
- 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
- Start VSCODE and use "File | Open Directory ..." and select the EntechRomi directory