To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / 3166
3165  |  3167
Subject: 
Re: measure distance traveled
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Tue, 11 Feb 2003 15:10:46 GMT
Viewed: 
2720 times
  
I'm not a professional or anything, but your idea could run into the robot
pulling to one side, and not going the exact 1 meter.

if you had two rotation sensors (not exactly RPM sensors), the error would
be greatly reduced in both the distance and the pulling to one side.

Or if you don't have any rotation sensors, you could use touch sensors to
measure the rotations of the wheels.

My humble suggestion,

Timothy



In lugnet.robotics.rcx.legos, Simon Meier writes:
Hi all,

I'm a CS student and I have to complete a practical assignment in which a robot
has to drive 1 meter straight forward, make a 90 degrees turn and then drive
another meter (course administrators will also place obstacles which have to
be avoided, but that's not important for my question). My question is about
the distance traveled by our little friend the robot: how can we measure
this? I was thinking of the following:

- We let the robot drive with an arbitrary fixed speed.
- Measure how long it will take to drive 1 meter.
- Let's say 1 meter is reached within 10 seconds, we know the robot travels
10 cm per second.
- Now multiplying the time in seconds the robot has driven by 10cm we obtain
the distance traveled in total.

I quess this should work, but I was just wondering if someone has a better
idea. By the way, I don't have a sensor to measure the RPM.

Thanks in advance and Cheers!



Message is in Reply To:
  measure distance traveled
 
Hi all, I'm a CS student and I have to complete a practical assignment in which a robot has to drive 1 meter straight forward, make a 90 degrees turn and then drive another meter (course administrators will also place obstacles which have to be (...) (22 years ago, 11-Feb-03, to lugnet.robotics.rcx.legos)

2 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