|PID, motor and const declaration...
|Page 1 of 1|
|Author:||Jesspepette [ Wed Mar 07, 2007 5:32 pm ]|
|Post subject:||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 sample program:
|Page 1 of 1||All times are UTC - 5 hours [ DST ]|
|Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group