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