Can you make a SparkMax follow a TalonSRX?

I’ve been trying to get a SparkMax to follow a TalonSRX but I’ve had no luck. Is it even possible to get a SparkMax to follow a TalonSRX? If it is please provide code that allows a SparkMax to follow a TalonSRX. We are using java so code in java would be appreciated but C++ is also fine.

In the documentation for both C++ and Java the CANSparkMax object refers to a “ExternalFollower” that has types of “kFollowerPhoenix”, which indicates CTRE’s TalonSRX last I checked.

https://www.revrobotics.com/content/sw/max/sw-docs/java/com/revrobotics/CANSparkMax.ExternalFollower.html

Hope this helps!

I’ve tried this code:
sparkmaxfollowerone.follow(ExternalFollower.kFollowerPhoenix, talonCANId);
but it didn’t work. I’m not sure if this is the correct way to do it or if it’s even possible. Any help on this topic would be appreciated. Also on the rev client the SparkMax master ID is a 33821697 when I deploy the code above.

1 Like

Have you been able to demonstrate a SPARK MAX following a SPARK MAX?

Our testing is showing that the SPARK MAX is unable to follow another SPARK MAX .

Does the SPARK MAX support following at all? Has anyone been able to make follow work with the SPARK MAX?