View Single Post
  #20   Spotlight this post!  
Unread 24-05-2010, 15:41
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Swerve vs. Mecanum Programming

Quote:
Originally Posted by apalrd View Post
I would generally not use his method of "check greater/equal/lesser and set output based on case" and instead use proportional control,...
If the system you're controlling does not have appreciable inerta and/or a slow response to changes in the control signal, a simple "full on"/"full stop" scheme can work fine. For example, a window motor usually stops as soon as you remove power, without significant overshoot. That's typical of a worm gear system.

On the other hand, if you're moving a massive mechanism around, you definitely want to slow it down on its way to the target position. Stopping it abruptly can lead to extreme stress on the gears (as demonstrated well by the teeth being stripped off a large sector of a heavy gear on the TechnoKats 2004 robot's arm by the team's programming mentor a few minutes before the pre-ship open house was to begin).