Go to Post You can never have too many backups. - Venkatesh [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 16-03-2012, 07:57
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,752
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: interesting servo actions

You are referring to a pan/tilt assembly using two servos, sometimes called a gimbal.

Before enabling vision, move the sliders and determine if the servos work and if they are on the correct ports. Remember that you need a jumper next to the Digital Sidecar PWM for each.

Once you have working servos, you can enable vision, calibrate the color, and have the camera track the colored target.

Please indicate where the failure is again?

Greg McKaskle
Reply With Quote
  #2   Spotlight this post!  
Unread 16-03-2012, 14:41
tilky's Avatar
tilky tilky is offline
Registered User
AKA: Ryan Thielke
FRC #3137
Team Role: Programmer
 
Join Date: Nov 2011
Rookie Year: 2011
Location: Connetquot
Posts: 188
tilky is an unknown quantity at this point
Re: interesting servo actions

whenever I try to set the y value, on whatever PWM, it doesn't set it (tilt). But if I switch the PWM's manually to see if the tilt servo is working, only that one works and the pan doesn't. So whatever one is supposed to be the y doesn't work
Reply With Quote
  #3   Spotlight this post!  
Unread 16-03-2012, 14:50
RufflesRidge RufflesRidge is offline
Registered User
no team
 
Join Date: Jan 2012
Location: USA
Posts: 989
RufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant future
Re: interesting servo actions

Check that both ports have the Jumper installed correctly. You can also try changing the port for the "y" servo to verify it isn't an issue with that one specific port on the Digital Sidecar.
Reply With Quote
  #4   Spotlight this post!  
Unread 16-03-2012, 14:53
tilky's Avatar
tilky tilky is offline
Registered User
AKA: Ryan Thielke
FRC #3137
Team Role: Programmer
 
Join Date: Nov 2011
Rookie Year: 2011
Location: Connetquot
Posts: 188
tilky is an unknown quantity at this point
Re: interesting servo actions

I did and I thought I said that I did
Reply With Quote
  #5   Spotlight this post!  
Unread 16-03-2012, 14:58
RufflesRidge RufflesRidge is offline
Registered User
no team
 
Join Date: Jan 2012
Location: USA
Posts: 989
RufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant future
Re: interesting servo actions

Quote:
Originally Posted by tilky View Post
I did and I thought I said that I did
And? What was the result? Does the issue stay with the port (PWM 9 for example?) or does it follow the code?

If you, in software, change the Y to be on the currently working 'x' port does it work? If not, the problem is in code; if so, then the problem is either in the Digital Sidecar or your DB37 cable to the Digital Sidecar, it is possible to reconstruct the cable in a way that not all pins fully make contact.
Reply With Quote
  #6   Spotlight this post!  
Unread 16-03-2012, 15:17
tilky's Avatar
tilky tilky is offline
Registered User
AKA: Ryan Thielke
FRC #3137
Team Role: Programmer
 
Join Date: Nov 2011
Rookie Year: 2011
Location: Connetquot
Posts: 188
tilky is an unknown quantity at this point
Re: interesting servo actions

I left the code the way it was when only pan worked and switched the two PWM wires. Then only the tilt worked. is it at all possible that it is code or should I get the electrical team
Reply With Quote
  #7   Spotlight this post!  
Unread 16-03-2012, 15:19
RufflesRidge RufflesRidge is offline
Registered User
no team
 
Join Date: Jan 2012
Location: USA
Posts: 989
RufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant future
Re: interesting servo actions

Quote:
Originally Posted by tilky View Post
I left the code the way it was when only pan worked and switched the two PWM wires. Then only the tilt worked
Which is great, that rules out an issue with the PWM cable and the servo. You still have the code, Digital Sidecar and DB37 cable left to troubleshoot which is where my suggestions differ from what you have already tried.
Reply With Quote
  #8   Spotlight this post!  
Unread 16-03-2012, 15:26
tilky's Avatar
tilky tilky is offline
Registered User
AKA: Ryan Thielke
FRC #3137
Team Role: Programmer
 
Join Date: Nov 2011
Rookie Year: 2011
Location: Connetquot
Posts: 188
tilky is an unknown quantity at this point
Re: interesting servo actions

Quote:
Originally Posted by Mike AA View Post
You may just have a bad cable. Check the cables with a continuity tester.
can you please read all of the posts before you reply. We already ruled that out numerous times
Reply With Quote
  #9   Spotlight this post!  
Unread 16-03-2012, 15:26
tilky's Avatar
tilky tilky is offline
Registered User
AKA: Ryan Thielke
FRC #3137
Team Role: Programmer
 
Join Date: Nov 2011
Rookie Year: 2011
Location: Connetquot
Posts: 188
tilky is an unknown quantity at this point
Re: interesting servo actions

to troubleshoot sidecar, run drive motors on the pwms I was using???
Reply With Quote
  #10   Spotlight this post!  
Unread 16-03-2012, 15:35
RufflesRidge RufflesRidge is offline
Registered User
no team
 
Join Date: Jan 2012
Location: USA
Posts: 989
RufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant future
Re: interesting servo actions

That would work, or the 'x' servo code that you know is working properly. Any code that you know 100% is correct and you can just change the PWM port to try to test the DB37/Digital Sidecar. To narrow it down between those two you would have to swap one of them out or test the continuity of each pin of the DB37 as MikeAA suggested above.
Reply With Quote
  #11   Spotlight this post!  
Unread 16-03-2012, 15:41
tilky's Avatar
tilky tilky is offline
Registered User
AKA: Ryan Thielke
FRC #3137
Team Role: Programmer
 
Join Date: Nov 2011
Rookie Year: 2011
Location: Connetquot
Posts: 188
tilky is an unknown quantity at this point
Re: interesting servo actions

I think drive would be the most logical. Will test
Reply With Quote
Reply


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 22:10.

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