 | | Re: arrays or for loops
|
|
(...) At the main ROBOLAB startup menu, go to Investigator. Create a new project, say Young Brother. Choose Program level 5. Open the diagram window. Right click your mouse to bring up the function palette. Click on the G-code option to bring up the (...) (21 years ago, 28-Jul-05, to lugnet.robotics.rcx, lugnet.robotics.rcx.robolab)
|
| |
 | | RE: arrays or for loops
|
|
Sorry, I forgot to supply the link... It is at (URL) Mabrey (...) (21 years ago, 28-Jul-05, to lugnet.robotics.rcx, lugnet.robotics.rcx.robolab)
|
| |
 | | arrays or for loops
|
|
Hi I know how to put in a simple loop to, e.g., zero out an array of containers in inventor level 4. But, I found this on the net, it is nice and neat for loop - loops through 10 times to zero out 10 containers. All that was included inside a (...) (21 years ago, 28-Jul-05, to lugnet.robotics.rcx, lugnet.robotics.rcx.robolab)
|
| |
 | | Re: different output power at different ports?
|
|
(...) Sounds like more friction in the drive mechanism to one wheel than the other. I've had the same problem with tank-driven robots. I was using the fast 9V motors geared down, but they were under-powered for the application. The friction in the (...) (21 years ago, 15-Jul-05, to lugnet.robotics.rcx, lugnet.robotics.rcx.robolab)
|
| |
 | | Re: different output power at different ports?
|
|
You're absolutely sure it's not a sticky wheel? Thomas (...) (21 years ago, 15-Jul-05, to lugnet.robotics.rcx, lugnet.robotics.rcx.robolab)
|
| |
 | | Re: different output power at different ports?
|
|
(...) This sounds to me like a good tactic. Your program might have some issue with turning in one direction vs another. (...) I also have trouble believing variations in parts (except the motors themselves) will cause this much difference. Ralph (21 years ago, 14-Jul-05, to lugnet.robotics.rcx, lugnet.robotics.rcx.robolab)
|
| |
 | | Re: different output power at different ports?
|
|
(...) Okay - did you try a simple program going in a straight line, and check how much it veered after a few meters? Unfortunately - it does not sound an entirely unlikely problem - if there are variations between the h-bridges (general (...) (21 years ago, 14-Jul-05, to lugnet.robotics.rcx, lugnet.robotics.rcx.robolab)
|
| |
 | | RE: different output power at different ports?
|
|
On Thu, July 14, 2005 10:12 am, Elizabeth Mabrey said: (...) well, I'm not a precious hardware guru, :) but I find it hard to believe the small difference in the electronics would make a noticeable difference in the output of the motors. If you're (...) (21 years ago, 14-Jul-05, to lugnet.robotics.rcx, lugnet.robotics.rcx.robolab)
|
| |
 | | RE: different output power at different ports?
|
|
Sorry... I meant "precise hardware verification" not precious. I do not the equipment to measure them. Any suggestion, other than getting extra hardware like a power analyzer, for trouble shooting? Trouble shooting is always (well, almost always) (...) (21 years ago, 14-Jul-05, to lugnet.robotics.rcx, lugnet.robotics.rcx.robolab)
|
| |
 | | RE: different output power at different ports?
|
|
(...) Without any precious hardware verification, this is what I did: - symptom: motor C was not able to make turn as well as motor A can - troubleshooting steps: a) to ensure even load on both motor ports, I removed all other attachments, and left (...) (21 years ago, 14-Jul-05, to lugnet.robotics.rcx, lugnet.robotics.rcx.robolab)
|
| |
 | | Re: different output power at different ports?
|
|
(...) This might be a dumb question, but are we talking actual different voltage levels, or different PWM duty ratios? Have you ensured that you have set (from code) the power levels of all the ports to be the same? How have you observed the (...) (21 years ago, 14-Jul-05, to lugnet.robotics.rcx, lugnet.robotics.rcx.robolab)
|
| |
 | | different output power at different ports?
|
|
I just confirmed that some RCX happens to allow various output power to different output ports. In my case, the port A tends to produce more power thru motor and the port C does. I then switched the two motors. The condition stays the same. (...) (21 years ago, 14-Jul-05, to lugnet.robotics.rcx, lugnet.robotics.rcx.robolab)
|
| |
 | | Re: lego light sensor's capability of distinguishing colors
|
|
(...) Dang. I just do not have enough on-line hours to discover how many times I can reinvent the wheel ;-). Thanks for the pointer, Steve, and Philo that is a nice piece of work! (21 years ago, 28-Jun-05, to lugnet.robotics.rcx, lugnet.robotics.rcx.robolab)
|
| |
 | | Re: lego light sensor's capability of distinguishing colors
|
|
On Tue, June 28, 2005 6:50 am, Brian Davis said: (...) That sounds like a really smart idea. At least, that's what I thought when Philo did it: (URL) he just said... (URL) (21 years ago, 28-Jun-05, to lugnet.robotics.rcx, lugnet.robotics.rcx.robolab)
|
| |
 | | Re: lego light sensor's capability of distinguishing colors
|
|
(...) How about one sensor with a color wheel the RCX can drive (this is how just about all NASA spacecraft take those beautiful pictures)? Another option that might work (read: I've not tested this at all) is using more than one color of light to (...) (21 years ago, 28-Jun-05, to lugnet.robotics.rcx, lugnet.robotics.rcx.robolab)
|
| |
 | | Re: lego light sensor's capability of distinguishing colors
|
|
(...) The problem is that LEGO light sensor is basically color blind, all you get is different reflectivity levels. Take care of dark shiny surfaces that can reflect as much as lighter ones (try to place the sensor at an angle to avoid direct (...) (21 years ago, 28-Jun-05, to lugnet.robotics.rcx, lugnet.robotics.rcx.robolab)
|
| |
 | | Re: lego light sensor's capability of distinguishing colors
|
|
(...) Alone - it is not very good. I have seen a custom sensor with three light sensitive elements and filters. you might be able to build a crude one with one light sensor, one motor(slowed down with worm gear or the micromotor), a wedge belt (...) (21 years ago, 28-Jun-05, to lugnet.robotics.rcx, lugnet.robotics.rcx.robolab)
|
| |
 | | Re: lego light sensor's capability of distinguishing colors
|
|
(...) My guess is you would have to use colour filters to get reasonable results. I did toy with that idea for doing a colour photocopier once, but haven't got around to actually testing it yet. The downside is a 3-colour scanner would either use 3 (...) (21 years ago, 27-Jun-05, to lugnet.robotics.rcx, lugnet.robotics.rcx.robolab)
|
| |
 | | Re: lego light sensor's capability of distinguishing colors
|
|
On Mon, June 27, 2005 2:07 pm, Elizabeth Mabrey said: (...) I built an M&M sorter that used a LEGO light sensor... (URL) worked out pretty well, because I could just dispose of any evidence of mis-sorting. As far as real results, I think it sorted (...) (21 years ago, 27-Jun-05, to lugnet.robotics.rcx, lugnet.robotics.rcx.robolab)
|
| |
 | | lego light sensor's capability of distinguishing colors
|
|
Hi Just wonder if there is anyone who has attempted to have lego light sensor to distinguish more colors than just black & white. Blue is too close to black... white is too close to white... ---...--- -------- Elizabeth Mabrey (21 years ago, 27-Jun-05, to lugnet.robotics.rcx, lugnet.robotics.rcx.robolab)
|