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 / 21735
21734  |  21736
Subject: 
Re: Patched firmware to improve rotation sensor, was Re: Robolab, byte codes and assembler
Newsgroups: 
lugnet.robotics, lugnet.robotics.rcx.robolab
Date: 
Sun, 30 Nov 2003 13:06:29 GMT
Viewed: 
6451 times
  
Much to my embarassment, I have to agree with Philippe that the patch
doesn't work very well. I try to figure out what went wrong.

- counts up 2 by 2, but counts down correctly one by one
This is the expected performance as described in the example in my
original post. The
"+1" state is an "ambiguous condition.

It took me some time to figure out why, but you are right, the ambiguous
transitions occur only while counting up. What you could do though would be to
count +1 while going from state3 to state2_ambiguous, and correct "phantom
transition" by substacting 2 if the next level read was L1. This way the
up-counting would be regular "by 1" in most cases.

What does your state machine do when you get a L1 to L2 transition, that can
occur when going from L1 to L3 CW (same thing for the L2 to L1 when going from
L2 to L0 CW)?

Philo



Message is in Reply To:
  Re: Patched firmware to improve rotation sensor, was Re: Robolab, byte codes and assembler
 
"Philippe Hurbain" <philohome@free.fr> wrote in message news:Hp4JAs.oK8@lugnet.com... (...) Much to my embarassment, I have to agree with Philippe that the patch doesn't work very well. I try to figure out what went wrong. (...) This is the expected (...) (21 years ago, 29-Nov-03, to lugnet.robotics, lugnet.robotics.rcx.robolab)

17 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