|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: Programming an Arm?!?
Have you considered doing a timed function? Motor will only run one way for a set amount of time and then stop. Then run the other way for a set time and stop.
|
|
#2
|
|||
|
|||
|
Re: Programming an Arm?!?
Quote:
You can do the two motor controls in the same way. Just copy and paste the code you have for one motor: so, have two PID controls, each wired to one of the motors and one of the sensors. The program will be the same, just different device reference and different setpoints. |
|
#3
|
||||
|
||||
|
Re: Programming an Arm?!?
Do you have an example of this for Labview? We are trying this with our window motor for our claw and I want to open (reverse) for .5 seconds when button 1 is pressed and when 4 is pressed, motor goes forward .5 seconds and stops but still hold the tube securely. Thanks in advance for your help.
|
|
#4
|
||||
|
||||
|
Re: Programming an Arm?!?
Quote:
|
|
#5
|
|||
|
|||
|
Re: Programming an Arm?!?
Just looked here and saw your question and answer. lol. Yeah I do have an example I could've shared. Tried to program it myself last year, tried it in the pit at competition. Didn't work. Programmer from another team did it for me. FIRST can be nice like that, all the GP in the air
![]() |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|