Go to Post You can't stop trying to look for other ways to do things, or that really defeats the whole purpose of inovation. - AmoryG [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, 5.00 average. Display Modes
  #16   Spotlight this post!  
Unread 02-02-2015, 14:01
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,112
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: Troubles with Talon SRX in Follower mode

Unless you expect to be running the first two Talons in a closed-loop mode, you'll probably be better off just leaving things as a 4 Motor drive and removing the Follow setup completely.
Reply With Quote
  #17   Spotlight this post!  
Unread 02-02-2015, 22:43
jfitz0807 jfitz0807 is offline
Registered User
FRC #2877 (Ligerbots)
Team Role: Parent
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Newton, MA
Posts: 65
jfitz0807 is an unknown quantity at this point
Re: Troubles with Talon SRX in Follower mode

I'll change it to a two motor drive. We're using the closed loop for our autonomous.

Thanks for all the help.
Reply With Quote
  #18   Spotlight this post!  
Unread 08-03-2015, 00:13
jmullins16's Avatar
jmullins16 jmullins16 is offline
Registered User
AKA: Jeff Mullins
FRC #2135 (Presentation Invasion)
Team Role: Mentor
 
Join Date: Nov 2011
Rookie Year: 2011
Location: San Jose, CA
Posts: 22
jmullins16 is an unknown quantity at this point
Re: Troubles with Talon SRX in Follower mode

...additional Talon follower (kFollower) mode info...

We had a problem where Talon follower mode was initialized in our Chassis subsystem constructor, but those talons would not follow when first powering on the robot.

If we just restarted the robot code using the driver station, follower mode worked correctly.

We discovered that if we instantiated RobotDrive, did a single call to set the drive motors to zero, and then set up follower mode in the constructor, it all worked correctly.

As a failsafe we will be re-initializing the drive system followers in TeleopInit and AutonomousInit.
Reply With Quote
  #19   Spotlight this post!  
Unread 08-03-2015, 16:36
ozrien's Avatar
ozrien ozrien is offline
Omar Zrien
AKA: Omar
no team
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2003
Location: Sterling Heights, MI
Posts: 516
ozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant future
Re: Troubles with Talon SRX in Follower mode

This sounds exactly like what was fixed in the 2-24-2015 update in wpilib (C++). Are you using C++?

This is explained in a team update....
http://contentviewer.adobe.com/s/FIR...24.html#page_0

And re-explained in section 21.18 in the Talon SRX software ref manual.
http://crosstheroadelectronics.com/control_system.html

Your workaround is also documented as well.
Reply With Quote
  #20   Spotlight this post!  
Unread 09-03-2015, 00:51
jmullins16's Avatar
jmullins16 jmullins16 is offline
Registered User
AKA: Jeff Mullins
FRC #2135 (Presentation Invasion)
Team Role: Mentor
 
Join Date: Nov 2011
Rookie Year: 2011
Location: San Jose, CA
Posts: 22
jmullins16 is an unknown quantity at this point
Re: Troubles with Talon SRX in Follower mode

We are using C++.

The update was definitely installed prior to our testing/fix yesterday. It did not appear to address this issue in any way.

And I can see how the C++ update description is intended to apply to CAN enabling, but we were debugging the fact that the only Talons affected were in follower mode, we didn't quite read the description that way. All other CAN Talons were operating normally.

Regardless, an immediate Set() is the right thing to do, and we're on track now. Just hoping to help others who might be having problems with follower mode.
Reply With Quote
  #21   Spotlight this post!  
Unread 09-03-2015, 02:44
ozrien's Avatar
ozrien ozrien is offline
Omar Zrien
AKA: Omar
no team
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2003
Location: Sterling Heights, MI
Posts: 516
ozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant future
Re: Troubles with Talon SRX in Follower mode

So you updated your eclipse plugins and rebuilt your application? Redeployed, rebooted and still found that your slave Talons were not driving? Were they blinking orange or solid orange?

Last edited by ozrien : 09-03-2015 at 02:48.
Reply With Quote
  #22   Spotlight this post!  
Unread 10-03-2015, 00:16
jmullins16's Avatar
jmullins16 jmullins16 is offline
Registered User
AKA: Jeff Mullins
FRC #2135 (Presentation Invasion)
Team Role: Mentor
 
Join Date: Nov 2011
Rookie Year: 2011
Location: San Jose, CA
Posts: 22
jmullins16 is an unknown quantity at this point
Re: Troubles with Talon SRX in Follower mode

Yes, we had rebuilt our application (clean), redeployed, rebooted (also tried powering off completely), and the slave Talons were not following at first power on. Rebooting the cRIO did not correct the problem. Restarting the code *did* correct the problem.

Both sets of following Talons were flashing orange similar to disabled state.

If we get time to try this again without the workaround this weekend, would it be useful to have the results?
Reply With Quote
  #23   Spotlight this post!  
Unread 10-03-2015, 00:26
ozrien's Avatar
ozrien ozrien is offline
Omar Zrien
AKA: Omar
no team
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2003
Location: Sterling Heights, MI
Posts: 516
ozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant future
Re: Troubles with Talon SRX in Follower mode

can you confirm what lib version shows up for wpilib C++ in the driverstation?

Diagnostic tab..
http://wpilib.screenstepslive.com/s/...ation-software
Reply With Quote
  #24   Spotlight this post!  
Unread 12-03-2015, 19:02
prubic's Avatar
prubic prubic is offline
Team Member
AKA: Petra Rubic
FRC #2135 (Presentation Invasion)
Team Role: Programmer
 
Join Date: Feb 2014
Rookie Year: 2008
Location: San Jose
Posts: 2
prubic is an unknown quantity at this point
Re: Troubles with Talon SRX in Follower mode

our lib version for c++ is 1.2.0
the plugin version for c++ that we have is: 0.1.0.20152241928

Last edited by prubic : 12-03-2015 at 19:17.
Reply With Quote
  #25   Spotlight this post!  
Unread 17-03-2015, 15:35
ozrien's Avatar
ozrien ozrien is offline
Omar Zrien
AKA: Omar
no team
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2003
Location: Sterling Heights, MI
Posts: 516
ozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant future
Re: Troubles with Talon SRX in Follower mode

That sounds right. If you can, send your source to support@crosstheroadelectronics.com with your workaround commented out.

Don't worry about it being "not pretty", just leave it as is.

At least that way we can get the root-cause nailed down and better help other teams.
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:04.

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