|
Gear tooth sensors - Forward or backward?
Alright - I'm sure someone already has this all figured out. Perhaps one of you folks can help our team. We pretty short on programming talent (as I see several other teams are) so figuring this one out is a challenge.
We are running Gyro + Gear tooth sensors for reasonably accurate driving. However, our old method of checking wheel spin direction no longer works.
We originally were going to use the timing of the rise of the wave form for the gear tooth sensor was different for forward or reverse. It was a rough way to tell if you were going forward or backward.
The new gear tooth sensors we received have the exact same timing - eliminating our ability to sense forward or reverse (per the new documentation).
Is there a method with the sensor to tell the change in direction? We've considered using the pwm value, but that would be an obvious software kludge that doesn't take coast / brake distance into account. I suppose this could go under electrical or programming, but since our current solution was software I figured I'd stick it in here.
Last edited by Tom Line : 29-01-2007 at 11:58.
|