|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Steering wheel issues
I'm experimenting with a Thrustmaster Formula T2 steering wheel, and the feedback I'm getting in Dashboard (using the default code) is not what I would expect. When the wheel is centered, I get a value of 0 from p1_x. All the way to the left is 255. Turning to the right does nothing. p1_y stays stuck on 0 when I push the pedals. I'm getting the impression that perhaps the wheel has a non-standard pinout, but I'm not entirely sure. I know the wheel works just fine otherwise, because I've tested it with racing games on my computer. Has anybody else had this trouble programming a steering wheel to drive their robot?
|
|
#2
|
||||
|
||||
|
Re: Steering wheel issues
I did a little experimenting with a multimeter, and it looks as though the pinout is standard. It even behaves as a standard joystick in Windows (rather than using the custom driver). I still can't figure why I get no feedback from the pedals, and only in one direction on the wheel when I attach it to the OI.
|
|
#3
|
|||||
|
|||||
|
Re: Steering wheel issues
Joey,
I was not able to find the pinout for this device but what you describe sounds like the interface is using some of the other +5 volt pins in addition to just pin 1. The OI only feeds +5 on pin 1. I would suspect from your description that there is a second pot for right hand turns and that the pedals are also not getting +5 volts. You will need to check all pins with a multimeter. There are a number of places on the web to obtain gameport pinouts. Use one of those as a starting point. There is also the possibility that this is a MIDI device and as such is incompatible with the OI. Many modern audio cards have MIDI enabled game ports. |
|
#4
|
||||
|
||||
|
Re: Steering wheel issues
Quote:
I didn't realize that the OI didn't properly set up the other +5 and ground pins. In light of this, since pins 8, 9, and 15 are supposed to be +5, and pin 5 is supposed to be ground, I set Pwm1_green, Pwm1_red, and Pwm2_green high, and Pwm2_red low. This should accurately simulate the appropriate voltages in the wheel. I still only get feedback when turning the wheel to the left. However, I am now getting feedback from the gas pedal. When no pedals are depressed, I get 0. I can ease the gas pedal up over 200, and pressing the brake brings it back down to 0. Pressing the brake by itself does nothing. This seems to be a mirror of what's going on in the wheel. I will be making an adapter to connect pins 5, 8, 9, and 15 appropriately, but this should help me troubleshoot until then. Based on this new info, what's your hypothesis? |
|
#5
|
|||||
|
|||||
|
Re: Steering wheel issues
Quote:
|
|
#6
|
||||
|
||||
|
Re: Steering wheel issues
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Globe gear box | Pat Roche | Motors | 9 | 25-05-2004 22:50 |
| Four Wheel, all steering, non-omniwheel, ONE power/motor source drive | FizMan | Technical Discussion | 31 | 27-04-2004 12:12 |
| how can you use a gyro in autonomous mode | magical hands | Programming | 3 | 02-01-2004 13:31 |
| need glp programing steering with a steering wheel | Matchew | Programming | 2 | 10-02-2003 14:20 |
| 4 wheel steering/ Crab | Huey_Da_X-cat | Technical Discussion | 3 | 11-02-2002 22:49 |