001package com.ctre.phoenix.motorcontrol.can;
002
003import com.ctre.phoenix.motorcontrol.SensorTerm;
004import com.ctre.phoenix.motorcontrol.RemoteSensorSource;
005
006/**
007 * Base set of configurables related to PID
008 */
009public class BasePIDSetConfiguration{
010    /**
011     *  Feedback coefficient of selected sensor
012     */
013    public double selectedFeedbackCoefficient;
014
015        public BasePIDSetConfiguration() {
016        selectedFeedbackCoefficient = 1.0;
017        }
018
019    /**
020     * @return String representation of configs
021     */
022        public String toString() {
023                return toString("");
024        }
025
026    /**
027     * @param prependString
028     *              String to prepend to configs
029     * @return String representation of configs
030     */
031    public String toString(String prependString) {
032        return prependString + ".selectedFeedbackCoefficient = " + String.valueOf(selectedFeedbackCoefficient) + ";\n";
033
034    }
035
036} // class BasePIDSetConfiguration