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 / 26684
26683  |  26685
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

 
Verified and Trusted Team of Hackers
4 hours ago
Custom Search

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