|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
I tried to understand them, but some seems hard to edit to me, especially when you add some additional vi s beside the default code. Now we can control our drive train and run arm motors, but can't control the pistons as we wanted. I added the default compressor code and by the help of pressure switch the pressure always sets himself to correct range. However the extend and retract functions only work when the pressure is above 100 psi. We use super shifters in our drive system and wired 2 shifting pistons to one solenoid to shift at the same time. So, 100 psi isn't needed to shift. How can we control pistons whenever we want to and no matter the pressure is?
|
|
#2
|
||||
|
||||
|
Re: LabView code of other teams ?
Try loosening the cylinder nut a little. Sometimes the alignment on the AM Shifters are a little off and they can bind up when fully tightened.
|
|
#3
|
|||||
|
|||||
|
Re: LabView code of other teams ?
That sounds almost like the code to control the cylinder is only running when the compressor is not. Can you show us the relevant parts of your program?
|
|
#4
|
||||
|
||||
|
Re: LabView code of other teams ?
Quote:
http://imgur.com/yWLShcp http://imgur.com/JcrDTcO&yWLShcp&NfAFJ3K&O8KQNNz#0 (green wires come from two different buttons) These are the codes releated to our solenoids in our begin and teleop vi. To try in a different way, we first ran the compressor and filled the air tanks and then wired a solenoid and run the program. It still does the same thing. Although the pressure switch or compressor aren't wired, we can't extend the pistons below nearly 100 psi. Is it normal? |
|
#5
|
|||||
|
|||||
|
Re: LabView code of other teams ?
Quote:
Quote:
Or maybe whatever you have the cylinder connected to just requires that much force in order to move. What is the mechanism you're trying to activate with the cylinder? |
|
#6
|
||||
|
||||
|
Re: LabView code of other teams ?
Quote:
We solved our problems with solenoids. Thanks for your help. I guess I was lack of some essential information about solenoid. First we changed the code and then checked our wiring. We found out that our solenoid breakout is not fed by 24v on pdb and fixed it by wiring it to C and NC outs. All of our solenoids are 24v, we missed that detail. We can finally drive our robot, shift and control other pneumatic systems properly. Now, the only thing that was left is vision processing in autonomous. We looked over the example code and tried to understand it. We could customize our dashboard by the example code. However, we still don't have any idea how to link the example code to our robot actions in autonomous mode. I know this thread is going far from its title and hope that it's not a problem. Do you have any simple and clear resources about using vision processing code in auto mode? |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|