Subject:
|
Re: proud of myself (+ some questions)
|
Newsgroups:
|
lugnet.robotics, lugnet.build
|
Date:
|
Fri, 17 Sep 1999 14:24:05 GMT
|
Viewed:
|
25 times
|
| |
| |
> So, questions:
>
> Wow, I can sure tell that there's only one motor. While it works great on
> wood floors, it barely moves on carpet. Is there a good way to add a second
> motor? I hesitate to just link them to gears in serial -- it seems like
> there must be a better way. What is it? :)
As part of a different project, I wrote a snippet of code that would
maintain a specific speed regardless of the surface. It's based on a
rotation sensor target vs. time. If it's going too slow, the motor speed is
bumped up by one. If it's going too fast, I bump it down by one. The code
was a bit odd because the RCX doesn't do floating point, but you could
probably implement it on your own -- it wasn't that hard.
Cheers,
Jim
|
|
Message is in Reply To:
| | proud of myself (+ some questions)
|
| So, I got sent home early from work today, due to the hurricane and all. Good thing because 1) I'd left our windows open 2) Kenmore Square is apparently flooded and it woulda been hard to get home later and, most importantly, 3) I made a cool lego (...) (25 years ago, 17-Sep-99, to lugnet.robotics, lugnet.build)
|
18 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|