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 / 2639
2638  |  2640
Subject: 
Re: true realtime event?
Newsgroups: 
lugnet.robotics.rcx.robolab, lugnet.robotics.rcx
Date: 
Thu, 19 May 2005 14:39:03 GMT
Viewed: 
3108 times
  
In lugnet.robotics.rcx.robolab, Dick Swan wrote:

Unfortunately, it is very poorly documented and what
it means is "set the task priority used for allocating
and pre-empting devices (motors, sound) as part of the
"acquire" opcode. A very obscure capability that I
suspect is not well used.

   It does allow some very interesting abilities too. I used it for a
line-follower, where three tasks could dynamicly alter their priority depending
on what was going  on. Another use would be a multi-goal system. For instance,
one task could be trying to follow a lightsource, while another is responsible
for getting the robot ("animal") to rest. When it has been too long without
"sleep", the task raises its own priority and tries to acquire control of the
entire system. A lot of fun "behavioral" possibilities.

--
Brian Davis



Message is in Reply To:
  RE: true realtime event?
 
It's not a true realtime interrupt. Some events may be recognized immediately (e.g. a new "mailbox" message, and some may be recognized on a 100 millisecond background scan (e.g. a "click" event). The event monitoring code does not put the task into (...) (20 years ago, 19-May-05, to lugnet.robotics.rcx.robolab, lugnet.robotics.rcx)

4 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