 | | Confusion regarding the POWER_OFF command.
|
|
I'm a little confused with the POWER_OFF word. From reading the documentation, I would have though the following would work: POWER_INIT : test BEGIN DO-WORK POWER_OFF 0 UNTIL ; When 'test' is executed, both 'DO-WORK' and 'POWER_OFF' are executed, (...) (26 years ago, 25-Jan-01, to lugnet.robotics.rcx.pbforth)
|
| |
 | | 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 (...) (26 years ago, 25-Jan-01, to lugnet.robotics.rcx.legos)
|
| |
 | | Re: Rotational Sensor & Gearing Down
|
|
Thanks for all the inputs! After testing out the rotational sensor with teh 25:1 gearing I have discovered that it will count 402 clicks for 1 rotation. So the sesnor is reading only 2 extra clicks easy to fix in the software to get my robot to (...) (26 years ago, 25-Jan-01, to lugnet.robotics)
|
| |
 | | 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 (...) (26 years ago, 25-Jan-01, to lugnet.robotics.rcx.legos)
|
| |
 | | Re: Handyboard Battery
|
|
Brian, First I would check the voltage of the battery itself. You should get about 10 volts. If not you either have a bad battery or a problem with your charger. If the battery checks out, next I would check the poly-switch fuse. As a matter of (...) (26 years ago, 25-Jan-01, to lugnet.robotics.handyboard)
|
| |
 | | Re: Rotational Sensor & Gearing Down
|
|
What kinds of sprocket(s) does Lego currently use with tracks? A long time ago (in decades), I remember a set that used Caterpillar-link-style tracks, and they used a long-toothed sprocket to drive the tracks. It might work to put one of those (...) (26 years ago, 25-Jan-01, to lugnet.robotics)
|
| |
 | | Handyboard Battery
|
|
I am trying to get my Handyboard to work off of the 9.6V battery without the DC adapter connected. With the DC adapter hooked directly to the cpu board and the battery connected everything works fine. Without the cable just using the 9.6V battery I (...) (26 years ago, 25-Jan-01, to lugnet.robotics.handyboard)
|
| |
 | | Re: Parallel sensor problem
|
|
(...) That isn't the problem. I reversed the sensor on one RCX, and they both showed it as being constantly pressed, so that must be the wrong polarity. But I also tried moving it from input 2 to 3. Works fine. Same programs, everything, it works in (...) (26 years ago, 24-Jan-01, to lugnet.robotics.rcx.legos)
|
| |
 | | RE: New guy on the blocks
|
|
Thank you all for the answers. My wife says I can't "play" until I clean my office and I guess this time she's right: I don't have a flat space left in here. I've been reading online a lot and found way too many interesting projects and ideas this (...) (26 years ago, 24-Jan-01, to lugnet.robotics)
|
| |
 | | Re: LegOS 0.2.5 and LNP
|
|
(...) after (...) old (...) That's true. I've noticed it. I was speaking of PC implementation. (...) semaphore (...) in a (...) instruction (...) wait (...) of the (...) shouldn't (...) Ok, perfect. I vote for the semaphore implementation. I also (...) (26 years ago, 24-Jan-01, to lugnet.robotics.rcx.legos)
|