The constructor SpeedControllerGroup(TalonSRX, TalonSRX) is undefined

Hi I am trying to create a speed ccontroller group and it show an error that says “The constructor SpeedControllerGroup(TalonSRX, TalonSRX) is undefined” can someone help me solve this?

here is my code:

public TalonSRX shooter1 = new TalonSRX(1);

public TalonSRX shooter2 = new TalonSRX(2);

SpeedControllerGroup intake = new SpeedControllerGroup(shooter1, shooter2);

see https://phoenix-documentation.readthedocs.io/en/latest/ch15_WPIDrive.html

1 Like

thanks!