To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / 26685
26684  |  26686
Subject: 
Re: straight line differential drive code
Newsgroups: 
lugnet.robotics
Date: 
Sun, 31 Dec 2006 04:54:22 GMT
Viewed: 
2566 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
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR