View Single Post
  #2   Spotlight this post!  
Unread 03-02-2015, 11:18
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,112
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: Operating a relay/motor controller with two axises/buttons

Subtract the left "trigger" axis value from the right one. That should give you a result that you can wire into the motor set.

(This assumes both triggers give a value from 0 to 1. If the left axis is actually a negative value, just add them instead of subtracting.)
Reply With Quote