1
vote
1answer
143 views

How to use two NXT bricks for 3+ motors and 4+ sensors?

I need to use multiple bricks in order to use more motors and sensors. I need to read sensor values, and tell motors to move. I've tried using bluetooth, however my attempts haven't been very ...
1
vote
0answers
121 views

How to locate objects, and move towards them, without pre-programming the path

So I need to find objects in an enclosed area, I have access to the standard set of NXT sensors, i.e. ultrasonic/light. However, the ultrasonic sensors seem to be very unreliable and erratic, in ...
7
votes
1answer
240 views

NXC Saturation algorithm for limiting motors?

What is a good algorithm in NXC for control saturation? I want to make sure my motors don't turn past a certain angle, or they will break the model. I could do something like: if (angle > 45) ...
5
votes
0answers
190 views

PosRegEnable - How to change motor parameters?

I want to set PID parameters for a faster 'attack' when using PosRegEnablePID() on a motor. I am compiling with nbc/nxc 1.2.1 r4 mac osx fatbinary using -Z2 and -EF flags. But the compiler says: # ...