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