Go to Post We all change, and we need to make sure that we can grow and change together in a positive way. Keep close the people who are capable of doing this with you, and you will surround yourself with the tools for success. - Jaine Perotti [more]
Home
Go Back   Chief Delphi > Technical > Control System
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rating: Thread Rating: 2 votes, 3.00 average. Display Modes
  #1   Spotlight this post!  
Unread 09-09-2013, 13:56
ekapalka's Avatar
ekapalka ekapalka is offline
Registered User
FRC #3216
 
Join Date: Dec 2012
Location: Bermuda
Posts: 277
ekapalka has a spectacular aura aboutekapalka has a spectacular aura about
Talon SR issues

Hello! We just got our chassis assembled and running Mecanum drive code, and we've hit an impasse. Actually two of them. First, the talons all receive a signal and 'twitch' when they are not supposed to be receiving a signal and more so when at least one of them is. It causes the robot to 'creep' when enabled but not being controlled. We are going to try to calibrate them with our controller today, but it happens when no controller is plugged in, so it's a bit unnerving. It doesn't severely mess with driving, though. The other problem will hopefully be fixed with calibration. The motors spin about 50% faster in reverse than they do while going forward (meaning that the robot will arc while strafing and strafe a little while driving). Does anyone know if these are things that should/can be adjusted within the program or if these are caused by bad Talons (probably not)/sidecar/PWM cables? Do other people have this issue? Thanks!
Reply With Quote
  #2   Spotlight this post!  
Unread 09-09-2013, 14:08
connor.worley's Avatar
connor.worley connor.worley is offline
Registered User
FRC #0973 (Greybots)
Team Role: Mentor
 
Join Date: Mar 2011
Rookie Year: 2010
Location: Berkeley/San Diego
Posts: 601
connor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond reputeconnor.worley has a reputation beyond repute
Re: Talon SR issues

Make sure you're using the right Talon objects in code, as RobotDrive will create Jaguars by default. Posting language info/code could be helpful.
__________________
Team 973 (2016-???)
Team 5499 (2015-2016)
Team 254 (2014-2015)

Team 1538 (2011-2014)
2014 Driver (25W 17L 1T)
日本語でOK
Reply With Quote
  #3   Spotlight this post!  
Unread 09-09-2013, 17:08
ekapalka's Avatar
ekapalka ekapalka is offline
Registered User
FRC #3216
 
Join Date: Dec 2012
Location: Bermuda
Posts: 277
ekapalka has a spectacular aura aboutekapalka has a spectacular aura about
Re: Talon SR issues

Thanks for your reply :) My code is located on this thread (I decided to ask on the current thread because I was hoping It would be read by more electrical-oriented people). I know the motors are initialized in the wrong order, but that shouldn't cause the problem, right?
Reply With Quote
  #4   Spotlight this post!  
Unread 10-09-2013, 01:54
Mr V's Avatar
Mr V Mr V is offline
FIRST Senior Mentor Washington
FRC #5588 (Reign)
Team Role: Coach
 
Join Date: Feb 2011
Rookie Year: 2009
Location: Maple Valley Wa
Posts: 997
Mr V has a reputation beyond reputeMr V has a reputation beyond reputeMr V has a reputation beyond reputeMr V has a reputation beyond reputeMr V has a reputation beyond reputeMr V has a reputation beyond reputeMr V has a reputation beyond reputeMr V has a reputation beyond reputeMr V has a reputation beyond reputeMr V has a reputation beyond reputeMr V has a reputation beyond repute
Re: Talon SR issues

We had a problem with motors twitching last season and yes they were controlled by Talons, however the problem turned out to be a fried component in the DSC. My not be your problem but if you have another DSC it is worth a try to swap it in.
__________________
All statements made on Chief Delphi by me are my own opinions and are not official FIRST rulings or opinions and should not be construed as such.




https://www.facebook.com/pages/Team-...77508782410839
Reply With Quote
  #5   Spotlight this post!  
Unread 10-09-2013, 14:02
bardd's Avatar
bardd bardd is offline
That loud guy
AKA: Bar Danino
FRC #2212 (The Spikes)
Team Role: Alumni
 
Join Date: Dec 2011
Rookie Year: 2011
Location: Israel, Lod
Posts: 347
bardd has a brilliant futurebardd has a brilliant futurebardd has a brilliant futurebardd has a brilliant futurebardd has a brilliant futurebardd has a brilliant futurebardd has a brilliant futurebardd has a brilliant futurebardd has a brilliant futurebardd has a brilliant futurebardd has a brilliant future
Re: Talon SR issues

I never got to use the Talon SR, but your problem sounds like a faulty wiring problem, check for shorts (both in the power cords and information cords [=PWM]), make sure your PWMs are all in the correct places and aren't flipped over (it shouldn't cause your problem but won't hurt to check anyway), make sure there aren't any jumpers next to your PWMs in the DSC.

Also, I know very little about programming so I can't explain this, but in 2012 our robot moved without command once when it was enabled, and our programmer said something about dividing in 0. Dunno where or why it made that happen.
__________________
Team FRC#2212 The Spikes, 2011-...
Builld leader 2013
Drive coach 2012-2013
Mentor 2015-...
Reply With Quote
  #6   Spotlight this post!  
Unread 01-02-2014, 13:37
wildbot3844 wildbot3844 is offline
Registered User
AKA: James Helton
FRC #3844 (Kentucky Wildbots)
Team Role: Programmer
 
Join Date: Mar 2013
Rookie Year: 2012
Location: Kentucky
Posts: 11
wildbot3844 is an unknown quantity at this point
Re: Talon SR issues

Can you post what the code should look like to control a drive with talons?
Reply With Quote
  #7   Spotlight this post!  
Unread 01-02-2014, 15:25
Domenic Rodriguez's Avatar
Domenic Rodriguez Domenic Rodriguez is offline
Registered User
FRC #0316 (LuNaTeCs)
Team Role: College Student
 
Join Date: Sep 2010
Rookie Year: 2011
Location: Grove City, PA
Posts: 213
Domenic Rodriguez has a spectacular aura aboutDomenic Rodriguez has a spectacular aura aboutDomenic Rodriguez has a spectacular aura about
Re: Talon SR issues

Quote:
Originally Posted by wildbot3844 View Post
Can you post what the code should look like to control a drive with talons?
By drive I assume you mean a robot drivetrain? That depends on what language you are using. Here's a quick example in Java:
Code:
import edu.wpi.first.wpilibj.*;

/**
 * Simple example of how to use Talons to control a drivetrain
 */
public class TalonExample extends IterativeRobot {
    private Joystick joystick = new Joystick(1);
    private Talon leftMotor = new Talon(1);
    private Talon rightMotor = new Talon(2);
    // Pass the RobotDrive constructor the two Talon objects we created
    private RobotDrive drive = new RobotDrive(leftMotor, rightMotor);

    public void teleopPeriodic() {
        drive.arcadeDrive(joystick.getY(), joystick.getX());
    }
}
__________________

LuNaTeCs - Learning Under Nurturing Adults Teaching Engineering Concepts and Skills - Small and Mighty!

FRC 316 LuNaTeCs - Student (2011-2014), Lead Programmer (2011-2014), Team Captain (2013-2014), Operator (2013), Drive Coach (2014), Mentor (2015-????)
'11 Philly Regional Finalists, '13 Chestnut Hill Finalists, '13 Lenape Champions, '13 Archimedes Division, '14 Chestnut Hill Champions, '14 Lenape Champions
FTC 7071 EngiNerds - Founding Advisor (2013-2014) | FRC 5420 Velocity - Founding Advisor (2015)
Grove City College Class of '18, Electrical/Computer Engineering (B.S.E.E)

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 03:18.

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