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 / 3602
3601  |  3603
Subject: 
The BrickOS Task Manager
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Sun, 4 Jan 2004 04:09:24 GMT
Viewed: 
3950 times
  
Hi everyone,

I was wondering if there's any documentation or example programs detailing how
to use the task manager in BrickOS. The only example I have is the line-follow
program that somehow uses tasks to 'wake up' when it detects a colour change.

Specifically, I'm looking to run a task that controls the physical operation of
my bot and then another that does computations in the background. I'd like the
computations to carry on while the bot is performing its various operations.
Thanks for any help.

Michael



Message has 1 Reply:
  Re: The BrickOS Task Manager
 
(...) To make a thread with BrickOS (I use the 0.2.4, but I think that the method is the same !) You need to use the execi function : pid_t my_thread; ... (function other declaration int funct(int argc, char *argv[]) { // Function that the robot (...) (21 years ago, 4-Jan-04, to lugnet.robotics.rcx.legos)

15 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