|
Re: EASY traction control?
Well, a very simple system to implement that is purely software involves just limiting the joystick values by an Acceleration Limit of sorts.
Essentially it's using the In Range and Coerce function in LabView (I take it from your post that is what you are using), and the idea is to use the Joystick Axis input as your X test value, and to have your upper limit = (the previous Axis Value + your acceleration limit) and the lower limit = (the previous Axis Value - your acceleration limit). With this very simple functionality, if the input, X, is out of range of either of those values, i.e. it is too much , it will output the coerced x value as (your X value + your limit) until it is within range and reaches the value you requested as X.
Unfortunately, as I'm unbelievably tired at the moment, I don't think that post was very coherent, so I'm just including a screenshot and hoping that makes this much easier to understand.
For the purposes of the example I just picked a number, 0.05, as your limit, but you'll have to experiment to see what will work best for your robot.
Frankly I don't know of any simpler way to implement a limit on the joystick values.
The example provided I believe was originally in a WPI paper somewhere...
__________________
Last edited by Cuse : 09-03-2009 at 19:13.
|