 | | Re: High Failure Rate of New Type 9V Geared Motor
|
| (...) I sent Nathanael Kuipers an email regarding the motors and asked him to forward it to the proper person. Do you think it is excessive torque, excessive use, or just a bad piece design that causes this problem? Nathan (21 years ago, 21-Oct-05, to lugnet.robotics, lugnet.technic)
| | |  | | Re: compiling problem
|
| (...) I'm glad that your problem was so quickly resolved. Isn't LUGNET great? In the future, if you have problems compiling NQC code you might want to post the exact error text generated by the compiler. If you use BricxCC to run NQC the full error (...) (21 years ago, 21-Oct-05, to lugnet.robotics.rcx.nqc)
| | |  | | Re: compiling problem
|
| thanks for the advice rob, it compiled successfully (21 years ago, 21-Oct-05, to lugnet.robotics.rcx.nqc)
| | |  | | Re: compiling problem
|
| (...) thanks for replying Kevin, a) i did not know there were compile options, how do i change them? b) i am getting parse errors on the close brackets just before ELSE and the third-last bracket thanks (21 years ago, 21-Oct-05, to lugnet.robotics.rcx.nqc)
| | |  | | Re: compiling problem
|
| You are missing semicolons after the: Wait(turn_time) lines (both) And a code suggestion, instead of: task drive() { while(true) { OnFwd(OUT_A); } } make it: task drive() { OnFwd(OUT_A); while(true) { } } as the motor stays OnFwd until turned off. (...) (21 years ago, 21-Oct-05, to lugnet.robotics.rcx.nqc)
| |