Go to Post The evil Chief Delphi machine will begin to consume you and your non-robotics life thread by thread. First hand experience :D. - frcguy [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 13-02-2013, 21:28
akash992391 akash992391 is offline
Registered User
AKA: Akash
FRC #4684
Team Role: Programmer
 
Join Date: Nov 2012
Rookie Year: 2013
Location: yonkers
Posts: 76
akash992391 is on a distinguished road
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
Attached Thumbnails
Click image for larger version

Name:	IMG_2774.JPG
Views:	85
Size:	1.85 MB
ID:	13998  
  #2   Spotlight this post!  
Unread 13-02-2013, 21:37
MagiChau's Avatar
MagiChau MagiChau is offline
Registered User
AKA: Michael Chau
FRC #0085 (B.O.B. (Built on Brains))
Team Role: Alumni
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Zeeland, Michigan
Posts: 875
MagiChau is just really niceMagiChau is just really niceMagiChau is just really niceMagiChau is just really nice
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   Spotlight this post!  
Unread 13-02-2013, 21:40
akash992391 akash992391 is offline
Registered User
AKA: Akash
FRC #4684
Team Role: Programmer
 
Join Date: Nov 2012
Rookie Year: 2013
Location: yonkers
Posts: 76
akash992391 is on a distinguished road
Re: we have servo problem and programming

yes it is
  #4   Spotlight this post!  
Unread 13-02-2013, 22:11
MagiChau's Avatar
MagiChau MagiChau is offline
Registered User
AKA: Michael Chau
FRC #0085 (B.O.B. (Built on Brains))
Team Role: Alumni
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Zeeland, Michigan
Posts: 875
MagiChau is just really niceMagiChau is just really niceMagiChau is just really niceMagiChau is just really nice
Re: we have servo problem and programming

Could you post the code you wrote?
  #5   Spotlight this post!  
Unread 13-02-2013, 22:43
akash992391 akash992391 is offline
Registered User
AKA: Akash
FRC #4684
Team Role: Programmer
 
Join Date: Nov 2012
Rookie Year: 2013
Location: yonkers
Posts: 76
akash992391 is on a distinguished road
Re: we have servo problem and programming

here it is
Attached Thumbnails
Click image for larger version

Name:	IMG_2776.JPG
Views:	91
Size:	1.89 MB
ID:	14001  
  #6   Spotlight this post!  
Unread 14-02-2013, 10:25
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: we have servo problem and programming

Quote:
Originally Posted by akash992391 View Post
...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?
  #7   Spotlight this post!  
Unread 14-02-2013, 11:08
tsaksa's Avatar
tsaksa tsaksa is offline
Registered User
FRC #0997 (CHS Robotics)
Team Role: Mentor
 
Join Date: Jul 2011
Rookie Year: 2011
Location: Corvallis Oregon
Posts: 203
tsaksa has a reputation beyond reputetsaksa has a reputation beyond reputetsaksa has a reputation beyond reputetsaksa has a reputation beyond reputetsaksa has a reputation beyond reputetsaksa has a reputation beyond reputetsaksa has a reputation beyond reputetsaksa has a reputation beyond reputetsaksa has a reputation beyond reputetsaksa has a reputation beyond reputetsaksa has a reputation beyond repute
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.
__________________
This is the zeroth day of the rest of your life.
  #8   Spotlight this post!  
Unread 14-02-2013, 12:14
tr6scott's Avatar
tr6scott tr6scott is offline
Um, I smell Motor!
AKA: Scott McBride
FRC #2137 (TORC)
Team Role: Mentor
 
Join Date: Dec 2007
Rookie Year: 2005
Location: Oxford, MI
Posts: 515
tr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond reputetr6scott has a reputation beyond repute
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.

__________________
The sooner we get behind schedule, the more time we have to catch up.

  #9   Spotlight this post!  
Unread 14-02-2013, 13:02
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,801
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
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.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 14-02-2013 at 15:37.
  #10   Spotlight this post!  
Unread 14-02-2013, 14:29
toastnbacon toastnbacon is offline
Registered User
AKA: James
FRC #3169 (Saintborgs)
Team Role: College Student
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Edmond
Posts: 97
toastnbacon is a jewel in the roughtoastnbacon is a jewel in the roughtoastnbacon is a jewel in the roughtoastnbacon is a jewel in the rough
Re: we have servo problem and programming

Quote:
Originally Posted by Mark McLeod View Post
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.
__________________
"This must be what going insane feels like."-Simon Tam, Firefly
  #11   Spotlight this post!  
Unread 16-02-2013, 11:56
akash992391 akash992391 is offline
Registered User
AKA: Akash
FRC #4684
Team Role: Programmer
 
Join Date: Nov 2012
Rookie Year: 2013
Location: yonkers
Posts: 76
akash992391 is on a distinguished road
Re: we have servo problem and programming

its still not working
  #12   Spotlight this post!  
Unread 17-02-2013, 01:04
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: we have servo problem and programming

Quote:
Originally Posted by akash992391 View Post
its still not working
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.
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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