| | anyone know how to check free space on RCX?
|
|
hi all...after a while my RCX hangs and i think i might have a memory leak somewhere. anyone have, or know of, a function which i can use to check the available memory while my program is running ? regards kenneth johansen kennethj@stud.cs.uit.no (22 years ago, 9-Jul-02, to lugnet.robotics.rcx.legos)
|
|
| | Re: HOWTO Demo.c
|
|
Can you tell which line it's locking up on? Try commenting out lines until it doesn't lock up (or until you run out of lines) ----- Original Message ----- From: "Shehryar Shaheen" <shehryar.shaheen@ul.ie> Date: Tue, 9 Jul 2002 15:42:56 GMT To: (...) (22 years ago, 9-Jul-02, to lugnet.robotics.rcx.legos)
|
|
| | Re: HOWTO Demo.c
|
|
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 (...) (22 years ago, 9-Jul-02, to lugnet.robotics.rcx.legos)
|
|
| | 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)
|
|
| | Re: HOWTO Demo.c
|
|
The code I have taken out of HOWTO.ps (URL) given at the end of the document under the name Demo.c I have fixed some compile time errors (like mismatching process ids in the kill call, the function for getting button state is dbutton() and not (...) (22 years ago, 9-Jul-02, to lugnet.robotics.rcx.legos)
|