Phoenix tuner motor inversion for TalonFX

Is there a way the invert positive direction of a talonfx motor in Phoenix tuner

The quick read through of the docs doesn’t say much about it.

1 Like

Inverts are typically set in API.
Phoenix Tuner has the ability to temporarily set inverts when using the control tab, but when running your application, you should be calling the setInverted() method on the motor controller object. The Tuner Invert override feature will not persist.

Information on how to set invert using API is here: Bring Up: Talon FX/SRX and Victor SPX — Phoenix documentation

1 Like

Do you know what value for talonfx I should be looking at in Phoenix tuner?

I know that the setInverted key shows up for Talonsrx but can’t really find it for talonfx.

Phoenix Tuner reports the inversion state during a self-test snapshot, it’s located near the bottom of the first block of text. Since motor inversion is not a config, it will not show in the configs tab, if that’s where you’re looking.

I don’t quite understand what you mean by “key”. If you’re talking about the API method, it’s the same API method: CTRE_Phoenix: com.ctre.phoenix.motorcontrol.can.TalonFX Class Reference

1 Like

Yes this is what I was looking for :frowning: thanks for answering my question.

By key, I’m saying that each line in the config is a (key,value) pair. So “Clear Pos On Forward Limit” would be the key and the value would be “false”

Gotcha, that makes sense.
However, neither TalonFX nor TalonSRX have motor invert on that page. I just plugged in a Talon SRX, exported the config json and searched it for “invert” to double check.
So maybe you’re misremembering what’s available on the config page from SRX, or mistaking it for a similar term, such as Auxiliary PID Polarity.

In any case, glad it’s cleared up for you so you can continue!

I misremember NOTHING :slight_smile:

2 Likes

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.