|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
we have servo problem and programming
hiii
our robot have shooter that has a servo that pushes frishbee to the spining tires.so we created a servo with a arm that pushes it and i put jumpers too and i programmed it as-well but i dont know for some reason its not working can anybody please help us asap.... thanx |
|
#2
|
||||
|
||||
|
Re: we have servo problem and programming
Well here are some things you can troubleshoot. Did you add the jumper on the Digital Side Car for the Servo. Is the Digital Side Car 3 lights on indicating it is powered?
|
|
#3
|
|||
|
|||
|
Re: we have servo problem and programming
yes it is
|
|
#4
|
||||
|
||||
|
Re: we have servo problem and programming
Could you post the code you wrote?
|
|
#5
|
|||
|
|||
|
Re: we have servo problem and programming
here it is
|
|
#6
|
|||||
|
|||||
|
Re: we have servo problem and programming
What do you expect it to do? What is it doing instead?
What kind of servo is it, and how do you have it wired? What physical mechanism is it attached to? What have you added to Begin.vi and Teleop.vi to control it? |
|
#7
|
||||
|
||||
|
Re: we have servo problem and programming
That looks like a very long and heavy arm for such a small servo. It is possible that the problem is mechanical or electrical, and programming related at all. The servo may have even been damaged by being pushed into too heave of a load. Do you have any way of testing the servo separate from your code and the CRio?
Does your team have an RC controller or servo tester? If not, do you have another servo to try? If so, I would suggest trying a new servo with nothing attached to test your code and only then introducing something with a mechanical actuator. That way you decouple any mechanical problems from the software debug. |
|
#8
|
||||
|
||||
|
Re: we have servo problem and programming
So, does the servo move without the big piece of Al. attached to it?
I just checked our teams code, as we are using the servo for the camera adjustment. The difference we have is instead of just selecting the data to feed the set angle block, we have the selection going to a case structure and selecting between two set angle blocks with the data being feed as constants. I am not a Labview literate, but I see nothing that you are doing wrong in but it is different that what we have, and ours is working. ![]() |
|
#9
|
|||||
|
|||||
|
Re: we have servo problem and programming
Here's something to try.
On the Driver Station Operation tab, put the robot into Test mode and Enable it. Then on the Dashboard Test tab, you will see a listing of all the things you opened in Begin.vi. Find the servo and click on value. Controls will appear at the bottom of the tab window that let you move the servo to see if it responds properly. If it appears in the Test window, then the servo was Opened. If you can control it, then the wiring is good. Last edited by Mark McLeod : 14-02-2013 at 15:37. |
|
#10
|
|||
|
|||
|
Re: we have servo problem and programming
Quote:
But as to the servo, I would try only recalling one joystick 3, having two might give the not a headache. |
|
#11
|
|||
|
|||
|
Re: we have servo problem and programming
its still not working
![]() |
|
#12
|
|||||
|
|||||
|
Re: we have servo problem and programming
Until you tell us clearly what you've tried, and what results you've gotten when you tried it, all we can do is suggest the same things we've already suggested.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|