i have trouble programming the robot so that when a sensor senses something it triggers another move, Ex: i tried to program it so when the touch sensor is pressed, another motor would move. After i programmed it, I started the robot and it just skipped a step, the motor activated without the touch sensor sensing something. So can you help me please.
i need to program something like this, first have the robot move in a circle until the ultrasonic sensor senses something 50 inches or less away. Then, my robot will go straight towards it.After that, i wanted another one of my motor which controls a weapon to turn on and stay on when the object i am going towards is 10inches or less away but i need to keep going forward at the target after the weapon turns on.finally i need to get next to my enemy and stay there for about 6 seconds then repeat the steps
i am doing this at school and this is the first time my teacher is using mindstorms so he doesn’t know either
please help me thank you
try setting a "wait for event" loop.
idk it’s been a while since i played with NXT.
September 30th, 2009 at 8:22 pm
try setting a "wait for event" loop.
idk it’s been a while since i played with NXT.
References :
September 30th, 2009 at 8:35 pm
Does not look trivial, may be you can contact a freelance programmer. Check websites like http://oktutorial.com/
References :