 | | Re: speed control help
|
|
lroska wrote: <snip> (...) <snip> (...) <snip> (...) <snip> The easy solution is to avoid using a formula that assumes anything about the motor speed curve (except of course that reducing the motor value reduces the speed). Try using a feedback (...) (27 years ago, 23-Jun-99, to lugnet.robotics.handyboard)
|
| |
 | | Re: speed control help
|
|
It sounds like you are running open loop. If you use the wheel encoders as feedback devices to close the loop, then you can use the motor control function in your program as a variable to adjust motor control current via PWM to match the command (...) (27 years ago, 23-Jun-99, to lugnet.robotics.handyboard)
|
| |
 | | New Challenge
|
|
Hello all.... I've been watching this group for a long time and while the discussions about RCX programming and LegOS is fine and good, what about some good old fashioned building challenges? Something that's challenging, yet actually can be (...) (27 years ago, 23-Jun-99, to lugnet.robotics)
|
| |
 | | Re: signals / legOS internals
|
|
(...) Why signals?!? Unix-style asynchronous signals is the last feature I would ever want to implement or use. Brain-dead and very dangerous "feature". As you write; "The problem is that a signal can happen at any time". You shouldn't pass this (...) (27 years ago, 23-Jun-99, to lugnet.robotics.rcx.legos)
|
| |
 | | Re: signals / legOS internals
|
|
(...) An asynchronous signal models a hardware interrupt. There are times when that is the appropriate interface. There are times when other interfaces are less error prone and are easier to write correctly. Frequently using only synchronous (...) (27 years ago, 23-Jun-99, to lugnet.robotics.rcx.legos)
|
| |
 | | Re: Robotic arm on Mindstorms box
|
|
I found a gripper system in a catalog called "Robot Store". Or go to www.RobotStore.com (...) (27 years ago, 23-Jun-99, to lugnet.robotics)
|
| |
 | | Re: New Challenge
|
|
Stock Mindstorms kit only? Or do we get additions? -Luis (...) ###...### Profanity is the one language that all programmers understand. -Anonymous ###...### -- Did you check the web site first?: (URL) (27 years ago, 23-Jun-99, to lugnet.robotics)
|
| |
 | | Re: signals / legOS internals
|
|
(...) But hardware interrupts schedule a different context (the interrupt process or ISR) from the one already executing. A Unix-style signal asynchronously signal interrupts the executing process and jumps to a different location in the code that (...) (27 years ago, 23-Jun-99, to lugnet.robotics.rcx.legos)
|
| |
 | | Re: signals / legOS internals
|
|
(...) An ISR can certainly modify data that is used by the executing code. For example, if it doesn't save registers that are used the interrupted code will certainly be affected. In fact, the ISR is of little use if it doesn't modify data that can (...) (27 years ago, 23-Jun-99, to lugnet.robotics.rcx.legos)
|
| |
 | | RE: New Challenge
|
|
If no further details are provided, than this is a trivial challenge. No robot needed either. Take a dumbbell with disk weights, put it on a smooth, hard surface so that it can roll easily. Connect a winch to a Lego motor. Mount it on a base plate, (...) (27 years ago, 23-Jun-99, to lugnet.robotics)
|
| |
 | | Re: signals / legOS internals
|
|
(...) In OSE interrupt processes (first class processes, that is why we don't call them ISR's) use OS mechanisms (usually messages) to communicate with normal processes. The OS handles all update of shared data structures (such as message queues). A (...) (27 years ago, 23-Jun-99, to lugnet.robotics.rcx.legos)
|
| |
 | | Re: signals / legOS internals
|
|
(...) This is the same thing as most modern RTOS use, called various things. The terminology I use for this is FLIH/SLIH (first level interrupt handler and second level interrupt handler). Coupled with lock priority inheritance, it makes for a very (...) (27 years ago, 23-Jun-99, to lugnet.robotics.rcx.legos)
|
| |
 | | RE: New Challenge
|
|
(...) Good idea Todd, but there is a hitch. What surface is the dumbell on? Can the bot pick up the dumbell? Can the dumbell be in a cart? etc.... Cheers, Ralph Hempel - P.Eng ---...--- Outside of a dog, a book is a man's best friend. Indside of a (...) (27 years ago, 23-Jun-99, to lugnet.robotics)
|
| |
 | | Re: signals / legOS internals
|
|
(...) This second methed doesn't really solve anything since you still have to communicate with the compute thread from the receive thread. (...) But what can you actually do in the signal handler? Modify the state of the state of the executing (...) (27 years ago, 23-Jun-99, to lugnet.robotics.rcx.legos)
|
| |
 | | Re: signals / legOS internals
|
|
(...) Because they are useful at times, and Markus directed me to implement them. I think the upcoming network code is going to use them, too (at least, that's what I heard). Just 'cause they're there doesn't mean you have to use them. (...) How do (...) (27 years ago, 23-Jun-99, to lugnet.robotics.rcx.legos)
|
| |
 | | RE: signals / legOS internals
|
|
(...) Ummmmm, I don't want to speak for Markus, but most embedded kernels (and I use a lot of them) use the term signal and semaphore interchangably. I'm willing to bet a couple of bricks that the intent is to implement semaphores to facilitate (...) (27 years ago, 23-Jun-99, to lugnet.robotics.rcx.legos)
|
| |
 | | Re: signals / legOS internals
|
|
I misspoke when I said before that we have semaphores. What I meant was mutexes. We have had mutexes for quite awhile. Certainly long before I started on this signal thing. I started this long enough ago that I don't remember what particular problem (...) (27 years ago, 23-Jun-99, to lugnet.robotics.rcx.legos)
|
| |
 | | Re: using nqc for first time
|
|
(...) Voila! Everything seems to work fine on the modem port! I just assumed it would make no difference. Not only does nqc work, but my RoboLab software now works also. I wonder why? I always thought that these two ports were basically the same - I (...) (27 years ago, 24-Jun-99, to lugnet.robotics)
|
| |
 | | Re: New Challenge
|
|
(...) Okay....I've had alot of people ask for details. Here's some details: Flooring: Carpeting (shag preferably just to make things difficult) Set: Mindstorms and expansion packs only (but if you NEED that extra beam, it's not like I'll be by to (...) (27 years ago, 24-Jun-99, to lugnet.robotics)
|
| |
 | | Website redesigned...
|
|
Hi all, I have finished whipping up my latest lego website. Please give it a visit. (URL) (27 years ago, 24-Jun-99, to lugnet.robotics)
|