Help please, dual actuator use problem
Posted: 20 Feb 2013, 10:54
Hi, first post of what I suspect to be many.
I work for a small design consultancy and have been asked to create a robot to accomplish a list of tasks. Problem being is that I have no robotics experience! I have 2 Lego NXT kits available to me as well as 2 Firgelli actuators. I've been playing with the kits and actuators for a couple of days now and I'm not getting very far. I have to make a scissor lift platform to lift a box, just foamboard so nothing heavy, about 10 mm. I've found I need to use 2 actuators to keep the platform steady while it lifts. I've constructed the model and that all works fine but now I have to get it to lift on command.
I have searched the net including this forum but I must be using the wrong terminology as I haven't been able to find any answers. My first attempt at programming consisted of actuator 1 extending 20 mm then retracting 20 mm, I then duplicated the program line positioned it lower on the program screen and linked the program. I then connected actuator 2 and the program ran fine.
Now this is where the fun begins. The robot will be attached to a moving base and will be required to lift the platform when a touch sensor is activated. it will then move again and when a 2nd touch sensor is activated it will drop the platform again.
I set out the program as before Actuator 1 lift - Touch sensor 1 - Actuator 1 lower - Touch sensor 2 - and ran this in a loop, once again all went well. Now I've added the second actuator into the fold and its all gone wrong. The actuator control block doesn't allow you to select multiple actuators in the same fashion that the motor block does.
Is there a way to activate the 2 actuators using the same sensor?
I work for a small design consultancy and have been asked to create a robot to accomplish a list of tasks. Problem being is that I have no robotics experience! I have 2 Lego NXT kits available to me as well as 2 Firgelli actuators. I've been playing with the kits and actuators for a couple of days now and I'm not getting very far. I have to make a scissor lift platform to lift a box, just foamboard so nothing heavy, about 10 mm. I've found I need to use 2 actuators to keep the platform steady while it lifts. I've constructed the model and that all works fine but now I have to get it to lift on command.
I have searched the net including this forum but I must be using the wrong terminology as I haven't been able to find any answers. My first attempt at programming consisted of actuator 1 extending 20 mm then retracting 20 mm, I then duplicated the program line positioned it lower on the program screen and linked the program. I then connected actuator 2 and the program ran fine.
Now this is where the fun begins. The robot will be attached to a moving base and will be required to lift the platform when a touch sensor is activated. it will then move again and when a 2nd touch sensor is activated it will drop the platform again.
I set out the program as before Actuator 1 lift - Touch sensor 1 - Actuator 1 lower - Touch sensor 2 - and ran this in a loop, once again all went well. Now I've added the second actuator into the fold and its all gone wrong. The actuator control block doesn't allow you to select multiple actuators in the same fashion that the motor block does.
Is there a way to activate the 2 actuators using the same sensor?