We didn’t take advantage of any closed loop functions on the Talon SRX or SparkMax last year. Our team is anticipating using either Motion Magic or REV Smart Motion (depends on when our Falcons arrive) during an autonomous period this year.
My question is after enabling closed loop functionality for a drivetrain in autonomous, do you need to disable this feature in teleop? I’m seeing the command SetControlMode for the Talons, which I imagine is what I would need, but I can’t seem to locate a similar command in the SparkMax API.
From the phrasing of your question, it sounds like you do not intend to use closed-loop in teleop. If this is what you want to do, note that setReference() allows you to change the control mode.