Author Topic: Hitech joystick sample freq.  (Read 405 times)

Offline straffo

  • Persona Non Grata
  • Plutonium Member
  • *******
  • Posts: 10029
Hitech joystick sample freq.
« on: July 05, 2005, 09:16:55 AM »
Is there a way to reduce in AH joystick sample frequency ?

Let me explain my trouble , the pots of my stick are a bit noisy (but not spiking) according to the blue diagnostic chart we can see on clipboard => setup => controls => joystick => settings.

The consequence is when I'm doing a steady 2 g turn I see the accelerometer oscillating betwen 1.8 and 2.2 g (approximatly).

I've build a little app to check this as the CH control manager didn't show those little variations.

And it appear the "micro spike"* are function of the poll frequency I start to see microspike when I'm below 30ms.




* I don't now how to translate properly

Offline straffo

  • Persona Non Grata
  • Plutonium Member
  • *******
  • Posts: 10029
Hitech joystick sample freq.
« Reply #1 on: July 05, 2005, 10:56:13 AM »
I've just made a quick modification of the directX SDK sample (added a track bar to reduce the timer interval.)
(sorry it's .net but I've not any real compiler at home)

http://www.onpoi.net/ah/pics/users/33_1120578723_joystick.zip


When using an interval greater than 30ms
A steady input give a steady output

Below 30ms there is the micro spike I'm speaking about.

do I have to ask CH for a RMA or I'm not alone ?

Offline GreenCloud

  • Silver Member
  • ****
  • Posts: 1365
Hitech joystick sample freq.
« Reply #2 on: July 05, 2005, 02:23:47 PM »
talk about NERD ALERT


I pray to god i never need to to that stuff..

go buy a Saitek Evo..40$ ; )


sorry cant help..but i figured i reply ..cause you have helped me..good luck cheese eatn surrender monkies

heheh

Offline zmeg

  • Silver Member
  • ****
  • Posts: 936
Hitech joystick sample freq.
« Reply #3 on: July 05, 2005, 02:28:16 PM »
Doesn't the damper setting do the same thing?

Offline straffo

  • Persona Non Grata
  • Plutonium Member
  • *******
  • Posts: 10029
Hitech joystick sample freq.
« Reply #4 on: July 05, 2005, 05:51:30 PM »
Baaaahh BGB ;)


Quote
Originally posted by zmeg
Doesn't the damper setting do the same thing?


No, damping will affect the time needed to go* from neutral to full deflection

Think of it as a non linear brake affecting your input (I don't know if this sentence make sense in English :D)

I'm speaking of oscillation around the point I'm trying to stabilise (with a stable input).



*for example

Offline Seeker

  • Parolee
  • Gold Member
  • *****
  • Posts: 2653
Hitech joystick sample freq.
« Reply #5 on: July 05, 2005, 06:58:04 PM »
Intersting post. What do I do with the downloaded exe and dll?

Offline straffo

  • Persona Non Grata
  • Plutonium Member
  • *******
  • Posts: 10029
Hitech joystick sample freq.
« Reply #6 on: July 05, 2005, 07:10:30 PM »
Start the executable (provided you have the correct .NET runtime it should start otherwise ... well I dont really know what to do :))

If it work
Pull the stick having the slider set at 100 ms try to be steady check the Y axis value (it should not change)

Do the same at 50 ms.

Repeat at 20 ms.

On my configuration I cannot have a steady output below 30ms ... (even using a hardware (and statick) system to pull the stick.

Why ... I don't know.
I wonder if it's a case of potentiometer  gone bad or something else.



I noticed the output (the blue rectangle ) don't work on the version I uploaded (I didn't compile the last version on release) sorry I'll correct this tomorrow
Now I should go to bed it's too late (2:15Am) and I'll be horrible at work tomorrow :D
« Last Edit: July 05, 2005, 07:13:04 PM by straffo »

Offline NHawk

  • Silver Member
  • ****
  • Posts: 1787
Hitech joystick sample freq.
« Reply #7 on: July 08, 2005, 05:52:03 AM »
Straffo, you have a good point here. And, possibly the sample frequency could be a setting in AH. This would prolong the life of many older joysticks.

On another note, I often wondered why joystick manufacturers don't go to non-contact hall effect sensors. We used them for years in high accuracy robotics, so there's no reason not to use them in game joysticks.

From the description, I THINK Saitek's new X52 is hall effect. They claim the X and Y axis are "non-contact technology".
« Last Edit: July 08, 2005, 05:54:38 AM by NHawk »
Most of the people you meet in life are like slinkies. Pretty much useless, but still bring a smile to your face when you push them down the stairs.
-------------------------------
Sometimes I think I have alzheimers. But then I forget about it and it's not a problem anymore.

Offline AKDogg

  • Gold Member
  • *****
  • Posts: 2306
      • http://aksquad.net/
Hitech joystick sample freq.
« Reply #8 on: July 08, 2005, 08:04:33 AM »
My MSFF2 joystick has those on x,y, throttle and rudder control.  Only thing that has gone bad on this joystick is the buttons which I replaced.
AKDogg
Arabian knights
#Dogg in AW
http://aksquad.net/