View Single Post
  #7   Spotlight this post!  
Unread 11-03-2016, 15:21
Kevin Sevcik's Avatar
Kevin Sevcik Kevin Sevcik is offline
(Insert witty comment here)
FRC #0057 (The Leopards)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Houston, Texas
Posts: 3,659
Kevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond repute
Send a message via AIM to Kevin Sevcik Send a message via Yahoo to Kevin Sevcik
Re: AndyMark RAW Box and Potentiometer

Quote:
Originally Posted by tr6scott View Post
Watch speed and backlash.... That homing routine is ok for most FRC applications, in industrial servo systems, the homing routine is...

Advance toward switch high speed.
Trip switch,
reverse direction,
run slow,
release switch.
set zero.

This method puts the gear backlash behind you...
The direction you need to move off zero, the gears have already meshed to drive that direction.

Probably over kill if you only have the one gearset, but if you have multiple gears, the backlash adds up.
You forgot looking for the index pulse on the encoder before setting zero.

Also, you might try adapting the e4p mounting for an SRX Mag Encoder You can use that in absolute mode. The mounting should be quite similar to the e4p, but you'll have to drill a hole in the shaft to put the magnet in.
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter