Subject:
|
straight line differential drive code
|
Newsgroups:
|
lugnet.robotics
|
Date:
|
Sun, 31 Dec 2006 04:42:35 GMT
|
Viewed:
|
2734 times
|
| |
| |
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 even pseudocode is O.K.
Thanks,
John
|
|
Message has 2 Replies: | | Re: straight line differential drive code
|
| (...) 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, (...) (18 years ago, 31-Dec-06, to lugnet.robotics)
| | | Re: straight line differential drive code
|
| (...) I built a project to do just what you want. In a tracked vehicle I have each track driven by a separate motor and each also drives one side of a 'differential' but in opposite directions. If both motors run exactly the same speed the sum is (...) (18 years ago, 2-Jan-07, 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
|
|
|
|