diff --git a/src/webpage/src/lib.rs b/src/webpage/src/lib.rs index 4d4a303..0ebc232 100644 --- a/src/webpage/src/lib.rs +++ b/src/webpage/src/lib.rs @@ -2,5 +2,6 @@ mod app; mod messages; +mod messages_names; mod stats; pub use app::App; diff --git a/src/webpage/src/messages_names.rs b/src/webpage/src/messages_names.rs new file mode 100644 index 0000000..d1cbd4c --- /dev/null +++ b/src/webpage/src/messages_names.rs @@ -0,0 +1,298 @@ +pub const NAMES: &'static [&'static str] = &[ + "ACTUATOR_CONTROL_TARGET", + "ACTUATOR_OUTPUT_STATUS", + "ADAP_TUNING", + "ADSB_VEHICLE", + "AHRS", + "AHRS2", + "AHRS3", + "AIRSPEED_AUTOCAL", + "AIS_VESSEL", + "ALTITUDE", + "AOA_SSA", + "AP_ADC", + "ATT_POS_MOCAP", + "ATTITUDE_QUATERNION_COV", + "ATTITUDE_QUATERNION", + "ATTITUDE_TARGET", + "ATTITUDE", + "AUTH_KEY", + "AUTOPILOT_STATE_FOR_GIMBAL_DEVICE", + "AUTOPILOT_VERSION_REQUEST", + "AUTOPILOT_VERSION", + "BATTERY_STATUS", + "BATTERY2", + "BUTTON_CHANGE", + "CAMERA_CAPTURE_STATUS", + "CAMERA_FEEDBACK", + "CAMERA_FOV_STATUS", + "CAMERA_IMAGE_CAPTURED", + "CAMERA_INFORMATION", + "CAMERA_SETTINGS", + "CAMERA_STATUS", + "CAMERA_TRACKING_GEO_STATUS", + "CAMERA_TRACKING_IMAGE_STATUS", + "CAMERA_TRIGGER", + "CAN_FILTER_MODIFY", + "CAN_FRAME", + "CANFD_FRAME", + "CELLULAR_CONFIG", + "CELLULAR_STATUS", + "CHANGE_OPERATOR_CONTROL_ACK", + "CHANGE_OPERATOR_CONTROL", + "COLLISION", + "COMMAND_ACK", + "COMMAND_CANCEL", + "COMMAND_INT", + "COMMAND_LONG", + "COMPASSMOT_STATUS", + "COMPONENT_INFORMATION", + "COMPONENT_METADATA", + "CONTROL_SYSTEM_STATE", + "CUBEPILOT_FIRMWARE_UPDATE_RESP", + "CUBEPILOT_FIRMWARE_UPDATE_START", + "CUBEPILOT_RAW_RC", + "CURRENT_EVENT_SEQUENCE", + "DATA_STREAM", + "DATA_TRANSMISSION_HANDSHAKE", + "DATA16", + "DATA32", + "DATA64", + "DATA96", + "DEBUG_FLOAT_ARRAY", + "DEBUG_VECT", + "DEBUG", + "DEEPSTALL", + "DEVICE_OP_READ_REPLY", + "DEVICE_OP_READ", + "DEVICE_OP_WRITE_REPLY", + "DEVICE_OP_WRITE", + "DIGICAM_CONFIGURE", + "DIGICAM_CONTROL", + "DISTANCE_SENSOR", + "EFI_STATUS", + "EKF_STATUS_REPORT", + "ENCAPSULATED_DATA", + "ESC_INFO", + "ESC_STATUS", + "ESC_TELEMETRY_1_TO_4", + "ESC_TELEMETRY_5_TO_8", + "ESC_TELEMETRY_9_TO_12", + "ESTIMATOR_STATUS", + "EVENT", + "EXTENDED_SYS_STATE", + "FENCE_FETCH_POINT", + "FENCE_POINT", + "FENCE_STATUS", + "FILE_TRANSFER_PROTOCOL", + "FLIGHT_INFORMATION", + "FOLLOW_TARGET", + "GENERATOR_STATUS", + "GIMBAL_CONTROL", + "GIMBAL_DEVICE_ATTITUDE_STATUS", + "GIMBAL_DEVICE_INFORMATION", + "GIMBAL_DEVICE_SET_ATTITUDE", + "GIMBAL_MANAGER_INFORMATION", + "GIMBAL_MANAGER_SET_ATTITUDE", + "GIMBAL_MANAGER_SET_MANUAL_CONTROL", + "GIMBAL_MANAGER_SET_PITCHYAW", + "GIMBAL_MANAGER_STATUS", + "GIMBAL_REPORT", + "GIMBAL_TORQUE_CMD_REPORT", + "GLOBAL_POSITION_INT_COV", + "GLOBAL_POSITION_INT", + "GLOBAL_VISION_POSITION_ESTIMATE", + "GOPRO_GET_REQUEST", + "GOPRO_GET_RESPONSE", + "GOPRO_HEARTBEAT", + "GOPRO_SET_REQUEST", + "GOPRO_SET_RESPONSE", + "GPS_GLOBAL_ORIGIN", + "GPS_INJECT_DATA", + "GPS_INPUT", + "GPS_RAW_INT", + "GPS_RTCM_DATA", + "GPS_RTK", + "GPS_STATUS", + "GPS2_RAW", + "GPS2_RTK", + "HEARTBEAT", + "HERELINK_TELEM", + "HERELINK_VIDEO_STREAM_INFORMATION", + "HIGH_LATENCY", + "HIGH_LATENCY2", + "HIGHRES_IMU", + "HIL_ACTUATOR_CONTROLS", + "HIL_CONTROLS", + "HIL_GPS", + "HIL_OPTICAL_FLOW", + "HIL_RC_INPUTS_RAW", + "HIL_SENSOR", + "HIL_STATE_QUATERNION", + "HIL_STATE", + "HOME_POSITION", + "HWSTATUS", + "HYGROMETER_SENSOR", + "ICAROUS_HEARTBEAT", + "ICAROUS_KINEMATIC_BANDS", + "ISBD_LINK_STATUS", + "LANDING_TARGET", + "LED_CONTROL", + "LIMITS_STATUS", + "LINK_NODE_STATUS", + "LOCAL_POSITION_NED_COV", + "LOCAL_POSITION_NED_SYSTEM_GLOBAL_OFFSET", + "LOCAL_POSITION_NED", + "LOG_DATA", + "LOG_ENTRY", + "LOG_ERASE", + "LOG_REQUEST_DATA", + "LOG_REQUEST_END", + "LOG_REQUEST_LIST", + "LOGGING_ACK", + "LOGGING_DATA_ACKED", + "LOGGING_DATA", + "MAG_CAL_PROGRESS", + "MAG_CAL_REPORT", + "MANUAL_CONTROL", + "MANUAL_SETPOINT", + "MCU_STATUS", + "MEMINFO", + "MEMORY_VECT", + "MESSAGE_INTERVAL", + "MISSION_ACK", + "MISSION_CLEAR_ALL", + "MISSION_COUNT", + "MISSION_CURRENT", + "MISSION_ITEM_INT", + "MISSION_ITEM_REACHED", + "MISSION_ITEM", + "MISSION_REQUEST_INT", + "MISSION_REQUEST_LIST", + "MISSION_REQUEST_PARTIAL_LIST", + "MISSION_REQUEST", + "MISSION_SET_CURRENT", + "MISSION_WRITE_PARTIAL_LIST", + "MOUNT_CONFIGURE", + "MOUNT_CONTROL", + "MOUNT_ORIENTATION", + "MOUNT_STATUS", + "NAMED_VALUE_FLOAT", + "NAMED_VALUE_INT", + "NAV_CONTROLLER_OUTPUT", + "OBSTACLE_DISTANCE_3D", + "OBSTACLE_DISTANCE", + "ODOMETRY", + "ONBOARD_COMPUTER_STATUS", + "OPEN_DRONE_ID_ARM_STATUS", + "OPEN_DRONE_ID_AUTHENTICATION", + "OPEN_DRONE_ID_BASIC_ID", + "OPEN_DRONE_ID_LOCATION", + "OPEN_DRONE_ID_MESSAGE_PACK", + "OPEN_DRONE_ID_OPERATOR_ID", + "OPEN_DRONE_ID_SELF_ID", + "OPEN_DRONE_ID_SYSTEM_UPDATE", + "OPEN_DRONE_ID_SYSTEM", + "OPTICAL_FLOW_RAD", + "OPTICAL_FLOW", + "ORBIT_EXECUTION_STATUS", + "OSD_PARAM_CONFIG_REPLY", + "OSD_PARAM_CONFIG", + "OSD_PARAM_SHOW_CONFIG_REPLY", + "OSD_PARAM_SHOW_CONFIG", + "PARAM_EXT_ACK", + "PARAM_EXT_REQUEST_LIST", + "PARAM_EXT_REQUEST_READ", + "PARAM_EXT_SET", + "PARAM_EXT_VALUE", + "PARAM_MAP_RC", + "PARAM_REQUEST_LIST", + "PARAM_REQUEST_READ", + "PARAM_SET", + "PARAM_VALUE", + "PID_TUNING", + "PING", + "PLAY_TUNE_V2", + "PLAY_TUNE", + "POSITION_TARGET_GLOBAL_INT", + "POSITION_TARGET_LOCAL_NED", + "POWER_STATUS", + "PROTOCOL_VERSION", + "RADIO_STATUS", + "RADIO", + "RALLY_FETCH_POINT", + "RALLY_POINT", + "RANGEFINDER", + "RAW_IMU", + "RAW_PRESSURE", + "RAW_RPM", + "RC_CHANNELS_OVERRIDE", + "RC_CHANNELS_RAW", + "RC_CHANNELS_SCALED", + "RC_CHANNELS", + "REMOTE_LOG_BLOCK_STATUS", + "REMOTE_LOG_DATA_BLOCK", + "REQUEST_DATA_STREAM", + "REQUEST_EVENT", + "RESOURCE_REQUEST", + "RESPONSE_EVENT_ERROR", + "RPM", + "SAFETY_ALLOWED_AREA", + "SAFETY_SET_ALLOWED_AREA", + "SCALED_IMU", + "SCALED_IMU2", + "SCALED_IMU3", + "SCALED_PRESSURE", + "SCALED_PRESSURE2", + "SCALED_PRESSURE3", + "SENSOR_OFFSETS", + "SERIAL_CONTROL", + "SERVO_OUTPUT_RAW", + "SET_ACTUATOR_CONTROL_TARGET", + "SET_ATTITUDE_TARGET", + "SET_GPS_GLOBAL_ORIGIN", + "SET_HOME_POSITION", + "SET_MAG_OFFSETS", + "SET_MODE", + "SET_POSITION_TARGET_GLOBAL_INT", + "SET_POSITION_TARGET_LOCAL_NED", + "SETUP_SIGNING", + "SIM_STATE", + "SIMSTATE", + "SMART_BATTERY_INFO", + "STATUSTEXT", + "STORAGE_INFORMATION", + "SUPPORTED_TUNES", + "SYS_STATUS", + "SYSTEM_TIME", + "TERRAIN_CHECK", + "TERRAIN_DATA", + "TERRAIN_REPORT", + "TERRAIN_REQUEST", + "TIME_ESTIMATE_TO_TARGET", + "TIMESYNC", + "TRAJECTORY_REPRESENTATION_BEZIER", + "TRAJECTORY_REPRESENTATION_WAYPOINTS", + "TUNNEL", + "UAVCAN_NODE_INFO", + "UAVCAN_NODE_STATUS", + "UAVIONIX_ADSB_OUT_CFG", + "UAVIONIX_ADSB_OUT_DYNAMIC", + "UAVIONIX_ADSB_TRANSCEIVER_HEALTH_REPORT", + "UTM_GLOBAL_POSITION", + "V2_EXTENSION", + "VFR_HUD", + "VIBRATION", + "VICON_POSITION_ESTIMATE", + "VIDEO_STREAM_INFORMATION", + "VIDEO_STREAM_STATUS", + "VISION_POSITION_DELTA", + "VISION_POSITION_ESTIMATE", + "VISION_SPEED_ESTIMATE", + "WATER_DEPTH", + "WHEEL_DISTANCE", + "WIFI_CONFIG_AP", + "WINCH_STATUS", + "WIND_COV", + "WIND", +];