Browse Search Popular Register Upload Rules User list Login:
Search:
Dual-Axis Piston Tech Demo

Image:
screenshot of the scene

Author: UnityDogGaming04

Group: Default

Filesize: 41.33 kB

Date added: 2022-05-20

Rating: 5

Downloads: 930

Views: 145

Comments: 2

Ratings: 1

Times favored: 0

Made with: Algodoo v2.1.0

Tags:

Scene tag

I've made at least two other walkers with a system like this one, but for some reason I never used the two-spring-and-a-ball anywhere else. I realised just now how useful it could be, as it's basically an extremely simple piston with an extra degree of freedom.

HOW IT WORKS:
The Kinematic Module, the body of the piston, has some local variables: (ignore _angle, it isn't meant to be there but I'm not redoing all the work to remove it)
_footpos: position of the foot of the piston, relative to the center of the KM
_jointApos: position of the left spring's attachment to the KM, relative to the KM
_jointBpos: position of the right spring's attachment to the KM, relative to the KM
_lengthA: length of the left spring
_lengthB: length of the right spring

HOW TO USE IT:
There is a spring attached to the piston off to the side of the walker. Attaching the loose end to any geometry with a _footpos variable will update the piston's own _footpos. With some coding to modulate _footpos in said geometry, all kinds of movement are possible.

Controls: AD to move the walker (speeds up and slows down instead of starting and stopping), S to brake
Please log in to rate this scene
edit
Similar scenes
Title: Follower Tech Demo
Rating: 5
Filesize: 20.83 kB
Downloads: 439
Comments: 0
Ratings: 1
Date added: 2013/12/09 01:09:20
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: M1A1 Abrams tech demo
Rating: 6.8334
Filesize: 450.99 kB
Downloads: 2574
Comments: 6
Ratings: 6
Date added: 2014/10/10 00:37:31
Made with: Algodoo v2.1.0
Rating: rated 6.8
download
Title: Superduty dual leaf spring demo
Rating: 4.8889
Filesize: 70.27 kB
Downloads: 850
Comments: 0
Ratings: 3
Date added: 2009/12/17 22:33:34
Made with: Phun
Rating: rated 4.9
download
Title: Run from the Infection - Tech Demo
Rating: 5
Filesize: 301.68 kB
Downloads: 2137
Comments: 7
Ratings: 1
Date added: 2018/07/27 08:58:30
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: one axis movement constraint concept
Rating: 5.7143
Filesize: 22.95 kB
Downloads: 525
Comments: 7
Ratings: 8
Date added: 2010/02/04 20:08:09
Made with: Algodoo before v1.8.5
Rating: rated 5.7
download
Title: Formula-e tech demo
Rating: 5
Filesize: 67.08 kB
Downloads: 6520
Comments: 8
Ratings: 1
Date added: 2016/08/18 14:54:03
Made with: Algodoo v2.1.0
Rating: rated 5
download
Here's what I do if I create a local variable and later decide I no longer need it: I replace the numeric value with text: "not used". So, in your scene, you can change the value in _angle to _angle = "not used" or "no longer needed", etc. Make sure to include the quotes.
That helps to remind me later if I decide to improve the scene or fix a bug.
Last edited at 2022/05/20 23:13:40 by Xray
I've caught why _angle is even in the KM, it's because of code I forgot to remove when cloning the spring attached to the wheel and gait generator. It does no harm and I've expllained how it is irrelevant, but setting it to "not used" won't do anything because of the code modulating it. So, unless I see some significant issue with it in there I'll probably leave it.