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