To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcxOpen lugnet.robotics.rcx in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / 2027
2026  |  2028
Subject: 
Re: Ideas!
Newsgroups: 
lugnet.robotics.rcx
Date: 
Fri, 2 May 2003 07:30:21 GMT
Viewed: 
3293 times
  
"Steven" <mnb93@hotmail.com> wrote in message news:HE8w5L.LF5@lugnet.com...
I need to know what you want it to do.


For my "pullback" car:

1. Wait until pushed in either direction (for simplifying use only one
direction).
2. Count how far it is been pushed with the rotation sensor.
3. When released (rotation sensor stopped for 2 seconds)
4. Start engine and travel back same tistance as pushed. (in opposite
direction of pushed)
5. Stop when back at starting point..

Sounds easy, but I was not abel to make the program :(
I can see that the program have to store some variables (readout from
rotation sensor) and compare that with a previous stored value. But I dont
know how to do that when the time have to be considered too. Have to wait
for 2 seconds and see if there has been some diffrence in the sensor value
in that period and at the same time count how far the sensor has gone.

You have to consider that the sensor is attached directly to the wheels.
Has the rotation sensor readout a max value? What if I push it further then
the max value of the sensor readout?

Regards
Øyvind Steinnes

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.471 / Virus Database: 269 - Release Date: 10/04/2003





Message has 1 Reply:
  Re: Ideas!
 
Ok I'll Try to make it. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system ((URL) 6.0.476 / Virus Database: 273 - Release Date: 24/04/2003 (22 years ago, 3-May-03, to lugnet.robotics.rcx)

Message is in Reply To:
  Re: Ideas!
 
I need to know what you want it to do. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system ((URL) 6.0.471 / Virus Database: 269 - Release Date: 10/04/2003 (22 years ago, 2-May-03, to lugnet.robotics.rcx)

7 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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