Skip to content
This repository was archived by the owner on May 26, 2019. It is now read-only.

2016.01.21 Putting it all together

John Lawniczak edited this page Jan 21, 2016 · 6 revisions

Today we will be putting lots of our commands together into a command group and then combine our efforts by using GIT!

What we need to do is have each student create their own Command group to coordinate the motions of the Robot so we can have a fully functioning and Function complete robot.

We will all clone the GitHub repository and add to the sample program that contains many of the commands and subsystems that you have been working on so far. Use these instructions to do so here

Here is a link showing us how to create groups of commands that belong together to make the robot do something meaningful https://wpilib.screenstepslive.com/s/4485/m/13809/l/241903-creating-groups-of-commands

Here are a few groups of commands that we need to write so we can have a fully functioning robot.

  • Drive forward, lift the arm to position 100, open the claw, send the arm down to position 90, and back away. (score in auto mode)
  • Send the Arm to the bottom, open the claw (collecting mode)
  • Close the claw, send the arm to position 100 (prepare for scoring)
  • Stop the arm from moving, stop the drive motors (emergency stop)
  • make sure the claw is closed, move the arm to position 90, open the claw (score!)

Here are a few things we also need to allow our robot to work properly:

  • drive with joysicks
  • Map the above command groups to buttons on the joysticks

After we do this we will all combine our commands by using github so we can all see each other's code.

Clone this wiki locally