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: 780

Views: 377

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: Metal Gear Rex Mk. 2
Rating: 6.3
Filesize: 93.72 kB
Downloads: 1461
Comments: 6
Ratings: 4
Date added: 2009/11/28 23:13:02
Made with: Phun
Rating: rated 6.3
download
Title: simple automatic balancing unicycle
Rating: 5
Filesize: 9.67 kB
Downloads: 452
Comments: 0
Ratings: 1
Date added: 2018/05/14 15:38:36
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: unicycle BMX
Rating: 5
Filesize: 36.26 kB
Downloads: 473
Comments: 3
Ratings: 1
Date added: 2018/04/15 09:58:36
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Unicycle
Rating: 6.5
Filesize: 197.81 kB
Downloads: 2025
Comments: 6
Ratings: 4
Date added: 2012/05/06 05:53:12
Made with: Algodoo v2.1.0
Rating: rated 6.5
download
Title: Unicycle bike spider11's version
Rating: 5
Filesize: 396.02 kB
Downloads: 903
Comments: 0
Ratings: 1
Date added: 2014/01/03 08:33:25
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Stabilizer
Rating: 5
Filesize: 4.18 kB
Downloads: 463
Comments: 0
Ratings: 1
Date added: 2011/08/18 01:38:19
Made with: Algodoo v1.9.9b
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.