|
| | Re: multiple "execi" with different priorities
|
| (...) That line seems ok to me. Setting priority for a task above 10 (normal priority) may cause starvation to other tasks. This depend on what your function process() does. If it never waits (using calls like wait_event(), sleep(), sem_wait()...) (...) (24 years ago, 21-Feb-01, to lugnet.robotics.rcx.legos)
| |
| event (score: 0.223) |
|
| | Spirit.ocx and Regsrv32
|
| Hi folks, It's less than 12 hours away from rtlToronto 7, and I need to prep a laptop for general use at our the Toronto Lego Robotics Event. :) I'm having some trouble registering Spirit.ocx with Regsrv32.exe. It gives me an error, (...) (24 years ago, 17-Feb-01, to lugnet.robotics)
| |
| event (score: 0.223) |
|
| | Re: sleep efficientcy
|
| (...) value (...) There are two issues: 1 do you want to do anything while waiting, 2 how quick do you want to respond to the event. In both cases using an event is better. You can do something else until the event happens (synchronization issuses (...) (24 years ago, 25-Jan-01, to lugnet.robotics.rcx.legos)
| |
| event (score: 0.221) |
|
| | Re: sleep efficientcy
|
| (...) value (...) Ross, I can't speak about efficiency - I dont know enogh about embedded programming, but I've had better results using wait_event. I've tried both msleep() and yield() in a loop, and just calling wait_event with a function that (...) (24 years ago, 25-Jan-01, to lugnet.robotics.rcx.legos)
| |
| event (score: 0.220) |
|
| | sleep efficientcy
|
| Hi again, i would like to know which is more efficient in code? having a while loop which is checking for a condition to be true and sleeping for an arbitary value while it is not, or using a wait_event statement passing a function pointer to a (...) (24 years ago, 25-Jan-01, to lugnet.robotics.rcx.legos)
| |
| event (score: 0.220) |
|
| | LEGO Brick Battles
|
| Ive started a small (but growing) league of LEGO robot designers. We have our robots engage in different contests, including combat. Were looking to recruit more members. Specifically, were looking for interested folks in the Chicagoland area. Our (...) (24 years ago, 24-Jan-01, to lugnet.robotics)
| |
| event (score: 0.220) |
|
| | Parallel sensor problem
|
| Hi, all. I'm experiencing a strange problem. I'm using two RCXs to control my crane, and I have a single touch sensor connected to input 1 on RCX 1 & input 2 on RCX 2. However, when I run both programs, which both have a wait_event function like: (...) (24 years ago, 23-Jan-01, to lugnet.robotics.rcx.legos)
| |
| event (score: 0.220) |
|
| | undefined reference to `___ucmpsi2'
|
| I get this error when linking if I have the following in my source code in a wait_event function: #define THRESHOLD (unsigned short)50 static wakeup_t light_found(wakeup_t sens_num) { switch (sens_num) { case 2: return (LIGHT(SENSOR_2) > THRESHOLD); (...) (24 years ago, 18-Jan-01, to lugnet.robotics.rcx.legos)
| |
| event (score: 0.219) |
|
| | LNP in Java
|
| Hi there, Few weeks ago, someone's asked if there were any Java handler for LNP. Here we are ! There is one now. Including with this mail is the Java listing. What to do 1) download the JVM 2) download java communication API from Sun (lets you drive (...) (24 years ago, 13-Jan-01, to lugnet.robotics.rcx.legos)
| |
| event (score: 0.219) |
|
| | Re: Event dispatch
|
| (...) Meanwhile I found this out too. (...) I think I never would have found this feature. (...) I like the new features in 2.3a1! (I'll try them tonight). TZS (24 years ago, 18-Dec-00, to lugnet.robotics.rcx.nqc)
| |
| event (score: 0.216) |
|
| | Announcing the Seattle Mindstorms and Robotic Techies
|
| After the November 6th "Workshop 3D LEGO RCX Challenge" in Seattle, Gus Jansson and I decided it was time to start a LEGO Robot specific group in this area. Well, it's about a month later, and we're through talking, time for some action! So this is (...) (24 years ago, 12-Dec-00, to lugnet.announce, lugnet.robotics, lugnet.general, lugnet.loc.us.wa, lugnet.loc.us.wa.sea, lugnet.loc.us.wa.tac, lugnet.org.us.sealug, lugnet.robotics.events, lugnet.technic) !
| |
| event (score: 0.215) |
|
|
| event (score: 0.215) |
|
|
| event (score: 0.212) |
|
| | WARNING: +5 supply exposed
|
| Take a moment to look at your Handy Board. There is a thick trace along the top, right and bottom edge. This is your regulated +5 line. Now look very closely at the outer edge of this trace. It should be completely green (covered with solder mask). (...) (26 years ago, 12-Sep-98, to lugnet.robotics.handyboard)
| |
| mask (score: 0.212) |
|
| | WARNING: +5 supply exposed
|
| Take a moment to look at your Handy Board. There is a thick trace along the top, right and bottom edge. This is your regulated +5 line. Now look very closely at the outer edge of this trace. It should be completely green (covered with solder mask). (...) (26 years ago, 12-Sep-98, to lugnet.robotics.handyboard)
| |
| mask (score: 0.212) |
|
| | Monitor() and Event()
|
| Can someone teach me more on Monitor() and Event()? Does the Monitor() check the event status repeatly or we have to make a repeat task to activate the monitoring job? If it is not checking the event status repeatly, why we cannot just read the (...) (24 years ago, 23-Oct-00, to lugnet.robotics.rcx.nqc)
| |
| event (score: 0.212) |
|
| | Vision Command capabilities revised
|
| The Vision Command set has been on shelves for two months already. Did it meet general expectations? My opinion is that the Lego company did a pioneering work when introduced a computer cam as a children toy. Maybe it was not so revolutionary step (...) (24 years ago, 7-Nov-00, to lugnet.robotics.vc)
| |
| event (score: 0.212) |
|
| | Re: Monitor() and Event()
|
| (...) Monitoring is automatic (done by the firmware). Monitoring stops when control leaves the monitor statement, so something like this: while(true) { monitor(EVENTS) { } catch { } } will miss a lot of events. You need to configure the events using (...) (24 years ago, 24-Oct-00, to lugnet.robotics.rcx.nqc)
| |
| event (score: 0.212) |
|
|
| event (score: 0.212) |
|
|
| event (score: 0.212) |