001package com.ctre.phoenix.motorcontrol; 002 003/** 004 * Control Frames for enhanced motor controllers 005 */ 006public enum ControlFrameEnhanced 007{ 008 /** 009 * Control 010 */ 011 Control_2_Enable_50m(0x040040), 012 /** 013 * General Control frame for motor control 014 */ 015 Control_3_General(0x040080), 016 /** 017 * Advanced Control frame for motor control 018 */ 019 Control_4_Advanced(0x0400C0), 020 /** 021 * Control frame to override feedback output 022 */ 023 Control_5_FeedbackOutputOverride(0x040100), 024 /** 025 * Control frame for adding trajectory points from Stream object 026 */ 027 Control_6_MotProfAddTrajPoint(0x040140); 028 029 /** 030 * Value of enhanced control frame 031 */ 032 public final int value; 033 /** 034 * Create enhanced control frame of initValue 035 * @param initValue Value to create enhanced control frame 036 */ 037 ControlFrameEnhanced(int initValue) 038 { 039 this.value = initValue; 040 } 041};