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.