Go to Post The only thing happy about ship day is the promise of sleep coming soon... - StephLee [more]
Home
Go Back   Chief Delphi > Technical > Programming
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 02-02-2017, 11:11
cnc4 cnc4 is offline
Registered User
FRC #2231 (OnyxTronix)
Team Role: Programmer
 
Join Date: Jul 2016
Rookie Year: 2015
Location: Israel
Posts: 21
cnc4 is an unknown quantity at this point
CANTalon are broken since 2.2 frimware

Hi all, while trying to debug a problem with the talons srx I found my self updating them to the latest image.
Now doing set once will work for a sec.
When I do set(-1) in a loop (execute) they blink red but also orange randomly, if I print get() it will print 0 randomly.
I am using java.
wtf is going on here? Please help!
Reply With Quote
  #2   Spotlight this post!  
Unread 02-02-2017, 11:15
notmattlythgoe's Avatar
notmattlythgoe notmattlythgoe is offline
Flywheel Police
AKA: Matthew Lythgoe
FRC #2363 (Triple Helix)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2009
Location: Newport News, VA
Posts: 1,729
notmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond reputenotmattlythgoe has a reputation beyond repute
Re: CANTalon are broken since 2.2 frimware

Quote:
Originally Posted by cnc4 View Post
Hi all, while trying to debug a problem with the talons srx I found my self updating them to the latest image.
Now doing set once will work for a sec.
When I do set(-1) in a loop (execute) they blink red but also orange randomly, if I print get() it will print 0 randomly.
I am using java.
wtf is going on here? Please help!
Is it possible that you are sending controls from multiple locations?
Reply With Quote
  #3   Spotlight this post!  
Unread 02-02-2017, 11:17
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,926
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: CANTalon are broken since 2.2 frimware

Did you recheck/reset the Talon IDs once you'd updated the firmware?
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #4   Spotlight this post!  
Unread 02-02-2017, 11:28
cnc4 cnc4 is offline
Registered User
FRC #2231 (OnyxTronix)
Team Role: Programmer
 
Join Date: Jul 2016
Rookie Year: 2015
Location: Israel
Posts: 21
cnc4 is an unknown quantity at this point
Re: CANTalon are broken since 2.2 frimware

Quote:
Originally Posted by notmattlythgoe View Post
Is it possible that you are sending controls from multiple locations?
Thanks! I would of said no because I already checked that and because it started happening only after I reimage them.
But apparently SafetyEnabled in the RobotDrive coused it to happened.
Reply With Quote
  #5   Spotlight this post!  
Unread 02-02-2017, 11:39
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: 558
ozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond repute
Re: CANTalon are broken since 2.2 frimware

You mean firmware 2.20 right?

Quote:
But apparently SafetyEnabled in the RobotDrive coused it to happened
If this is true then you should be seeing a driver station message indicating this. See section 16.14 for more information in the Talon SRX Software reference manual.

I would recommend following the debugging steps in section 16 where applicable.

There are no reported issues with 2.20 so I suspect the issue is something else.

Use the web-based config and self-test to see what state the Talon is when it's behavior is not matching your expectation (section 2).
Reply With Quote
  #6   Spotlight this post!  
Unread 02-02-2017, 19:20
cnc4 cnc4 is offline
Registered User
FRC #2231 (OnyxTronix)
Team Role: Programmer
 
Join Date: Jul 2016
Rookie Year: 2015
Location: Israel
Posts: 21
cnc4 is an unknown quantity at this point
Re: CANTalon are broken since 2.2 frimware

Quote:
Originally Posted by ozrien View Post
You mean firmware 2.20 right?
If this is true then you should be seeing a driver station message indicating this.
Well I got lots of warnings that are saying that there is not enough output refresh or something like that. After disabling this I noticed it went away, now it's explains why.


Quote:
Originally Posted by ozrien View Post
I would recommend following the debugging steps in section 16 where applicable.
Well I realy did, I did not saw it. Thanks

Quote:
Originally Posted by ozrien View Post
There are no reported issues with 2.20 so I suspect the issue is something else.

Use the web-based config and self-test to see what state the Talon is when it's behavior is not matching your expectation (section 2).
Well the problem got solved, even the problem I debugged before (the reason I reimaged the talons) got fixed so I can totally approve you, Thanks!
Reply With Quote
  #7   Spotlight this post!  
Unread 02-02-2017, 19:56
cnc4 cnc4 is offline
Registered User
FRC #2231 (OnyxTronix)
Team Role: Programmer
 
Join Date: Jul 2016
Rookie Year: 2015
Location: Israel
Posts: 21
cnc4 is an unknown quantity at this point
Re: CANTalon are broken since 2.2 frimware

Quote:
Originally Posted by ozrien View Post
You mean firmware 2.20 right?


If this is true then you should be seeing a driver station message indicating this. See section 16.14 for more information in the Talon SRX Software reference manual.

I would recommend following the debugging steps in section 16 where applicable.

There are no reported issues with 2.20 so I suspect the issue is something else.

Use the web-based config and self-test to see what state the Talon is when it's behavior is not matching your expectation (section 2).

Can you tell me what is the difference between those options:

Code:
configMaxOutputVoltage
Code:
configNominalOutputVoltage
Code:
configPeakOutputVoltage
Reply With Quote
  #8   Spotlight this post!  
Unread 02-02-2017, 22:38
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: 558
ozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond repute
Re: CANTalon are broken since 2.2 frimware

Please read Section 10.5. Peak/Nominal Closed-Loop Output in the Talon SRX Software Reference Manual.

configMaxOutputVoltage(x) is a carry over from the old Jaguar interface. Underneath it just calls configPeakOutputVoltage(x,-x).

All three APIs only affect the closed-loop modes inside Talon.
Reply With Quote
  #9   Spotlight this post!  
Unread 03-02-2017, 01:12
ahartnet's Avatar
ahartnet ahartnet is offline
Registered User
AKA: Andrew Hartnett
FRC #5414 (Pearadox)
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2005
Location: Houston, Texas
Posts: 210
ahartnet has a reputation beyond reputeahartnet has a reputation beyond reputeahartnet has a reputation beyond reputeahartnet has a reputation beyond reputeahartnet has a reputation beyond reputeahartnet has a reputation beyond reputeahartnet has a reputation beyond reputeahartnet has a reputation beyond reputeahartnet has a reputation beyond reputeahartnet has a reputation beyond reputeahartnet has a reputation beyond repute
Re: CANTalon are broken since 2.2 frimware

You can also see the red/orange or green/orange thing happen if your network is getting slammed by say something like the school network for some reason. I would recommend running hard wired to see if the issue still happens. If it does, maybe by a 5 Ghz USB adapter for your laptop and connect over 5 Ghz instead of the 2.4
__________________
Team 451 The Cat Attack, Student Alumni (2005)
Team 1646 Precision Guessworks, Mentor (2006-2008)
Team 2936 Gatorzillas, Mentor (2011-2014)
Team 5414 Pearadox, Mentor (2015-Present)
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 04:43.

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