Go to Post Forum Anonymity = Rampant Exaggeration, if not outright Blatant Lying. - dsm [more]
Home
Go Back   Chief Delphi > Other > FIRST Tech Challenge
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rating: Thread Rating: 4 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 27-01-2009, 17:29
saaby's Avatar
saaby saaby is offline
Registered User
AKA: Taylor Cannon
FTC #0127 (Fighting Pickles)
Team Role: Programmer
 
Join Date: Oct 2008
Rookie Year: 2008
Location: Texas
Posts: 21
saaby can only hope to improve
[FTC]: Servos

My team is having a large problem with getting the servos to move in our program. We are using robotc. There is a servoTarget[servoname] function and we were wondering if this was the best and/or only way to control the servos? Even when we use this function it does not seem to be very efficient and was not even working in our first attempts to use it.
Reply With Quote
  #2   Spotlight this post!  
Unread 27-01-2009, 18:08
ttldomination's Avatar
ttldomination ttldomination is offline
Sunny
no team
Team Role: Mentor
 
Join Date: Mar 2007
Rookie Year: 2007
Location: Roanoke, TX
Posts: 2,066
ttldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond repute
Re: [FTC]: Servos

Well,

You would need to figure out if your problem is physical or code. Set up a single servo and see if the servo changes to the position you want to determine exactly what kind of problem you have.
__________________
1261: 2007-2012
1648: 2013-2014
5283: 2015
Reply With Quote
  #3   Spotlight this post!  
Unread 27-01-2009, 23:17
saaby's Avatar
saaby saaby is offline
Registered User
AKA: Taylor Cannon
FTC #0127 (Fighting Pickles)
Team Role: Programmer
 
Join Date: Oct 2008
Rookie Year: 2008
Location: Texas
Posts: 21
saaby can only hope to improve
Re: [FTC]: Servos

We tried that but it didn't work, hence my original question, is it the only way to control the servos? If there is another way to control the servos then we could at least test the servo to see where our problem is. From what I have read the only way to control the servo is servo[] and servoTarget[] which is just an alias pointing to the servo[] function.
Reply With Quote
  #4   Spotlight this post!  
Unread 28-01-2009, 17:13
ttldomination's Avatar
ttldomination ttldomination is offline
Sunny
no team
Team Role: Mentor
 
Join Date: Mar 2007
Rookie Year: 2007
Location: Roanoke, TX
Posts: 2,066
ttldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond repute
Re: [FTC]: Servos

To my knowledge, those are the only ways to do the servo position. Uh, let's try these steps.

1. Check your hardware. Are your motors working? Is everything wired properly? I think your wiring's funky considering the test Servo did not work.

2. Make sure that you have the proper setup in the motors and servos set up menu in RobotC.

Let me know if either of these work.
__________________
1261: 2007-2012
1648: 2013-2014
5283: 2015
Reply With Quote
  #5   Spotlight this post!  
Unread 31-01-2009, 13:17
hammy's Avatar
hammy hammy is offline
Registered User
FRC #1622
 
Join Date: Jan 2009
Location: poway ca
Posts: 1
hammy is an unknown quantity at this point
Question Re: [FTC]: Servos

our team is having the same problem and we have tried your three steps
Reply With Quote
  #6   Spotlight this post!  
Unread 31-01-2009, 17:07
ttldomination's Avatar
ttldomination ttldomination is offline
Sunny
no team
Team Role: Mentor
 
Join Date: Mar 2007
Rookie Year: 2007
Location: Roanoke, TX
Posts: 2,066
ttldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond reputettldomination has a reputation beyond repute
Re: [FTC]: Servos

If your servos are facing each other, then go ahead and change their direction in the code as well. Because they are going opposite directions, now that they are facing each other. let me know if that solves the problem.
__________________
1261: 2007-2012
1648: 2013-2014
5283: 2015
Reply With Quote
  #7   Spotlight this post!  
Unread 31-01-2009, 20:38
saaby's Avatar
saaby saaby is offline
Registered User
AKA: Taylor Cannon
FTC #0127 (Fighting Pickles)
Team Role: Programmer
 
Join Date: Oct 2008
Rookie Year: 2008
Location: Texas
Posts: 21
saaby can only hope to improve
Re: [FTC]: Servos

Thanks for the replies but we figured it out...kinda. I don't know why they didn't work when we didn't have our arm attached to them, but in the end our arm was too heavy for the servos to lift so we had to rig it using NXT motors. servoTarget() was the funtion we used and worked pretty well when assisted by the NXT motors
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
[FTC]: [FTC]: Can any one explain to me just how powerful the servos are? sullivan_owns FIRST Tech Challenge 19 02-12-2008 16:06
[FTC]: FTC Controller Station Connectivity (Bluetooth and USB) Issue jbbjjbt FIRST Tech Challenge 6 05-11-2008 11:49
[FTC]: Rookie Team Needs Help With Tetrix FTC Kit! rjustice4 FIRST Tech Challenge 8 05-10-2008 09:44
[FTC]: FTC]: FTC Champ Tournament - Ontario (Scoring Breakdown) Mr. Lim FIRST Tech Challenge 2 03-03-2008 11:54
[FTC]: [FTC]: Ontario Provincial FTC Start/End Times cbhl FIRST Tech Challenge 8 16-12-2007 13:37


All times are GMT -5. The time now is 17:07.

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