| | 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
|
|
(...) Mario, I'm glad that this has fixed the problem. I hope that you are making good progress with pbForth and that you're enjoying yourself... Cheers, Ralph (22 years ago, 9-Jul-02, to lugnet.robotics.rcx, lugnet.robotics.rcx.pbforth)
|
|
| | 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)
|
|
| | Re: Controlling Multiple RCX's from one PC
|
|
Hi! all, I've posted a similar topic before titled "control multiple mindstorms robots using 1 IR tower", so I'd also like to get more info. about this related issue.If someone is generous to open his coding, I'll greatly apprecidate it! Hope (...) (22 years ago, 8-Jul-02, to lugnet.robotics.rcx.java)
|
|
| | 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)
|
|
| | LBrick.com is up and running
|
|
All, I have just finished getting my new site running ((URL) it contains various Lego projects that I have been working on, including... - Lego CAD stuff - LMosaic (my Lego mosaic software) - LRex - a mindstorms biped that I built. Anyway go check (...) (22 years ago, 8-Jul-02, to lugnet.general, lugnet.cad, lugnet.robotics.rcx, lugnet.technic)
|
|
| | 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: Controlling Multiple RCX's from one PC
|
|
Hi, Roger and Jonathan!! I'd like to get your code too as I'm also interested to do the same thing as Jonathan. Would you mind also sending your source code about controlling multiple mindstorms using one PC to me? I'd like to have more exchange (...) (22 years ago, 8-Jul-02, to lugnet.robotics.rcx.java)
|
|
| | Re: Controlling Multiple RCX's from one PC
|
|
(...) Source code will help. Thanks. Jonathan D. (22 years ago, 7-Jul-02, to lugnet.robotics.rcx.java)
|
|
| | Re: Controlling Multiple RCX's from one PC
|
|
(...) Hi Jonathan, I send messages from the PC to 3 RCX's with no problem, but I use the Tower object running on my PC, and Serial in the RCX. I don't use Stream objects because they actually only send one byte at a time and not yet very reliable. (...) (22 years ago, 7-Jul-02, to lugnet.robotics.rcx.java)
|
|
| | Updated NQCEdit
|
|
Hi Everyone! NQCedit version 1.61 is released. The change is a bugfix to reflect the the changes of Nqc return codes. So if you are running Nqc 2.4. r1 or higher you need to update to version 1.61. The new version can be found at (URL) Eriksson (22 years ago, 7-Jul-02, to lugnet.robotics.rcx.nqc)
|
|
| | Controlling Multiple RCX's from one PC
|
|
I'm working on a project that requires four RCX's to be controlled by one laptop. The program on the laptop is written in Java and the program on the RCXs is written in lejos. I'm using RCXPort to establish a connection between them. The problem I'm (...) (22 years ago, 7-Jul-02, to lugnet.robotics.rcx.java)
|
|
| | 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)
|