Browse Search Popular Register Upload Rules User list Login:
Search:
Unicycle stabilizer system

Image:
screenshot of the scene

Author: pnvv

Group: Default

Filesize: 43.45 kB

Date added: 2015-01-24

Rating: 5

Downloads: 779

Views: 376

Comments: 4

Ratings: 1

Times favored: 0

Made with: Algodoo v2.1.0

Tags:

Scene tag

I got fed up with using +inf inertiamultiplyer to make stable unicycles. So I enlisted Thyme and this is what I got.
Please log in to rate this scene
edit
Similar scenes
Title: S.A.F (Stabilizer whit Air Friction)
Rating: 4.875
Filesize: 17.03 kB
Downloads: 601
Comments: 1
Ratings: 2
Date added: 2009/05/25 01:27:03
Made with: Phun
Rating: rated 4.9
download
Title: simple automatic balancing unicycle
Rating: 5
Filesize: 9.67 kB
Downloads: 450
Comments: 0
Ratings: 1
Date added: 2018/05/14 15:38:36
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Unicycle
Rating: 5
Filesize: 0.55 MB
Downloads: 603
Comments: 0
Ratings: 1
Date added: 2014/12/29 14:45:58
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Naf Stabilizer Unit
Rating: 5
Filesize: 3.61 kB
Downloads: 519
Comments: 4
Ratings: 3
Date added: 2009/01/21 03:59:12
Made with: Phun
Rating: rated 5
download
Title: self balancing unicycle
Rating: 5
Filesize: 174.63 kB
Downloads: 984
Comments: 0
Ratings: 1
Date added: 2015/07/15 09:28:48
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Unicycle bike spider11's version
Rating: 5
Filesize: 396.02 kB
Downloads: 902
Comments: 0
Ratings: 1
Date added: 2014/01/03 08:33:25
Made with: Algodoo v2.1.0
Rating: rated 5
download
Very Interesting!
It works better than Mine!
Nice work. Very stable operation.

The same code can be written this way:

thisAngle := e.this.angle;
thisAngVel := e.this.angvel;
force := 75.0 * thisAngle + 18.0 * thisAngVel;
thisAngle > 0 ? {
scene.my.force1 = 0;
scene.my.force2 = force
} : {
scene.my.force2 = 0;
scene.my.force1 = -1.0 * force
}
True, but I just like to assign most things to scene.my.variables because it makes organization easier. I also see the other thing you did to shorten it, which I didn't think of :bonk:
Last edited at 2015/01/25 15:51:38 by pnvv
It's best to do it the way you like it. In any case it's good code. It is shorter and more direct than the code I had used for Unicycle.