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