Re: [xmoto-dev] change of engine speed counter algorithm

[ Thread Index | Date Index | More lists.tuxfamily.org/xmoto-dev Archives ]


Quoting Janek Polak <benetnash@xxxxxxxxxxxxxx>:

> Hi!
>
> I've changed algorithm of engine speed counter. Currently speed it's
> computed using wheels angular velocity. IMO it's rather poor method so
> I've changed it to measuring linear velocity by substracting last bike
> position from current position. Now speed counter behaves slightly
> better (I hope ;) )
> Enjoy!
>
>
>


hum, it's not realistic because on a bike, the counter indicates the engine
counter, not the move counter. It's why i did it how it was. I'll see what it
looks like tomorrow.

Nicolas



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/