How to avoid unicycle to flip over when motor is activated?

I was doing a unicycle last year for a game idea I had but since it only have one wheel/axel it wouldn’t stay up when motor was activated, does anyone have any ideas how to avoid it flipping over?

Sure It needs to flip back/forward a little when it accelerate/brakes but how to limit the “tilting”?

thanks
lano78 [import]uid: 13560 topic_id: 21905 reply_id: 321905[/import]

would you not just watch out for the x?

i don’t know how you have made the unicycle?

but as it rotates i figure it will get bigger in the x

you will also have the initial x start point

tiltnumber = some randomly generated number between your limits(should look more natural?)

if the x <= xstart-tiltnumber then(ie its tilting backward)

if the x >= xstart+tiltnumber then (ie its tilting forward)

invert the direction of the tilt

you would have to increase the xstart with the movement of the unicycle but i wouldn’t have thought it could be that hard.

that’s a quick think about it, hope it helps you,

Rob

[import]uid: 2131 topic_id: 21905 reply_id: 87162[/import]

@lano78 did you figure out how to do this ?

I’m having the same problem :slight_smile: [import]uid: 89239 topic_id: 21905 reply_id: 111514[/import]