00001 00002 00003 00004 00005 00006 00007 00008 00009 00010 00011 00012 00013 00014 00015 00016 00017 00018 00019 00020 00021 00022 00023 00024 00025 00026 00027 00028 00029 00030 00031 00032 00033 00034 00035 00036 00037 00038 00039 00040 00041 #ifndef _JAUS_MOBILITY_MESSAGE_CLASS_CODES_H 00042 #define _JAUS_MOBILITY_MESSAGE_CLASS_CODES_H 00043 00044 #include "jaus/core/types.h" 00045 #include "jaus/mobility/jausmobilitydll.h" 00046 #include <cxutils/math/coordinates.h> 00047 #include <string> 00048 00049 namespace JAUS 00050 { 00051 typedef CxUtils::Wgs Wgs; 00052 typedef CxUtils::Utm Utm; 00053 typedef CxUtils::Point3D Point3D; 00054 00055 // Command Messages 00056 const UShort SET_GLOBAL_POSE = 0x0402; 00057 const UShort SET_LOCAL_POSE = 0x0403; 00058 const UShort SET_WRENCH_EFFORT = 0x0405; 00059 const UShort SET_GLOBAL_VECTOR = 0x0407; 00060 const UShort SET_LOCAL_VECTOR = 0x0408; 00061 const UShort SET_TRAVEL_SPEED = 0x040A; 00062 const UShort SET_GLOBAL_WAYPOINT = 0x040C; 00063 const UShort SET_LOCAL_WAYPOINT = 0x040D; 00064 const UShort SET_GLOBAL_PATH_SEGMENT = 0x040F; 00065 const UShort SET_LOCAL_PATH_SEGMENT = 0x0410; 00066 const UShort SET_GEOMAGNETIC_PROPERTY = 0x0412; 00067 const UShort SET_VELOCITY_COMMAND = 0x0415; 00068 const UShort SET_ACCELERATION_LIMIT = 0x0416; 00069 const UShort SET_ELEMENT = 0x041A; 00070 const UShort DELETE_ELEMENT = 0x041B; 00071 const UShort CONFIRM_ELEMENT_REQUEST = 0x041C; 00072 const UShort REJECT_ELEMENT_REQUEST = 0x041D; 00073 const UShort EXECUTE_LIST = 0x041E; 00074 00075 // Query Messages. 00076 const UShort QUERY_GLOBAL_POSE = 0x2402; 00077 const UShort QUERY_LOCAL_POSE = 0x2403; 00078 const UShort QUERY_VELOCITY_STATE = 0x2404; 00079 const UShort QUERY_WRENCH_EFFORT = 0x2405; 00080 const UShort QUERY_GLOBAL_VECTOR = 0x2407; 00081 const UShort QUERY_LOCAL_VECTOR = 0x2408; 00082 const UShort QUERY_TRAVEL_SPEED = 0x240A; 00083 const UShort QUERY_GLOBAL_WAYPOINT = 0x240C; 00084 const UShort QUERY_LOCAL_WAYPOINT = 0x240D; 00085 const UShort QUERY_GLOBAL_PATH_SEGMENT = 0x240F; 00086 const UShort QUERY_LOCAL_PATH_SEGMENT = 0x2410; 00087 const UShort QUERY_GEOMAGNETIC_PROPERTY = 0x2412; 00088 const UShort QUERY_VELOCITY_COMMAND = 0x2415; 00089 const UShort QUERY_ACCELERATION_LIMIT = 0x2416; 00090 const UShort QUERY_ACCELERATION_STATE = 0x2417; 00091 const UShort QUERY_ELEMENT = 0x241A; 00092 const UShort QUERY_ELEMENT_LIST = 0x241B; 00093 const UShort QUERY_ELEMENT_COUNT = 0x241C; 00094 const UShort QUERY_ACTIVE_ELEMENT = 0x241E; 00095 00096 // Inform Messages. 00097 const UShort REPORT_GLOBAL_POSE = 0x4402; 00098 const UShort REPORT_LOCAL_POSE = 0x4403; 00099 const UShort REPORT_VELOCITY_STATE = 0x4404; 00100 const UShort REPORT_WRENCH_EFFORT = 0x4405; 00101 const UShort REPORT_GLOBAL_VECTOR = 0x4407; 00102 const UShort REPORT_LOCAL_VECTOR = 0x4408; 00103 const UShort REPORT_TRAVEL_SPEED = 0x440A; 00104 const UShort REPORT_GLOBAL_WAYPOINT = 0x440C; 00105 const UShort REPORT_LOCAL_WAYPOINT = 0x440D; 00106 const UShort REPORT_GLOBAL_PATH_SEGMENT = 0x440F; 00107 const UShort REPORT_LOCAL_PATH_SEGMENT = 0x4410; 00108 const UShort REPORT_GEOMAGNETIC_PROPERTY = 0x4412; 00109 const UShort REPORT_VELOCITY_COMMAND = 0x4415; 00110 const UShort REPORT_ACCELERATION_LIMIT = 0x4416; 00111 const UShort REPORT_ACCELERATION_STATE = 0x4417; 00112 const UShort REPORT_ELEMENT = 0x441A; 00113 const UShort REPORT_ELEMENT_LIST = 0x441B; 00114 const UShort REPORT_ELEMENT_COUNT = 0x441C; 00115 const UShort REPORT_ACTIVE_ELEMENT = 0x441E; 00116 } 00117 00118 #endif 00119 /* End of File */