The Robot Application Programming Interface Delegate Project
|
00001 /* 00002 * Copyright (c) 2009 United States Government as represented by the 00003 * Administrator of the National Aeronautics and Space Administration. 00004 * All Rights Reserved. 00005 */ 00006 00007 #include "BaseTypes.idl" 00008 00016 module rapid { 00017 00018 const long ATHLETE_LEG_1 = 0; 00019 const long ATHLETE_LEG_2 = 1; 00020 const long ATHLETE_LEG_3 = 2; 00021 const long ATHLETE_LEG_4 = 3; 00022 const long ATHLETE_LEG_5 = 4; 00023 const long ATHLETE_LEG_6 = 5; 00024 00025 const long ATHLETE_AUX_LEG_ID_INDEX = 0; 00026 const long ATHLETE_AUX_MOTOR_ANGLE_INDEX = 1; 00027 00028 const String32 ATHLETE_SUBSYS_NAME_EHA = "ATHLETE_EHA"; 00029 const String32 ATHLETE_SUBSYS_NAME_FORCE_TORQUE = "ATHLETE_FORCE_TORQUE"; 00030 const String32 ATHLETE_SUBSYS_NAME_BATT = "ATHLETE_BATTERY"; 00031 00032 const String16 ATHLETE_HEADING_RAD_KEY = "ATHLETE_HEADING_RAD"; 00033 const String16 ATHLETE_BODY_TILT_KEY = "ATHLETE_BODY_TILT"; 00034 const String16 ATHLETE_BODY_ROLL_KEY = "ATHLETE_BODY_ROLL"; 00035 const String16 ATHLETE_BODY_PITCH_KEY = "ATHLETE_BODY_PITCH"; 00036 const String16 ATHLETE_ODOMETRY_KEY = "ATHLETE_ODOMETRY"; 00037 00038 const String16 ATHLETE_HEADING_FLOAT = "ATHLETE_HEADING_RAD__FLOAT__"; 00039 const String16 ATHLETE_TILT_FLOAT = "ATHLETE_BODY_TILT__FLOAT__"; 00040 const String16 ATHLETE_ROLL_FLOAT = "ATHLETE_BODY_ROLL__FLOAT__"; 00041 const String16 ATHLETE_PITCH_FLOAT = "ATHLETE_BODY_PITCH__FLOAT__"; 00042 const String16 ATHLETE_ODOMETRY_FLOAT = "ATHLETE_ODOMETRY__FLOAT__"; 00043 00044 const String16 ATHLETE_PROC_ID_INT = "ATHLETE_PROCESSOR_ID__INT__"; 00045 const String16 ATHLETE_CAM_REFP_X_FLOAT = "ATHLETE_CAM_REFP_X__FLOAT__"; 00046 const String16 ATHLETE_CAM_REFP_Y_FLOAT = "ATHLETE_CAM_REFP_Y__FLOAT__"; 00047 const String16 ATHLETE_CAM_REFP_Z_FLOAT = "ATHLETE_CAM_REFP_Z__FLOAT__"; 00048 const String16 ATHLETE_CAM_REFQ_P_FLOAT = "ATHLETE_CAM_REFQ_P__FLOAT__"; 00049 const String16 ATHLETE_CAM_REFQ_Y_FLOAT = "ATHLETE_CAM_REFQ_Y__FLOAT__"; 00050 const String16 ATHLETE_CAM_REFQ_R_FLOAT = "ATHLETE_CAM_REFQ_R__FLOAT__"; 00051 const String16 ATHLETE_CAM_REFQ_W_FLOAT = "ATHLETE_CAM_REFQ_W__FLOAT__"; 00052 const String16 ATHLETE_CAM_V2_FLOAT = "ATHLETE_CAM_V2__FLOAT__"; 00053 00054 const String16 ATHLETE_CAM_IMG_ACQ_TIME_FLOAT = "ATHLETE_CAM_IMGACQTIM__FLOAT__"; 00055 00056 const String16 ATHLETE_BATT1_INT = "ATHLETE_BATT1__INT__"; 00057 const String16 ATHLETE_BATT2_INT = "ATHLETE_BATT2__INT__"; 00058 const String16 ATHLETE_BATT3_INT = "ATHLETE_BATT3__INT__"; 00059 const String16 ATHLETE_BATT4_INT = "ATHLETE_BATT4__INT__"; 00060 const String16 ATHLETE_BATT5_INT = "ATHLETE_BATT5__INT__"; 00061 const String16 ATHLETE_BATT6_INT = "ATHLETE_BATT6__INT__"; 00062 const String16 ATHLETE_BATTV12_INT = "ATHLETE_BATTV12__INT__"; 00063 const String16 ATHLETE_BATTV24_INT = "ATHLETE_BATTV24__INT__"; 00064 const String16 ATHLETE_BATTV48_INT = "ATHLETE_BATTV48__INT__"; 00065 const String16 ATHLETE_BATTSOC_INT = "ATHLETE_BATTSOC__INT__"; 00066 00067 const String32 ATHLETE_NUM_LEGS = "ATHLETE_NUM_LEGS"; 00068 const String32 ATHLETE_DRIVE_FACE = "ATHLETE_DRIVE_FACE"; 00069 const String32 ATHLETE_NUM_JOINTS = "ATHLETE_NUM_JOINTS"; 00070 00071 const String32 ATHLETE_CAMERA_SET = "ATHLETE_CAMERA_SET"; 00072 const String32 ATHLETE_CAMERA_SELECTION = "ATHLETE_CAMERA_SELECTION"; 00073 const String32 ATHLETE_CAMERA_LEG = "ATHLETE_CAMERA_LEG"; 00074 00076 const long ATHLETE_ARTIC_JOINTDATA_INDEX_HIP_YAW = 0; 00077 const long ATHLETE_ARTIC_JOINTDATA_INDEX_HIP_PITCH = 1; 00078 const long ATHLETE_ARTIC_JOINTDATA_INDEX_THIGH_PITCH = 2; 00079 const long ATHLETE_ARTIC_JOINTDATA_INDEX_KNEE_PITCH = 3; 00080 const long ATHLETE_ARTIC_JOINTDATA_INDEX_KNEE_ROLL = 4; 00081 const long ATHLETE_ARTIC_JOINTDATA_INDEX_ANKLE_PITCH = 5; 00082 const long ATHLETE_ARTIC_JOINTDATA_INDEX_ANKLE_ROLL = 6; 00083 const long ATHLETE_ARTIC_JOINTDATA_INDEX_GRIPPER = 7; 00084 const long ATHLETE_ARTIC_JOINTDATA_INDEX_WHEEL = 8; 00085 const long ATHLETE_ARTIC_JOINTDATA_INDEX_DOCK = 9; 00086 00087 const String16 FLOAT_TYPE_KEY = "__FLOAT__"; 00088 const String16 INT_TYPE_KEY = "__INT__"; 00089 00090 }; 00091