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

2016.01.18 Create a slightly more complex robot

John Lawniczak edited this page Jan 18, 2016 · 3 revisions

For this day below are a few links that to pictures of the robot that we will be writing code for until we get a better understanding what our robot will look like.

http://www.chiefdelphi.com/media/photos/28189
http://www.chiefdelphi.com/media/photos/28310

Just to remind you all there is a switch at the bottom of the range of motion for this arm that lets you know that the arm is at the bottom. There is also a potentiometer that tells you what position you the arm is at when the switch it not pressed.

Our goal for today is to write code for the arm.
Create a subsystem for the arm and then a couple of commands that use the subsystem
The commands we talked about making are:

  • GotoPosition
  • GotoBottom

Here is a link to some documentation on how to write a command based on a switch: https://wpilib.screenstepslive.com/s/4485/m/13809/l/241909-using-limit-switches-to-control-behavior

Clone this wiki locally