Subject:
|
Re: nop in NQC?
|
Newsgroups:
|
lugnet.robotics
|
Date:
|
Mon, 5 Jan 2004 18:49:51 GMT
|
Viewed:
|
836 times
|
| |
| |
In lugnet.robotics, Brian Davis wrote:
> Is there a NQC command that will translate to a simple nop bytecode? I'm
> looking for a way to do fine-precision timing, and frankly checking a timer
> takes too long. For very fine motor control, I'm trying to use sequences like:
>
> On(OUT_A+OUT_C);
> Off(OUT_A+OUT_C);
>
> I'm trying to run the motors at an effective slow speed, while still at a
> reasonable power level. This works, but I'm wondering if I can goose the speed
> up slightly with an effective nop or other single-bytecode command inbetween the
> On & Off commands.
> Line following: why contemplate your own navel when the 1.0 RCX's have one?
Try this:
int i;
i = i;
Kevin
|
|
Message is in Reply To:
| | nop in NQC?
|
| Is there a NQC command that will translate to a simple nop bytecode? I'm looking for a way to do fine-precision timing, and frankly checking a timer takes too long. For very fine motor control, I'm trying to use sequences like: On(OUT_A+OUT_C); (...) (21 years ago, 5-Jan-04, to lugnet.robotics)
|
8 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|