[ODE] Bike Balancing!
James Steele
james.steele at greentube.com
Thu Nov 8 01:28:28 MST 2007
This is for a game :)
The problem with having the COG below the wheels is that, it then
revereses the pitch of the body under acceleration and braking. This is
not really what I want, as this will also have a horrible effect on the
weight distribution on the wheels.
I'm pretty sure I can balance the bike with a "push force" at a certain
point, and possibly use Eike's idea for low-speed balancing. Then after
a certain point, switch to the "fast balance" mode
All I need to do is to be able to get the momentum at a certain point on
one of the axis of the COG and produce a force in the opposite direction
with some dampening term to minimize jittering/osscilations.
Jon Watte wrote:
>
>
> James Steele wrote:
>> Hmmm....that's a good article, and I guess as you say; for low
>> speeds, counter-steering would work ok to balance the bike. But as
>> this is a motor bike and typical reaches speeds of 210-250kpm, I
>> think a different approach may be needed. Counter-steering at those
>> speeds could lead to massive under-steer and loss of traction which
>> is not so great :)
>>
>
> If this is for research, ODE is not a good library to use, because
> bikes have gyroscopic forces that are not modeled in ODE.
>
> If this is for a game, then I would suggest putting the center of
> gravity close to or UNDER the road surface; in effect creating a
> motorcycle that rights itself, similar to those tipping clown dolls
> with a heavy weight at the bottom of a round base. Also, when the COG
> is under the road surface, the bike will lean "naturally" as you turn
> corners.
>
> Cheers,
>
> / h+
>
>
>
--
James Steele
3D / Physics Programmer
james.steele at greentube.com
Greentube Internet Entertainment Solutions AG
Mariahilfer Straße 47/1/102
A-1060 Wien
FN 197003k, HG Wien
Tel: +43 1 494 50 56
Fax: +43 1 494 50 56 - 14
http://www.greentube.com/
------------------------------------
Internet Email Confidentiality Footer
------------------------------------
Privileged/confidential information may be contained in this message. If
you are not the addressee indicated in this message (or responsible for
delivery of the message to this person), you may not copy or deliver
this message to anyone. In such a case, you should destroy this message
and kindly notify the sender by replying. Please make it known
immediately f you or your employer does not consent to the medium of
e-mail for messages of this kind. Opinions, conclusions and other
information in this message that do not relate to the official business
of my firm shall be understood as neither given nor endorsed by it.
More information about the ODE
mailing list