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 / 2693
2692  |  2694
Subject: 
Re: HOWTO Demo.c
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Tue, 9 Jul 2002 15:42:56 GMT
Viewed: 
2207 times
  
That is correct each Task started has a higher priority and they all
have a higher prority than task_swapper

like

Prio     Task
1    --  Task Swapper
2    --  Motor Driver Task
3    --  Light Sensor Task
4    --  Touch Sensor

I changed the all the priorities to 1 but I am still getting the same
behaviour :(




"Steve Hassenplug" <hassenplug@mail.com> wrote in message
news:20020709145218.11515.qmail@verizonmail.com...
If I understand this correctly (which I doubt) each task you start, has a
higher priority, and they all have a higher priority than the 'task_swapper'
task.

Try setting all the priorities the same.  Like to 1.  See what that does.

pid1=execi(&task_swapper, 0, NULL,PRIORITY, DEFAULT_STACK_SIZE);




Message is in Reply To:
  Re: HOWTO Demo.c
 
If I understand this correctly (which I doubt) each task you start, has a higher priority, and they all have a higher priority than the 'task_swapper' task. Try setting all the priorities the same. Like to 1. See what that does. (...) (22 years ago, 9-Jul-02, to lugnet.robotics.rcx.legos)

2 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