 | | Re: Rotational Sensor & Gearing Down
|
|
(...) OK - time for the rigerous scientific approach here (well - OK - the half-assed semi-scientific Steve Baker method :-)... I'm typing this email as I run the tests...so right now, I don't know the answers... Test 1: Connect two rotation sensors (...) (26 years ago, 24-Jan-01, to lugnet.robotics)
|
| |
 | | RE: Confusion regarding the POWER_OFF command.
|
|
(...) I was too. It's a bit goofy, so I'll try to explain as I go... (...) That's fine - the only thning you need to do (I think - I'm away from my RCX) is to put POWER_INIT just before POWER_OFF. The POWER_INIT word initializes the interrupt (...) (26 years ago, 25-Jan-01, to lugnet.robotics.rcx.pbforth)
|
| |
 | | Re: Visual NQC 2001
|
|
I have downloaded and installed Beta 2. I am having a problem that I had with beta 1. When I "Compile" I get a "Runtime Error '380' Invalid Property Value". Am I alone in this problem? If so, what does it mean? Is something missing from my Win98? -- (...) (26 years ago, 25-Jan-01, to lugnet.robotics.rcx.nqc)
|
| |
 | | 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 (...) (26 years ago, 25-Jan-01, to lugnet.robotics.rcx.legos)
|
| |
 | | Visual NQC 2001
|
|
I've fixed a lot of problems thanks to your testing and reporting. Beta relase 2 is now available on (URL) (26 years ago, 25-Jan-01, to lugnet.robotics.rcx.nqc)
|
| |
 | | 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)
|