Go to Post Unlike robot design, in the clothing world there's no such thing as too much pocketing - Jaci [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 Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 14-12-2010, 17:01
Red987 Red987 is offline
Registered User
FRC #0987
 
Join Date: Jan 2010
Location: Las Vegas
Posts: 9
Red987 is an unknown quantity at this point
[FTC]: Issues adding 3rd servo

ok so i have 2 servos working, but when i try to add a 3rd, all the servos stop working completely, but i can still drive the robot. When i push the buttons for the servos, the drive terrain starts moving. I have posted the code and could really use some help with getting all the servos to work.
Attached Files
File Type: zip 3rd servo4.zip (598.4 KB, 22 views)
Reply With Quote
  #2   Spotlight this post!  
Unread 14-12-2010, 17:27
aklego aklego is offline
Registered User
FTC #3595 (Schrödinger's Hat)
Team Role: Mentor
 
Join Date: Oct 2009
Rookie Year: 2004
Location: Alaska
Posts: 89
aklego is just really niceaklego is just really niceaklego is just really niceaklego is just really nice
Re: [FTC]: Issues adding 3rd servo

I believe you have a problem with your motor and servo configurations. Both your motor controller and servo controller seem to be configured to be the first in the daisy chain.
Reply With Quote
  #3   Spotlight this post!  
Unread 14-12-2010, 21:38
PSHRobotics PSHRobotics is offline
Registered User
FRC #1182
Team Role: Programmer
 
Join Date: Feb 2010
Rookie Year: 2008
Location: Missouri
Posts: 38
PSHRobotics is an unknown quantity at this point
Re: [FTC]: Issues adding 3rd servo

Quote:
Originally Posted by Red987 View Post
ok so i have 2 servos working, but when i try to add a 3rd, all the servos stop working completely, but i can still drive the robot. When i push the buttons for the servos, the drive terrain starts moving. I have posted the code and could really use some help with getting all the servos to work.
It would be really helpful if you could post your motor configuration and servo configuration files. And the program with 2 servos working.
I would also recommend not using two joystick reads for the same controller. Though I haven't seen it ruin a program, I have seen it increase the possibility of logic problems.
Also, when teleop is offline or the main loop is "False" you are using the template motor configurations to stop the robot. What would be more common to do is use the configuration file you are using to actually move the robot and also use it to stop the robot.
Other than those details, which shouldn't break the code, the actual code for the servo looks correct so I suspect something is wrong in either wiring or in the configurations.
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]: Samantha issues at VCU FRC/FTC workshops - how to fix cybiko123 FIRST Tech Challenge 3 13-12-2010 13:18
[FTC]: [FTC]: RobotC Template Problem (causing an FMS issue) and Potential Servo Prob PackersFan FIRST Tech Challenge 11 26-01-2009 21:25
[FTC]: Servo Reversing? teamN20 FIRST Tech Challenge 0 26-11-2008 14:17
[FTC]: FTC Servo-Motor Problem with Labview dnhansen FIRST Tech Challenge 1 26-10-2008 00:43
Servo Controller Power Issues.... John Gutmann Electrical 8 09-04-2007 01:31


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

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