Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   CANTalon are broken since 2.2 frimware (http://www.chiefdelphi.com/forums/showthread.php?t=154614)

cnc4 02-02-2017 11:11

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!

notmattlythgoe 02-02-2017 11:15

Re: CANTalon are broken since 2.2 frimware
 
Quote:

Originally Posted by cnc4 (Post 1639444)
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?

Mark McLeod 02-02-2017 11:17

Re: CANTalon are broken since 2.2 frimware
 
Did you recheck/reset the Talon IDs once you'd updated the firmware?

cnc4 02-02-2017 11:28

Re: CANTalon are broken since 2.2 frimware
 
Quote:

Originally Posted by notmattlythgoe (Post 1639445)
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.

ozrien 02-02-2017 11:39

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).

cnc4 02-02-2017 19:20

Re: CANTalon are broken since 2.2 frimware
 
Quote:

Originally Posted by ozrien (Post 1639457)
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 (Post 1639457)
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 (Post 1639457)
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!

cnc4 02-02-2017 19:56

Re: CANTalon are broken since 2.2 frimware
 
Quote:

Originally Posted by ozrien (Post 1639457)
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

ozrien 02-02-2017 22:38

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.

ahartnet 03-02-2017 01:12

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


All times are GMT -5. The time now is 04:43.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi