| | RE: arrays or for loops
|
|
This is cool! Thanks a bunch. In terms of feasibility and more sophisticated coding, I would perhaps think coding in NQC will be more desirable as far as teaching high school or college kid. My assumption, of course. ---...--- -------- Elizabeth (...) (19 years ago, 28-Jul-05, to lugnet.robotics.rcx, lugnet.robotics.rcx.robolab)
|
|
| | 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 (...) (19 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 (...) (19 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 (...) (19 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 (...) (19 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 (...) (19 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 (19 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 (...) (19 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 (...) (19 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) (...) (19 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 (...) (19 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 (...) (19 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. (...) (19 years ago, 14-Jul-05, to lugnet.robotics.rcx, lugnet.robotics.rcx.robolab)
|
|
| | Re: Custom sensor current drain - use two sensor ports?
|
|
(...) Watches with glow-in-the-dark spots on them are a radioactive source. Brian Nielsen (19 years ago, 7-Jul-05, to lugnet.robotics.rcx)
|
|
| | Re: Custom sensor current drain - use two sensor ports?
|
|
(...) Also you are likely to get a reasonable reading from Smoke detectors - though please dont dismantle the one that could save your neck! Danny (19 years ago, 30-Jun-05, to lugnet.robotics.rcx)
|
|
| | Re: Custom sensor current drain - use two sensor ports?
|
|
(...) Agreed... but it would be a nice experiment basis! Philo (19 years ago, 30-Jun-05, to lugnet.robotics.rcx)
|
|
| | Re: Custom sensor current drain - use two sensor ports?
|
|
(...) Much easier than that - run down to the local camping store and buy some gas lantern mantles. Unless they've changed something in the last five years or so, they incorperate a reasonable amount of Th-232 which makes geiger counters click (...) (19 years ago, 30-Jun-05, to lugnet.robotics.rcx)
|
|
| | Re: Custom sensor current drain - use two sensor ports?
|
|
(...) As Philippe noted, there are various legal sources, but even without a source there is always natural background radiation to look at, so one idea I have is a device that records the local background level with a sliding pen on a rotating (...) (19 years ago, 30-Jun-05, to lugnet.robotics.rcx)
|
|
| | Re: Custom sensor current drain - use two sensor ports?
|
|
(...) Uranium or thorium ores are easily found in mineralogic collections... very nice radio-sources ;o) Of course precise calibration is another story! See for example (URL) (19 years ago, 30-Jun-05, to lugnet.robotics.rcx)
|
|
| | Re: Custom sensor current drain - use two sensor ports?
|
|
(...) Wow cool, where are you going to obtain radioactive material (legally and without gettting in trouble with the authorities) to test your counter? :) (19 years ago, 30-Jun-05, to lugnet.robotics.rcx)
|