Thread: Steering wheel
View Single Post
  #18   Spotlight this post!  
Unread 21-12-2006, 15:02
lukevanoort lukevanoort is offline
in between teams
AKA: Luke Van Oort
no team
 
Join Date: Oct 2005
Rookie Year: 2005
Location: Waterloo, ON, Canada
Posts: 1,873
lukevanoort has a reputation beyond reputelukevanoort has a reputation beyond reputelukevanoort has a reputation beyond reputelukevanoort has a reputation beyond reputelukevanoort has a reputation beyond reputelukevanoort has a reputation beyond reputelukevanoort has a reputation beyond reputelukevanoort has a reputation beyond reputelukevanoort has a reputation beyond reputelukevanoort has a reputation beyond reputelukevanoort has a reputation beyond repute
Send a message via AIM to lukevanoort
Re: Steering wheel

Quote:
Originally Posted by Hieb View Post
True. My initial impressions (while I was writing before) was that with the steering wheel it was more of an either/or proposition--I can either have a tight turn (ex. left wheels = 127, right wheels = 254) or 0 turn radius (left wheels = 0, right wheels = 254), but not both as would be possible with joysticks.

Further thought on the matter has led me to an implementation that would allow both--I guess I just like joysticks because with a rookie team that only has 1 programmer (and she has no previous programming experience), I'll probably end up writing most of the code this year and joysticks are easy to implement.
DISCLAIMER: I have never tried this
I think if you used the one joystick drive setup in the default code and just used the steering wheel's output instead of 'p1_x' and used the throttle joystick's y value in the place of 'p1_y' it would work.
__________________
Team 1219: 2009 - Mentor
Team 587: 2005 - Animator, 2006-2008 - Team Captain