SImple Question: Encoders on NEO and reset behavior

This should be a simple question…

When a robot is started and a Neo/SparkMax combination is instanciated in the code, are the encoder position counters reset? Or do you need to reset them directly with code (i.e.motor.getEncoder().setPosition(0))

Thanks

Not when code restarts (unless you tell it to at least). But when the SparkMax resets, yes it does.

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