| | Re: problem with control speed using NQC
|
|
The Mindstorms RCX Code software does the exact same thing as the code you listed, the only caveat is I think RCX Code uses power settings from 1 to 8 while NQC uses 0 to 7. Both result in the same bytecodes for the RCX to interpret. // turn A on (...) (25 years ago, 23-Jul-99, to lugnet.robotics.rcx.nqc)
|
|
| | Re: NQC emulator?
|
|
The idea has cropped up from time to time, but nobody has written one yet. You probably don't want to simulate NQC code, but rather interpret the bytecodes emitted by the NQC compiler. These are just the bytecodes of the standard Lego firmware. (...) (25 years ago, 23-Jul-99, to lugnet.robotics.rcx.nqc)
|
|
| | NQC emulator?
|
|
Hello, it seems that the LegOS people have an emulator so that one can test programs "virtually", i.e. on your PC rather than the real RCX. Is there something similar available on the NQC side? (I need to kill the time until the Mindstorm kit (...) (25 years ago, 22-Jul-99, to lugnet.robotics.rcx.nqc)
|
|
| | Re: problem with control speed using NQC
|
|
But how does the original mindstorms software do it. With the Mindstorms software you can set the speed of each motor and it is obviously different. I must be missing something. I did a search on lugnet and found some NQC code to drive the motors (...) (25 years ago, 22-Jul-99, to lugnet.robotics.rcx.nqc)
|
|
| | Re: problem with control speed using NQC
|
|
The RCX uses pulse-width modulation to control power to the motor. The pulses are between 1ms and 8ms of power during an 8ms interval. In theory, this would result in different power being provided to the motor. The problem is that the motor has an (...) (25 years ago, 22-Jul-99, to lugnet.robotics.rcx.nqc)
|