001/* Copyright (C) Cross The Road Electronics 2024 */ 002package com.ctre.phoenix.motorcontrol; 003 004/** 005 * Choose the type of follower 006 */ 007public enum FollowerType { 008 /** 009 * Follow the percentOutput the master is using 010 */ 011 PercentOutput(0), 012 /** 013 * Follow the auxiliary output the master is 014 * calculating. Used for 2-axis control. 015 * This typically means apply PID0 - PID1 from master. 016 */ 017 AuxOutput1(1); 018 019 /** Value of follower type */ 020 public int value; 021 /** 022 * Create a FollowerType of specified value 023 * @param value Value of FollowerType 024 */ 025 FollowerType(int value) 026 { 027 this.value = value; 028 } 029};