Subject:
|
measure distance traveled
|
Newsgroups:
|
lugnet.robotics.rcx.legos
|
Date:
|
Tue, 11 Feb 2003 09:07:38 GMT
|
Viewed:
|
2813 times
|
| |
| |
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 has 1 Reply: | | Re: measure distance traveled
|
| 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 (...) (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
|
|
|
|