PID, motor and const declaration...
I just registered my robotC this morning!!
Very interesting language !!
Firstly, i'm french so apologize for my english writing
Regarding this program written below, NXT motor synchronisation
, that I found in the sample programs from your website:
1) I assume that you use the PID closed loop but why didn't you use this declaration at the beginning ? :
And then if motor C
ISN'T slaved to motor A
, do we still have to write these two lines? :
2) Why RobotC wizard generate this line? :
Why this cast operator doesnt appear below on your example ? I don't think it's important but ??
3) Why did you use 10 ms in this line? :
Is this a good setting ?
4) And the last one;) Does the nMax RegulatedSpeed
variable apply to all the declared motor in the program ?
Or do we have to set it for each motor connected even it have the same value ?
Thanks for your help!
Your NXT motor synchronisation