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