001/* Copyright (C) Cross The Road Electronics 2024 */ 002package com.ctre.phoenix.motorcontrol.can; 003 004import com.ctre.phoenix.motorcontrol.RemoteFeedbackDevice; 005import com.ctre.phoenix.motorcontrol.can.BasePIDSetConfiguration; 006 007/** 008 * Configs available to VictorSPX's PID 009 */ 010public class VictorSPXPIDSetConfiguration extends BasePIDSetConfiguration { 011 /** 012 * Remote feedback device to select for this PID 013 */ 014 public RemoteFeedbackDevice selectedFeedbackSensor; 015 016 public VictorSPXPIDSetConfiguration() { 017 selectedFeedbackSensor = RemoteFeedbackDevice.None; 018 } 019 020 /** 021 * @return String representation of all the configs 022 */ 023 public String toString() { 024 return toString(""); 025 } 026 027 /** 028 * @param prependString 029 * String to prepend to all the configs 030 * @return String representation of all the configs 031 */ 032 public String toString(String prependString) { 033 034 String retstr = prependString + ".selectedFeedbackSensor = " + selectedFeedbackSensor.toString() + ";\n"; 035 retstr += super.toString(prependString); 036 return retstr; 037 } 038 039 040} 041