 | | Re: legOS Addressing - Packet Handler
|
|
(...) Semaphores: You said you installed Linux, try "man sem_post". Also kernel/program.c is a good reference for a semaphore use. A more complicated example is the tx_sem in kernel/lnp-logical.c and kernel/lnp.c. Eddie C. Dost ecd@skynet.be (26 years ago, 11-Aug-00, to lugnet.robotics.rcx.legos)
|
| |
 | | Re: Gone with the wind
|
|
(...) When I looked, I couldn't figure out from the pictures: * How are the legs attached to the body? * How do the pneumatic switches work? (Your picture shows only the gears, and I can't see how they move the switches.) * How does the hand (...) (26 years ago, 11-Aug-00, to lugnet.robotics)
|
| |
 | | Re: legOS Addressing - Packet Handler
|
|
Thanks Eddie, Sorry for posting a message I should have known the answer to. I'll have a look at the semaphore example. If anyone knows of a good refence for semaphore programming could they please let me know?Its taken me a while to get into the (...) (26 years ago, 11-Aug-00, to lugnet.robotics.rcx.legos)
|
| |
 | | Re: REPLYTO field.
|
|
(...) It'd be nice if all newsgroups simply rejected postings with attachments (and ideally, would bounce the whole thing back to the sender). The number of such postings may be small, but it seems like they're always useless, always huge, and (...) (26 years ago, 11-Aug-00, to lugnet.robotics)
|
| |
 | | Re: legOS Addressing - Packet Handler
|
|
(...) Take the sleep(1) out of the code! The function addressHandlerPortOne() is called from an interrupt, so you must not call any function which might cause a reschedule (which sleep() definitely does). You can do all this by having a separate (...) (26 years ago, 11-Aug-00, to lugnet.robotics.rcx.legos)
|