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 / 23092
23091  |  23093
Subject: 
Re: That doesn't totally seem right.
Newsgroups: 
lugnet.robotics
Date: 
Wed, 1 Dec 2004 13:56:07 GMT
Viewed: 
4121 times
  
> I've switched to the 10x Swan firmware, and stored the results in the datalog.
> 
> Here they are
> 
> Variable 4: 4
> Variable 4: 0
> Variable 4: 3
> Variable 4: 0
> Variable 4: 7
> Variable 4: 0
> Variable 4: 5
> Variable 4: 6
> Variable 4: 1
> Variable 4: 4
> Variable 4: 0
> Variable 4: 6
> Variable 4: 2
> Variable 4: 5
> Variable 4: 0
> Variable 4: 7
> Variable 4: 0
> Variable 4: 5
> Variable 4: 0
> Variable 4: 7
> Variable 4: 1
> Variable 4: 5
> Variable 4: 0
> Variable 4: 9
> Variable 4: 0
> Variable 4: 7
> Variable 4: 0
> 
> These are the timings of the gaps between rotation sensor changes using just an
> incrementing loop, not an RCX timer(for those new to this thread).
> 
> Basically the variable timeout in the code I posted previously. They should get
> progressively bigger.

If you're storing this all in the datalog, you should be able to go much farther
than 27 times through the loop.  Try storing a couple hundred values  (how big is
the datalog?)  Then, you should see the time-between-changes get bigger.

Also, it seems odd that almost every other value is zero.  I'm sure that has
something to do with the timing of everything.  I suspect the sensor value is not
updated every time it goes throught the loop.



Message has 1 Reply:
  Re: That doesn't totally seem right.
 
(...) The datalog was 27 but is now 100 (I was pushed for time earlier). (...) That's exactly what happens now. (...) I can now see that the zero's fade over time. Here's the latest results. Variable 4: 1 Variable 4: 5 Variable 4: 0 Variable 4: 4 (...) (22 years ago, 1-Dec-04, to lugnet.robotics)

Message is in Reply To:
  That doesn't totally seem right.
 
(...) That occured to me after my last posting, but I can't think why it wouldn't slow. (...) Yes, your right. I've switched to the 10x Swan firmware, and stored the results in the datalog. Here they are Variable 4: 4 Variable 4: 0 Variable 4: 3 (...) (22 years ago, 1-Dec-04, to lugnet.robotics)

9 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
    

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