View Single Post
  #23   Spotlight this post!  
Unread 09-02-2015, 20:42
mshafer1 mshafer1 is offline
Programming Mentor
AKA: Matthew Shafer
FRC #3937 (Breakaway)
Team Role: Mentor
 
Join Date: Jan 2015
Rookie Year: 2008
Location: Arkansas
Posts: 56
mshafer1 is an unknown quantity at this point
Re: motor programming

I was missing a case structure, but we need to remember that the point of FRC is not to develop hacks and bad programming habits.
As far as not reading the joystick again during the entire engage/disengage of the break, that is almost necessary unless a sensor is implemented or they choose to implement a piston or some other two state actuator.
Attached Thumbnails
Click image for larger version

Name:	elevatorWithBreak.png
Views:	8
Size:	66.7 KB
ID:	18254  
Reply With Quote