| | 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)
|
|
| | Re: HOWTO Demo.c
|
|
I'm no expert, but I can try to help you figure it out. Let's start with something simple. What version of LegOS are you using? How are you starting the 'task_swapper' task? What is in the 'motor_driver' task? At one time, when I was working with (...) (22 years ago, 9-Jul-02, to lugnet.robotics.rcx.legos)
|
|
| | HOWTO Demo.c
|
|
Need Help, if someone has faced such a problem or knows the fix please do reply. In the legOS Howto their is a demo code demo.c which has some task switching examples I am having trouble with the following piece of code int task_swapper() { (...) (22 years ago, 9-Jul-02, to lugnet.robotics.rcx.legos)
|
|
| | Re: [ANN] pbForth Version 2.1.5 Release and IR Data Tutorial
|
|
Hi Ralph, I don't know if you remember, but I had problems with SAVE-SYSTEM (see msg# 508)... until now! Just to let you know, with pbForth V2.1.5 and (more likely) GUI V2.1.3, it works fine! Thanks Mario (...) (22 years ago, 9-Jul-02, to lugnet.robotics.rcx, lugnet.robotics.rcx.pbforth, lugnet.robotics.rcx.legos)
|
|
| | some lnp thoughts
|
|
hi all, im sitting here wondering if i should use lnp_addressing_write or lnp_integrity_write. The thing is that im writing a "sliding windows" protocol that might be used by other students here at the local university this autumn (as well as in my (...) (22 years ago, 8-Jul-02, to lugnet.robotics.rcx.legos)
|
|
| | RE: [ANN] pbForth Version 2.1.5 Release and IR Data Tutorial
|
|
(...) Stupid cut and paste error on my part. It's fixed now... Cheers, Ralph (22 years ago, 8-Jul-02, to lugnet.robotics.rcx, lugnet.robotics.rcx.pbforth, lugnet.robotics.rcx.legos)
|
|
| | Re: [ANN] pbForth Version 2.1.5 Release and IR Data Tutorial
|
|
Hi Ralph, I just tried the latest version and I can't setup the IR port (mine is USB). I get the following message: Error: can't read "portID": no such variable Works fine with the previous version. Thanks Mario (...) (22 years ago, 8-Jul-02, to lugnet.robotics.rcx, lugnet.robotics.rcx.pbforth, lugnet.robotics.rcx.legos)
|
|
| | [ANN] pbForth Version 2.1.5 Release and IR Data Tutorial
|
|
The new 2.1.5 Version of pbForth has a minor fix that affected programmers using the MARKER and LEAVE words. Thanks to Alexander Cech of Austria for supplying great bug reports! I recommend you get the new 2.1.3 GUI while you're at it because it (...) (22 years ago, 8-Jul-02, to lugnet.robotics.rcx, lugnet.robotics.rcx.pbforth, lugnet.robotics.rcx.legos)
|
|
| | Re: Re: Scheduler patch
|
|
I posted some code and a simple explaination of my implementation. Here is the link: (URL) me know if you need clarification or want more information/code (I have the .tar.gz to compile a LegOS kernel that is somewhere between 2.6 and 2.7 and my (...) (22 years ago, 7-Jul-02, to lugnet.robotics.rcx.legos)
|
|
| | Re: Problems with changing LNP_HOSTADDR
|
|
did it work now ? nanobapt ----- Original Message ----- From: Kai Koehne <Kai.Koehne@student....otsdam.de> To: <lugnet.robotics.rcx...ugnet.com> Sent: Friday, July 05, 2002 1:52 PM Subject: Problems with changing LNP_HOSTADDR Hi, since a few hours, (...) (22 years ago, 6-Jul-02, to lugnet.robotics.rcx.legos)
|
|
| | Re: Problems with changing LNP_HOSTADDR
|
|
(...) With the default CONF_LNP_HOSTMASK (0xf0), the host adress is encoded in the higher 4 bits, so you should write #define CONF_LNP_HOSTADDR 0x10 Eric (22 years ago, 5-Jul-02, to lugnet.robotics.rcx.legos)
|
|
| | Problems with changing LNP_HOSTADDR
|
|
Hi, since a few hours, I'm trying to give an RCX another LNP_HOSTADDR - so I changed the appropriate line in boot/config.h from #define CONF_LNP_HOSTADDR 0x00 //!< LNP host address to #define CONF_LNP_HOSTADDR 0x01 //!< LNP host address and compiled (...) (22 years ago, 5-Jul-02, to lugnet.robotics.rcx.legos)
|
|
| | HOWTO Demo.c
|
|
I was able to fix the previous problem regarding the light sensor Thank u Joseph Woolley for your reply. I have another one In the legOS Howto their is a demo code demo.c which has some task switching examples I am having trouble with the following (...) (22 years ago, 2-Jul-02, to lugnet.robotics.rcx.legos)
|
|
| | *** name poll: make your votes reminder ***
|
|
This is a reminder for all of you who have not voted for the new legOS name. Now is YOUR turn. I've collected the names and present them at the end of this posting. You can vote for ONE ( 1 ) name. Send an eMail to legOS-namepoll@gmx.de with: - the (...) (22 years ago, 1-Jul-02, to lugnet.robotics.rcx.legos)
|
|
| | Re: Light Sensor Problem
|
|
I had similar problems, so I added a bit of code to display the light sensor value on the LCD. I then placed the bot on the test pad and observed the various numbers as it crossed from white to green and black. I then updated the linetrack.c with (...) (22 years ago, 29-Jun-02, to lugnet.robotics.rcx.legos)
|
|
| | Light Sensor Problem
|
|
Hello, I have been trying out the demo programs in legOS. all demos worked fine except linetrack.c. When I download linetrack.lx in the RCX (RCX2.0) and put it on the test pad that comes with mind storm the bot goes srtaight. It does not recognize (...) (22 years ago, 27-Jun-02, to lugnet.robotics.rcx.legos)
|