Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   we have servo problem and programming (http://www.chiefdelphi.com/forums/showthread.php?t=113451)

akash992391 13-02-2013 21:28

we have servo problem and programming
 
1 Attachment(s)
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

MagiChau 13-02-2013 21:37

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?

akash992391 13-02-2013 21:40

Re: we have servo problem and programming
 
yes it is

MagiChau 13-02-2013 22:11

Re: we have servo problem and programming
 
Could you post the code you wrote?

akash992391 13-02-2013 22:43

Re: we have servo problem and programming
 
1 Attachment(s)
here it is

Alan Anderson 14-02-2013 10:25

Re: we have servo problem and programming
 
Quote:

Originally Posted by akash992391 (Post 1232977)
...its not working...

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?

tsaksa 14-02-2013 11:08

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.

tr6scott 14-02-2013 12:14

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.


Mark McLeod 14-02-2013 13:02

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.

toastnbacon 14-02-2013 14:29

Re: we have servo problem and programming
 
Quote:

Originally Posted by Mark McLeod (Post 1233312)
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 the 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.

akash992391 16-02-2013 11:56

Re: we have servo problem and programming
 
its still not working:confused: :confused:

Alan Anderson 17-02-2013 01:04

Re: we have servo problem and programming
 
Quote:

Originally Posted by akash992391 (Post 1234325)
its still not working:confused: :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.


All times are GMT -5. The time now is 02:13.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi