001package com.ctre.phoenix.motorcontrol.can; 002 003/** 004 * Util class to help with VictorSPX's PID configs 005 */ 006public class VictorSPXPIDSetConfigUtil { 007 private static VictorSPXPIDSetConfiguration _default = new VictorSPXPIDSetConfiguration(); 008 009 static boolean selectedFeedbackSensorDifferent (VictorSPXPIDSetConfiguration settings) { return (!(settings.selectedFeedbackSensor == _default.selectedFeedbackSensor)); } 010 static boolean selectedFeedbackCoefficientDifferent (VictorSPXPIDSetConfiguration settings) { return (!(settings.selectedFeedbackCoefficient == _default.selectedFeedbackCoefficient)); } 011}