View Single Post
  #1   Spotlight this post!  
Unread 11-02-2013, 20:01
zackd97 zackd97 is offline
Registered User
FRC #4102
 
Join Date: Feb 2013
Rookie Year: 2013
Location: New Mexico
Posts: 16
zackd97 is an unknown quantity at this point
Command Based Robot Limit Switch Help

What would be the best way to go about programming limit switches for a command based robot? The subsystem in question is intended to have two switches. One switch would stop the arm from moving too far, and the other switch would be so that it would stop in a ready position. When the arm moves, it is to move to the ready position, hit the second switch, and then move backwards until it hit the first switch. This process is intended to be run by a joystick button. I know very little about c++ and have not yet managed to program any sensors whatsoever.
Reply With Quote