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 / 3034
3033  |  3035
Subject: 
Re: BrickOS Threading...
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Fri, 13 Dec 2002 04:29:10 GMT
Viewed: 
2663 times
  
Steve Hassenplug wrote:
In lugnet.robotics.rcx.legos, Mark Riley writes:
The motor handler is only called once ever 2ms in
the latest version of BrickOS (as opposed to every
1ms in earlier versions).  This is a fairly recent change
and it could be causing a "granularity" type problem
with certain speed settings in your code. • <snip>
This change seem to improve things.  Can I change it back to the way it was
before?

Steve,  Yes, infact I had tested a couple different applications with
the motor controller being called every 1 ms and the same ones with a 2
ms interval.  I didn't see a difference with those applications, but did
recognize the possibility that it could have adverse effects.

I will take a look at the code again, if you want; and try to get it
back into cvs right away... if you wish.  It all has to do with the
timing of the interrupts and the placement of the code in the interrupt
handler (some code gets executed every 1 ms, other code every 2 ms.

I feel bad that you experienced a problem with this.  However, I am
quite happy with the end results of the interrupt update.

// Joe



Message has 1 Reply:
  Re: BrickOS Threading...
 
(...) In trying to balance an RCX on two wheels, every little bit makes a difference. I didn't think it would matter quite that much, but my robot really shakes more with the new version. Thanks for the work, Steve (22 years ago, 13-Dec-02, to lugnet.robotics.rcx.legos)

Message is in Reply To:
  Re: BrickOS Threading...
 
(...) ... (...) This change seem to improve things. Can I change it back to the way it was before? Thanks Steve (22 years ago, 13-Dec-02, to lugnet.robotics.rcx.legos)

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