Our call to selected sensor configuration is getting 2048 units per revolution, but set sensor position is getting the 4096 units per revolution. We have changed/tried the config in different options but have not been able to get selected sensor configuration to be what we expect.
The following code is our config settings for the motor controller:
private TalonSRX m_masterMotor;
m_masterMotor.configSelectedFeedbackSensor(TalonSRXFeedbackDevice.CTRE_MagEncoder_Relative, RobotMap.PID_PRIMARY_SLOT, RobotMap.LAUNCHER_CONFIG_TIMEOUT_MS);
This is what we are outputting to our debugging console: