Home    LittleBigPlanet 2 - 3 - Vita - Karting    LittleBigPlanet Karting    [LBPK] Help!
#1

Multi-function movement

Archive: 3 posts


I'm stuck on two problems,
I have made a movement chain of multiple pistons and hinges.
Arms, legs, chest, waist...
If I let it run normally everything moves properly, goes from point 'a'>'b' holds and returns 'b'>'a'.

1. Now I have to make it run one-way when I press a button. Do I set a 'switch' (transmitter...) to one piston then connect all pistons to each other? Or do I connect the 'switch' to all pistons (multiple switches doing the same thing)?

2. After the 'movement' (1), how to I add extra movements like 'walking' after? Do I need extra hinges that will only be activated after 'movement' (1)? And, how would I realign the walking movement back to original position?

What I want to happen: -kart > movement (1) > walking (2) > movement (1) > kart-
What I have right now: -kart > movement (1) > ............. > movement (1) > kart-
2014-10-07 18:55:00

Author:
valious2corvus
Posts: 171


1. You can have a single switch in charge of the complex movement. I recommend the use of a selector, and having all the motors set to "forwards/reverse". Have your transmitter activated by your button press, and your receiver plug into the cycle input of the selector. One of the outputs of the selector goes to the input of all the motors in the complex movement (on), and the other does nothing (off). I'm not sure if having the output of motor 1 into input of motor 2, and output of motor 2, into input of motor 3 (etc., etc.) would work; the output of motors (in my experience) only works when the motor is actually moving - so a 'pause' (transform from form 1 to form 2) in motor 1 would cause the subsequent motors to revert, even with motor 1 fully extended. Thus, I recommend plugging directly from the switch (selector) into the input of each motor involved and using the forwards/reverse setting.

2. Additional movements require additional motors. If you want to transform then start walking, you need hinges and such dedicated to the walking movement inserted appropriately into the chain of motors attached to that object. I recommend using a speed sensor and an AND gate to activate the walking motors (one input from selector mentioned above, indicating transformed state, other from speed sensor; output plugged into motors). As for realigning back to standard state, I would use (as my walking motors) mirrored hinges (one goes forwards, other goes backwards, identical otherwise) set to "single cycle". After the AND gate, you would place a timer(default) with an output to reset itself and also into the inputs of the hinges. With a low time on it (.2 or .3s) the legs should repeatedly activate and walk as long as you're moving and in the proper transformation state. If either of those change, then the legs will go back to their default position.
2014-10-07 19:25:00

Author:
StJimmysAdiction
Posts: 388


Thanks StJimmy.
Thats what I thought, But going through all the set-up for a 'test run' would take an hour (logic>pistons).
So I thought I'd ask.
I am going to try the described set-up (above) and see if the function works.
2014-10-07 22:37:00

Author:
valious2corvus
Posts: 171


LBPCentral Archive Statistics
Posts: 1077139    Threads: 69970    Members: 9661    Archive-Date: 2019-01-19

Datenschutz
Aus dem Archiv wurden alle persönlichen Daten wie Name, Anschrift, Email etc. - aber auch sämtliche Inhalte wie z.B. persönliche Nachrichten - entfernt.
Die Nutzung dieser Webseite erfolgt ohne Speicherung personenbezogener Daten. Es werden keinerlei Cookies, Logs, 3rd-Party-Plugins etc. verwendet.