Jump to content

Elementerials

Eurobricks New Members
  • Posts

    3
  • Joined

  • Last visited

About Elementerials

Recent Profile Visitors

314 profile views
  1. The Lego NXT remote program looks very nice, and just like what I need, however I only use pc. I don't have a smartphone either so remote controlling from my PC is my only option. I'll look into finding that book so I can learn how to use NXT-G better.
  2. I don't know how to program, sadly. This is something like what i've tried. the problem is that I cannot get the Sensor detection to interrupt the other task and immediately switch to the parallel task, instead it waits until the entire loop is over. I also have trouble getting the loop back on track after detecting a target. Also I've found that targeting isn't as easy as it sounds (as in trying to keep the motors to lock the sensor on to the detected object.) Where can I get the program you use? I will do that, sounds like that would really help. Thanks for the advice!
  3. I'm not very tech savvy so bear with me. I've bought a lego NXT 2.0 recently and my current goal is to build a working sentry turret. I want to be able to manually remote control the motors from my laptop with Bluetooth, however the remote control function in the NXT program seems limited as it only works on creations whose movement are controlled by two motors working in tandem. Similar to a robotic arm, or a car where 1 motor controls movement and the other controls steering, ideally my turret should have one motor control vertical movement and the other controlling horizontal movement, so that when i press the Up and Down arrows, it only steers 1 motor, and vice versa with the left and right arrows. My question is whether or not it's possible to reconfigure the remote control function to work that way? Also, is it possible for the "Action" button on the remote control function to be reconfigured? rather than controlling the third motor's movement directly by holding down the spacebar, is it possible to set it to perform a string of actions? (play a sound, rotate 10 times) Lastly, I've been trying to create a program for it to behave like an automatic turret by infinitely panning left and right horizontally until the ultrasonic sensor detects objects, stopping the loop immedeately, targeting the object and locking on to it, activating the third motor, and, when done, going back to its default vertical position and playing the horizontal panning loop again. One of the main problems I encountered is that I cannot interrupt motor movement with a "Stop" block activated by the Ultrasonic sensor. It's harder than I thought and by now I fear that trying to create a "targeting" program would go beyond my understanding of the NXT program. So i'm wondering if anyone experienced with this set could help me create such a program or explain to me how it works. I've seen videos of people on youtube doing just that, so I know it's possible. Any help is appreciated.
×
×
  • Create New...