Thread: Explanation.
View Single Post
  #4   Spotlight this post!  
Unread 16-02-2012, 12:11
juchong's Avatar
juchong juchong is offline
Electrical Engineer
AKA: Juan Chong
FRC #2655 (Flying Platypi)
Team Role: Engineer
 
Join Date: Aug 2008
Rookie Year: 2008
Location: Greensboro, NC
Posts: 105
juchong is a jewel in the roughjuchong is a jewel in the roughjuchong is a jewel in the rough
Re: Explanation.

Sure. What you're interested in is the Arm Raise portion of the code. This section looks at an encoder and counts how many "ticks" (lines on the encoder wheel) have passed. Depending on what the constants in the case structure are is the amount of ticks that it should count. Once it knows how many, it should then keep moving the motor until that many have been counted.
__________________
Teams I've worked with:My Website: http://www.juanjchong.com/
What I do: Analog Devices iSensor Product Engineer
Reply With Quote