I would suggest installing a position sensor on the steering arm to be used for "closed loop" control to set the position of the steering arm.
A few possible options for the sensor:
- if using a pitman arm to move the steering arm, install a potentiometer directly to the motor shaft
- if using a rack/pinion or lead screw to move the steering arm, use a multi-turn potentiometer or an encoder
- if the steering arm doesn't move particularly far, you could install a slide potentiometer directly to the steering arm.
With the above approach, the robot controller will be able to query the sensor to determine the "current position" of the steering arm.
The operator interface would then be used to set the "desired position" via the joystick, steering wheel, or whatever you use in the OI.
The robot controller could use a PID control loop to force the "current position" to match the "desired position".
Best Regards,
--ken
__________________
Ken Streeter - Team 1519 - Mechanical Mayhem (Milford Area Youth Homeschoolers Enriching Minds)
2015 NE District Winners with 195 & 2067, 125 & 1786, 230 & 4908, and 95 & 1307
2013 World Finalists & Archimedes Division Winners with 33 & 469
2013 & 2012 North Carolina Regional Winners with teams 435 & 4828 and 1311 & 2642
2011, 2010, 2006 Granite State Regional Winners with teams 175 & 176, 1073 & 1058, and 1276 & 133
Team 1519 Video Gallery - including Chairman's Video, and the infamous "Speed Racer!"