| | Pneumatic valve mystery
|
| | I am a novice robot builder and programmer who needs some help with a random problem that affects a pneumatic system I have built. I want a general purpose basic pneumatic system that can be programmed to use any of the three positions of the (...) (21 years ago, 26-Dec-03, to lugnet.robotics)
|
| | |
| | | | Re: Pneumatic valve mystery Kevin L. Clague
|
| | | | (...) When you say it "misses a command", do you mean that you don't get the touch sensor pressed once in a while? Or the motor doesn't turn when you want it to? If it is the touch sensor issue, maybe the round brick+boat plate that are not close (...) (21 years ago, 26-Dec-03, to lugnet.robotics)
|
| | | | |
| | | | Re: Pneumatic valve mystery T. Alexander Popiel
|
| | | | (...) I suspect you're having problems with indeterminate values in the whichPosition variable. This might happen due to the SensorListener getting called in the middle of one of the tests for your while loops... or it might have some other cause. (...) (21 years ago, 26-Dec-03, to lugnet.robotics)
|
| | | | |
| | | | | | Re: Pneumatic valve mystery Michael Obenland
|
| | | | (...) What about tighten the things a bit more with: int pos = whichPosition; valveMotor.forward(); while( pos != 1 ) { pos = whichPosition; } valveMotor.stop(); LCD.showNumber( pos ); This should be the fastest loop I can think of in terms of (...) (21 years ago, 26-Dec-03, to lugnet.robotics)
|
| | | | |