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