📄 ppf_orbit.h
字号:
typedef enum{ PO_INTERPOL_RES_ORBIT_RAD = 0, PO_INTERPOL_RES_RADIAL_ORB_VEL, PO_INTERPOL_RES_TRANS_ORB_VEL, PO_INTERPOL_RES_ORB_VEL_MAG, PO_INTERPOL_RES_RA_SAT, PO_INTERPOL_RES_DEC_SAT, PO_INTERPOL_RES_EARTH_ROTATION_ANGLE, PO_INTERPOL_RES_GEOC_LONG, PO_INTERPOL_RES_GEOD_LAT, PO_INTERPOL_RES_GEOC_LAT, PO_INTERPOL_RES_SAT_ASPECT_ANGLE, PO_INTERPOL_RES_GEOC_ASPECT_ANGLE, PO_INTERPOL_RES_SSP_ASPECT_ANGLE, PO_INTERPOL_RES_GEOC_DISTANCE_OF_SSP, PO_INTERPOL_RES_RAD_CUR_PARALLEL_MERIDIAN, PO_INTERPOL_RES_RAD_CUR_ORTHO_MERIDIAN, PO_INTERPOL_RES_RAD_CUR_ALONG_GROUNDTRACK, PO_INTERPOL_RES_MSLT, PO_INTERPOL_RES_TLST, PO_INTERPOL_RES_TRUE_SUN_RA, PO_INTERPOL_RES_TRUE_SUN_DEC, PO_INTERPOL_RES_TRUE_SUN_SEMI_DIAM, PO_INTERPOL_RES_MOON_RA, PO_INTERPOL_RES_MOON_DEC, PO_INTERPOL_RES_MOON_SEMI_DIAM, PO_INTERPOL_RES_MOON_AREA_LIT, PO_INTERPOL_RES_SAT_ECLIPSE_FLAG, PO_INTERPOL_RES_GEOD_ALT, PO_INTERPOL_RES_GEOD_LAT_D, PO_INTERPOL_RES_GEOC_LAT_D, PO_INTERPOL_RES_GEOC_LONG_D, PO_INTERPOL_RES_RA_SAT_D, PO_INTERPOL_RES_GEOC_DISTANCE_OF_SSP_D, PO_INTERPOL_RES_RAD_CUR_PARALLEL_MERIDIAN_D, PO_INTERPOL_RES_RAD_CUR_ORTHO_MERIDIAN_D, PO_INTERPOL_RES_GEOD_ALT_D, PO_INTERPOL_RES_NORTH_VEL, PO_INTERPOL_RES_EAST_VEL, PO_INTERPOL_RES_MAG_VEL, PO_INTERPOL_RES_AZ_VEL, PO_INTERPOL_RES_GEOD_LAT_2D, PO_INTERPOL_RES_GEOC_LAT_2D, PO_INTERPOL_RES_GEOC_LONG_2D, PO_INTERPOL_RES_RA_SAT_2D, PO_INTERPOL_RES_GEOC_DISTANCE_OF_SSP_2D, PO_INTERPOL_RES_RAD_CUR_PARALLEL_MERIDIAN_2D, PO_INTERPOL_RES_RAD_CUR_ORTHO_MERIDIAN_2D, PO_INTERPOL_RES_GEOD_ALT_2D, PO_INTERPOL_RES_NORTH_ACC, PO_INTERPOL_RES_EAST_ACC, PO_INTERPOL_RES_GROUNDTRACK_TANG_ACC, PO_INTERPOL_RES_AZ_ACC, PO_INTERPOL_RES_NODAL_PERIOD, PO_INTERPOL_RES_UTC_NEXT_ANX } PO_Interpol_res_name_enum; /* Additional flags *//* ---------------- */#define PO_NO_RESULTS 100 /* Do not calculate the optional results vector */ /* in po_ppforb and po_interpol - to be added to mode */#define PO_MAX_ORDER 10 /* Used in po_interpol */ /* CFI functions IDs (for error handling) *//* ====================================== */ typedef enum{ PO_NO_FUNC_ID = -1, /* No function code */ PO_GENSTATE_ID, PO_PPFORB_ID, PO_GENOPS_ID, PO_INTERPOL_ID, PO_MAX_FUNC_ID /* Number of functions defined in this list */ } PO_Func_enum;/* List of errors of the main CFI functions (Look up the PPF_ORBIT SUM) *//* ==================================================================== */ /* Error codes list of po_genstate *//* ------------------------------- */typedef enum { /* Errors and warnings related with internal processing */ PO_CFI_GENSTATE_CANT_CONVERGE_1_WARN = PL_ZERO_E, /* internal error code */ PO_CFI_GENSTATE_CANT_CONVERGE_2_WARN, /* internal error code */ PO_CFI_GENSTATE_CANT_CONVERGE_3_WARN, /* internal error code */ PO_CFI_GENSTATE_SINGULAR_MATRIX_WARN, /* internal error code */ PO_CFI_GENSTATE_COMPUTATION_WARN, /* internal error code */ PO_CFI_GENSTATE_COMPUTATION_ERR, /* internal error code */ PO_CFI_GENSTATE_FAILED_TESTSTATE_ERR, PO_CFI_GENSTATE_FAILED_TESTSTATE_WARN, PO_CFI_GENSTATE_REPEAT_CYCLE_LENGTH_ERR, /* Errors and warnings related with input and output parameters checking */ PO_CFI_INVALID_MDJR_0_ERR = PL_FIRST_E, PO_CFI_INVALID_MDJR_1_ERR, PO_CFI_INVALID_IREP_ERR, PO_CFI_INVALID_ICYC_ERR, PO_CFI_INVALID_MLST_ERR} PO_CFI_Genstate_err_enum;/* Error codes list of po_ppforb *//* ----------------------------- */typedef enum { /* Errors and warnings related with internal processing in initialization */ PO_CFI_PPFORB_INIT_INVALID_PPF_SV_ERR = PL_ZERO_E, PO_CFI_PPFORB_INIT_INIT_COMP_FAILED_ERR, /* internal error code */ PO_CFI_PPFORB_INIT_INVALID_ANX_SOL_ERR, PO_CFI_PPFORB_INIT_ACCEL_COMP_FAILED_ERR, /* internal error code */ PO_CFI_PPFORB_INIT_INIT_TOO_FAR_WARN, PO_CFI_PPFORB_INIT_ITER_NO_CONV_WARN, /* internal error code */ PO_CFI_PPFORB_INIT_INVALID_PPF_SV_WARN, PO_CFI_PPFORB_INIT_INVALID_ANX_SOL_WARN, /* Errors and warnings related with internal processing in propagation */ PO_CFI_PPFORB_PRED_PROPAGATION_FAILED_ERR = PL_FIRST_E,/* internal error code */ PO_CFI_PPFORB_PRED_INVALID_PROP_SV_ERR, PO_CFI_PPFORB_PRED_INVALID_PROP_SV_WARN, /* Errors and warnings related with internal processing while obtaining the results vector */ PO_CFI_PPFORB_RESU_GEODETIC_COMP_FAILED_ERR = PL_SECOND_E,/* internal error code */ PO_CFI_PPFORB_RESU_SSP_COMP_FAILED_ERR, /* internal error code */ PO_CFI_PPFORB_RESU_RAD_CUR_COMP_FAILED_ERR, /* internal error code */ PO_CFI_PPFORB_RESU_MLST_COMP_FAILED_ERR, /* internal error code */ PO_CFI_PPFORB_RESU_TLST_COMP_FAILED_ERR, /* internal error code */ PO_CFI_PPFORB_RESU_TANGENT_SUN_COMP_FAILED_ERR, /* internal error code */ PO_CFI_PPFORB_RESU_SUN_ZEN_COMP_FAILED_ERR, /* internal error code */ PO_CFI_PPFORB_RESU_NEGATIVE_TANG_SUN_ALT_WARN, /* internal error code */ PO_CFI_PPFORB_RESU_TANGENT_SUN_NOT_VALID_WARN, /* internal error code */ /* Errors and warnings related with input and output parameters checking */ PO_CFI_PPFORB_NOT_VALID_MODE_ERR = PL_THIRD_E, PO_CFI_PPFORB_NOT_INITIALIZED_ERR, PO_CFI_PPFORB_INITIAL_VALUE_ERROR_MJDP_TJDP_ERR, PO_CFI_PPFORB_INITIAL_VALUE_ERROR_MJDP_TJDP_2_ERR, PO_CFI_PPFORB_PRED_EXC_MAX_TIME_WARN, PO_CFI_PPFORB_OUTPUT_DUT1_WARN} PO_CFI_Ppforb_err_enum;/* Error codes list of po_genops *//* ----------------------------- */typedef enum{ /* Errors and warnings related with internal processing */ PO_CFI_GENOPS_NULL_ECC_ERR = PL_FORTH_E, /* internal error code */ PO_CFI_GENOPS_NO_INIT_SV_ERR, /* internal error code */ PO_CFI_GENOPS_MAX_NUMBER_ITER_ERR, /* internal error code */ PO_CFI_GENOPS_DIFF_ORB_ERR, /* internal error code */ PO_CFI_GENOPS_LL_FUNCT_ERR, /* internal error code */ PO_CFI_GENOPS_RMS_SOL_ERR, PO_CFI_GENOPS_DATA_FILT_ERR, PO_CFI_GENOPS_FAR_FROM_ANX_WARN, PO_CFI_GENOPS_LAST_WARN, /* internal error code */ /* Errors and warnings related with input and output parameters checking */ PO_CFI_GENOPS_HL_MODE_INCORR_ERR = PL_FIFTH_E, PO_CFI_GENOPS_HL_DORIS_INCORR_ERR, PO_CFI_GENOPS_HL_NO_ESOC_DATA_ERR, PO_CFI_GENOPS_HL_TEST_STATE_ERR, PO_CFI_GENOPS_HL_CHOICE_INCORR_ERR, PO_CFI_GENOPS_HL_TIME_INPUT_INCORR_ERR, PO_CFI_GENOPS_HL_INPUT_FILES_ERR, PO_CFI_GENOPS_HL_DECODE_WARN, /* internal error code: Changed 23-04-2001 -> SPR-263*/ PO_CFI_GENOPS_HL_BIN_FILE_WARN, /*Changed 23-04-2001 -> SPR-263*/ PO_CFI_GENOPS_HL_DATA_INCORR_ERR, PO_CFI_GENOPS_HL_ESOC_DATA_ERR, /* internal error code */ PO_CFI_GENOPS_HL_PO_GENOPS_ERR, /* internal error code */ PO_CFI_GENOPS_HL_TEST_STATE_WARN, PO_CFI_GENOPS_MODE_CHOICE_WARN, PO_CFI_GENOPS_NO_DORIS_WARN, PO_CFI_GENOPS_BEST_ESOC_WARN, PO_CFI_GENOPS_NO_ESOC_WARN, /* internal error code */ PO_CFI_GENOPS_OUTPUT_DUT1_WARN, PO_CFI_GENOPS_HL_WRONG_ESOC_FILE_FORMAT_ERR, /*Added 23-04-2001 -> SPR-263*/ PO_CFI_GENOPS_HL_WRONG_DORIS_FILE_FORMAT_ERR /*Added 23-04-2001 -> SPR-263*/} PO_CFI_Genops_err_enum;/* Error codes list of po_interpol *//* ------------------------------- */typedef enum{ /* Errors and warnings related with internal processing in interpolation */ PO_CFI_INTERPOL_WRONGTIME_ERR = PL_FORTH_E, /* Errors and warnings related with internal processing in initialization */ PO_CFI_INTERPOL_BADCHOICE_ERR = PL_FIFTH_E, PO_CFI_INTERPOL_OPENFILE_ERR, PO_CFI_INTERPOL_NOT_SPEC_DF_ERR, PO_CFI_INTERPOL_FIND_ERR, PO_CFI_INTERPOL_EMJD_ERR, /* internal error code */ PO_CFI_INTERPOL_DECODE_ERR, PO_CFI_INTERPOL_PERIOD_ERR, PO_CFI_INTERPOL_TIME_INTERVAL_ERR, PO_CFI_INTERPOL_DBASE_FILLED_ERR, PO_CFI_INTERPOL_DBASE_FEW_RECS_ERR, /* Error code added 16-12-1999 */ PO_CFI_INTERPOL_EMJD_WARN, /* internal error code */ PO_CFI_INTERPOL_DECODE_WARN, /* internal error code */ /* Errors related with PO_Interpol_Init_ANX */ PO_CFI_INTERPOL_INT_DS_ERR= PL_SIXTH_E, /* internal error code */ PO_CFI_INTERPOL_NO_CONV_ERR, PO_CFI_INTERPOL_CAR_KEP_ERR, /* internal error code */ PO_CFI_INTERPOL_OSC_MEAN_ERR, /* internal error code */ PO_CFI_INTERPOL_X_LONG_ERR, /* internal error code */ PO_CFI_INTERPOL_NOD_PER_ERR, /* internal error code */ PO_CFI_INTERPOL_CAR_KEP_WARN, /* internal error code */ PO_CFI_INTERPOL_OSC_MEAN_WARN, /* internal error code */ PO_CFI_INTERPOL_X_LONG_WARN, /* internal error code */ PO_CFI_INTERPOL_NOD_PER_WARN, /* internal error code */ PO_CFI_INTERPOL_NO_ANX_FOUND, /* Errors and warnings related with input and output parameters checking */ PO_CFI_INTERPOL_TIME_RANGE_ERR= PL_SEVENTH_E, PO_CFI_INTERPOL_NUMBER_IF_ERR, PO_CFI_INTERPOL_MODE_ERR, PO_CFI_INTERPOL_INIT_DATA_BASE_ERR, PO_CFI_INTERPOL_MJDR0_ERR, PO_CFI_INTERPOL_PL_TESTSTATE_PPF_ERR, PO_CFI_INTERPOL_LL_FUNCT_ERR, /* internal error code */ PO_CFI_INTERPOL_TIME_WINDOW_ERR, PO_CFI_INTERPOL_PL_TESTSTATE_PPF_WARN, PO_CFI_INTERPOL_PL_CHANGE_CS_WARN, /* internal error code */ PO_CFI_INTERPOL_PL_CAR_KEP_WARN, /* internal error code */ PO_CFI_INTERPOL_PL_KEP_CAR_WARN, /* internal error code */ PO_CFI_INTERPOL_PO_PPF_RESULTS_WARN, /* internal error code */ PO_CFI_INTERPOL_PL_TIME_CHANGE_WARN, /* internal error code */ PO_CFI_INTERPOL_OUTPUT_DUT1_WARN} PO_CFI_Interpol_err_enum;/* Functions names aliases (historical names LEFT - official names RIGHT) *//* ====================================================================== */#define PO_Silent po_silent#define PO_Verbose po_verbose#define PO_Print_Msg po_print_msg#define PO_Vector_Msg po_vector_msg#define PO_Vector_Code po_vector_code#define genstate po_genstate#define ppforb po_ppforb#define genops po_genops#define interpol po_interpol/****************************************************************************/#ifdef __cplusplus}#endif#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -