Subject:
|
Re: straight line differential drive code
|
Newsgroups:
|
lugnet.robotics
|
Date:
|
Sun, 31 Dec 2006 04:54:22 GMT
|
Viewed:
|
2759 times
|
| |
| |
In lugnet.robotics, John Hawkins wrote:
> Does anyone have some RCX code to make a simple differential drive (2
> independent motor/wheel combinations) with 2 rotation sensors drive straight.
> John
Just one rotation sensor.
The differential gives you the difference (hence the name) of the two sides. If
it's zero, you're driving straight. A positive rotation means you are turning
one way, and negative is the other.
It's not pseudocode, but it's something.
Tim
|
|
Message is in Reply To:
| | straight line differential drive code
|
| Does anyone have some RCX code to make a simple differential drive (2 independent motor/wheel combinations) with 2 rotation sensors drive straight. I'm sure it's been done many, many times before and I don't want to reinvent the wheel here. NQC or (...) (18 years ago, 31-Dec-06, to lugnet.robotics)
|
3 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
Active threads in Robotics
|
|
|
|