|
 | | RE: Navigation using landmarks (Was: Re: lasers and RCX)
|
| A Killough platform may have 3 motors, but it operates in a X-Y coordinate plane, not X-Y-Z. The camera is looking for pattern shifts horizontally or vertically, not radially within it's field of vision. As long as the axis of the spin is not (...) (23 years ago, 9-Jul-02, to lugnet.robotics)
| |  | | 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. (...) (23 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 (...) (23 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 (...) (23 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() { (...) (23 years ago, 9-Jul-02, to lugnet.robotics.rcx.legos)
| |