| | 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)
|