Subject:
|
Re: 8 power levels, and only 8?
|
Newsgroups:
|
lugnet.robotics.rcx.java
|
Date:
|
Wed, 19 Sep 2001 14:02:12 GMT
|
Viewed:
|
2796 times
|
| |
| |
Hi,
> > Inspired by the answer by Juergen Stuber in the lejos/legos
> > thread, I suddenly began to think about the fact that "we"
> > only have eight power levels to choose among.
> > Why is that?
> This is what the ROM routines support.
Bummer! I was afraid I might get that answer... :o)
> > And can it be changed?
> Yes, but then we'd need our own motor control routines
> in the lejos VM, and that would cost some precious memory.
Sure, but maybe it would be worth it, since I imagine that
many/some of us will make some silly, but basic routine that
cycles between float/stop and some motor power, anyway...
> I think for a start it would already be nice to be able to
> synchronize on those 8ms motor cycles, to get more precise
> motor control in Java. But I didn't yet get around to analyze
> how the motor control routines work, it is quite complicated.
Exactly! Then my "basic routine" above would provide equal
results.
Regards,
Martin
|
|
Message has 1 Reply: | | Re: 8 power levels, and only 8?
|
| (...) Ok, here are some results of my investigation: - There is no general 8ms cycle - When you change motor settings they become effective on the next timer interrupt (occurs every ms), and the rotating pattern for a reduced powerlevel starts anew, (...) (23 years ago, 22-Sep-01, to lugnet.robotics.rcx.java)
|
Message is in Reply To:
| | Re: 8 power levels, and only 8?
|
| (...) This is what the ROM routines support. (...) Yes, but then we'd need our own motor control routines in the lejos VM, and that would cost some precious memory. (...) Yes, the standard LEGO routines make it very hard to control speed. Basically (...) (23 years ago, 19-Sep-01, to lugnet.robotics.rcx.java)
|
12 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|