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 / 721
720  |  722
Subject: 
Re: rotation sensor mystery solved?
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Wed, 26 Jan 2000 17:15:36 GMT
Viewed: 
5359 times
  
On Wed, 26 Jan 2000, Ben Jackson wrote:
> I put in some debug code to catch rotations which skip a state (transitions
> like 3->1 or 0->2) which the legOS table `diff2change' currently translates to
> 0 steps (because we can't be sure whether that was 2 steps forward or 2 steps
> back).  These seem to be what are causing the last of my pendulum glitches.
> 
> Next I'm going to try adding momentum, and just assume that transitions which
> move 2 states moved 2 states in the direction of the last motion.

I tried hacking something like this into the old rotation sensor code,
and it didn't go real smoothly, but is definitely a necessity (I think)
if you want the sensor to handle very, very high speed apps.

> Is anyone else working on this?  Are people at least enjoying the lively
> conversation I'm having with myself on lugnet.robotics.rcx.legos?

I am. I'm almost tempted to steal the school's rotation sensor's back, as
a I don't have any myself :)
-Luis

#######################################################################

     Profanity is the one language that all programmers understand.
                  -Anonymous

#######################################################################



Message has 2 Replies:
  Re: rotation sensor mystery solved?
 
(...) I got a letter two days ago indicating that the two rotation sensors I ordered the first week in January are nicely on backorder and will ship in a month or so. This is similar to what I was told on the phone when I ordered them from Shop and (...) (27 years ago, 26-Jan-00, to lugnet.robotics.rcx.legos)
  Re: rotation sensor mystery solved?
 
(...) which (...) I added code to assume that 2 step transitions were 2 steps in the last known direction of travel. The results were MUCH worse than just ignoring those steps, as the current code does. This seems to suggest that the 2-step (...) (27 years ago, 26-Jan-00, to lugnet.robotics.rcx.legos)

Message is in Reply To:
  Re: rotation sensor mystery solved?
 
I put in some debug code to catch rotations which skip a state (transitions like 3->1 or 0->2) which the legOS table `diff2change' currently translates to 0 steps (because we can't be sure whether that was 2 steps forward or 2 steps back). These (...) (27 years ago, 26-Jan-00, to lugnet.robotics.rcx.legos)

12 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