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
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?
yes it is
Could you post the code you wrote?
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?
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.
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.
http://www.mcbride4.org/wp-content/uploads/2013/02/Capture.jpg
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.
I love this! Thanks for sharing!
But as to the servo, I would try only recalling one joystick 3, having two might give the not a headache.
its still not working:confused:
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.