001package com.ctre.phoenix.platform; 002 003/** 004 * Devices available to Sim 005 */ 006public enum DeviceType { 007 /** 008 * TalonSRX 009 */ 010 TalonSRX(0), 011 /** 012 * VictorSPX 013 */ 014 VictorSPX(1), 015 /** 016 * Pigeon 017 */ 018 PigeonIMU(2), 019 /** 020 * Pigeon over Ribbon Cable 021 */ 022 RibbonPigeonIMU(3), 023 /** 024 * TalonFX 025 */ 026 TalonFX(4), 027 /** 028 * CANCoder 029 */ 030 CANCoder(5); 031 032 /** 033 * Value of DeviceType 034 */ 035 public int value; 036 /** 037 * Create DeviceType of specified value 038 * @param value Value of DeviceType 039 */ 040 DeviceType(int value) 041 { 042 this.value = value; 043 } 044}