diff --git a/database/CmdPlan/AOBC_SAGITTA_PARAMETER_SET.ops b/database/CmdPlan/AOBC_SAGITTA_PARAMETER_SET.ops index bccfb3ef..948a567f 100644 --- a/database/CmdPlan/AOBC_SAGITTA_PARAMETER_SET.ops +++ b/database/CmdPlan/AOBC_SAGITTA_PARAMETER_SET.ops @@ -61,6 +61,12 @@ .AOBC_RT.DI_SAGITTA_SET_PARAMETER 6 .AOBC_RT.DI_SAGITTA_READ_PARAMETER 6 .# +.# DISTORTION +.AOBC_RT.DI_SAGITTA_CHANGE_PARAMETER 8 0 1 +.AOBC_RT.DI_SAGITTA_CHANGE_PARAMETER 8 16 0.1 +.AOBC_RT.DI_SAGITTA_SET_PARAMETER 8 +.AOBC_RT.DI_SAGITTA_READ_PARAMETER 8 +.# .# CAMERA .AOBC_RT.DI_SAGITTA_CHANGE_PARAMETER 9 0 1 .AOBC_RT.DI_SAGITTA_CHANGE_PARAMETER 9 23 1 @@ -115,6 +121,18 @@ .AOBC_RT.DI_SAGITTA_SET_PARAMETER 18 .AOBC_RT.DI_SAGITTA_READ_PARAMETER 18 .# +.# AUTO_THRESHOLD +.AOBC_RT.DI_SAGITTA_CHANGE_PARAMETER 23 0 2 +.AOBC_RT.DI_SAGITTA_CHANGE_PARAMETER 23 4 0.1 +.AOBC_RT.DI_SAGITTA_SET_PARAMETER 23 +.AOBC_RT.DI_SAGITTA_READ_PARAMETER 23 +.# +.# FAST_LISA +.AOBC_RT.DI_SAGITTA_CHANGE_PARAMETER 25 0 0.3 +.AOBC_RT.DI_SAGITTA_CHANGE_PARAMETER 25 1 0.3 +.AOBC_RT.DI_SAGITTA_SET_PARAMETER 25 +.AOBC_RT.DI_SAGITTA_READ_PARAMETER 25 +.# .# ===== Sagittaコンポ側アサーションの確認 ===== .# Sagitta側の閾値(24-26)を超えて焦点距離を設定 .AOBC_RT.DI_SAGITTA_CHANGE_PARAMETER 9 1 -3 diff --git a/database/TLM_DB/AOBC_TLM_DB_AOBC_CONTROL.csv b/database/TLM_DB/AOBC_TLM_DB_AOBC_CONTROL.csv index 97f2a09c..2bb08301 100644 --- a/database/TLM_DB/AOBC_TLM_DB_AOBC_CONTROL.csv +++ b/database/TLM_DB/AOBC_TLM_DB_AOBC_CONTROL.csv @@ -46,13 +46,13 @@ Comment,TLM Entry,Onboard Software Info.,,Extraction Info.,,,,Conversion Info.,, ,CONTROL.ERROR.SUN_DIRECTION_rad,float,(float)(aocs_manager->sun_vec_error_rad),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,制御太陽角度誤差 [rad], ,UNLOADING.CONTROL_GAIN,float,(float)(unloading->control_gain),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,アンローディングにおけるMTQ出力ゲイン, ,UNLOADING.EXEC_IS_ENABLE,uint8_t,(uint8_t)(unloading->exec_is_enable),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),STATUS,,,,,,,0=ENABLE@@ 1=DISABLE,アンローディング出力が有効かどうか, -,UNLOADING.THRESHOLD.X.UPPER,float,(float)(unloading->angular_velocity_upper_threshold_rad_s[0]) ,PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,アンローディング上限閾値 RW-X [rad/s], +,UNLOADING.THRESHOLD.X.UPPER,float,(float)(unloading->angular_velocity_upper_threshold_rad_s[0]),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,アンローディング上限閾値 RW-X [rad/s], ,UNLOADING.THRESHOLD.X.TARGET,float,(float)(unloading->angular_velocity_target_rad_s[0]),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,アンローディング目標 RW-X [rad/s], ,UNLOADING.THRESHOLD.X.LOWER,float,(float)(unloading->angular_velocity_lower_threshold_rad_s[0]),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,アンローディング下限閾値 RW-X [rad/s], -,UNLOADING.THRESHOLD.Y.UPPER,float,(float)(unloading->angular_velocity_upper_threshold_rad_s[1]) ,PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,アンローディング上限閾値 RW-Y [rad/s], +,UNLOADING.THRESHOLD.Y.UPPER,float,(float)(unloading->angular_velocity_upper_threshold_rad_s[1]),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,アンローディング上限閾値 RW-Y [rad/s], ,UNLOADING.THRESHOLD.Y.TARGET,float,(float)(unloading->angular_velocity_target_rad_s[1]),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,アンローディング目標 RW-Y [rad/s], ,UNLOADING.THRESHOLD.Y.LOWER,float,(float)(unloading->angular_velocity_lower_threshold_rad_s[1]),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,アンローディング下限閾値 RW-Y [rad/s], -,UNLOADING.THRESHOLD.Z.UPPER,float,(float)(unloading->angular_velocity_upper_threshold_rad_s[2]) ,PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,アンローディング上限閾値 RW-Z [rad/s], +,UNLOADING.THRESHOLD.Z.UPPER,float,(float)(unloading->angular_velocity_upper_threshold_rad_s[2]),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,アンローディング上限閾値 RW-Z [rad/s], ,UNLOADING.THRESHOLD.Z.TARGET,float,(float)(unloading->angular_velocity_target_rad_s[2]),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,アンローディング目標 RW-Z [rad/s], ,UNLOADING.THRESHOLD.Z.LOWER,float,(float)(unloading->angular_velocity_lower_threshold_rad_s[2]),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,アンローディング下限閾値 RW-Z [rad/s], ,TARGET.CALC_MODE,uint8_t,(uint8_t)(target_attitude_calculator->mode),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),STATUS,,,,,,,0=MANUAL@@ 1=CALCULATION_FROM_ORBIT@@ 2=INTERPOLATION,目標Quaternion計算方法, diff --git a/database/TLM_DB/AOBC_TLM_DB_AOBC_SAGITTA_READ1.csv b/database/TLM_DB/AOBC_TLM_DB_AOBC_SAGITTA_READ1.csv index 8ba0327b..8ff2eb16 100644 --- a/database/TLM_DB/AOBC_TLM_DB_AOBC_SAGITTA_READ1.csv +++ b/database/TLM_DB/AOBC_TLM_DB_AOBC_SAGITTA_READ1.csv @@ -51,6 +51,23 @@ Comment,TLM Entry,Onboard Software Info.,,Extraction Info.,,,,Conversion Info.,, ,MOUNTING.QY,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.mounting.vector_part[1]),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, ,MOUNTING.QZ,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.mounting.vector_part[2]),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, ,MOUNTING.QW,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.mounting.scalar_part),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, +,DISTORTION.MODE,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.distortion.mode),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, +,DISTORTION.K0_COEFFICIENT0,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.distortion.k0_coefficient[0]),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, +,DISTORTION.K0_COEFFICIENT1,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.distortion.k0_coefficient[1]),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, +,DISTORTION.K0_COEFFICIENT2,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.distortion.k0_coefficient[2]),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, +,DISTORTION.K0_COEFFICIENT3,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.distortion.k0_coefficient[3]),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, +,DISTORTION.K0_COEFFICIENT4,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.distortion.k0_coefficient[4]),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, +,DISTORTION.K0_COEFFICIENT5,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.distortion.k0_coefficient[5]),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, +,DISTORTION.K0_COEFFICIENT6,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.distortion.k0_coefficient[6]),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, +,DISTORTION.K0_COEFFICIENT7,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.distortion.k0_coefficient[7]),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, +,DISTORTION.H0_COEFFICIENT0,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.distortion.h0_coefficient[0]),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, +,DISTORTION.H0_COEFFICIENT1,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.distortion.h0_coefficient[1]),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, +,DISTORTION.H0_COEFFICIENT2,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.distortion.h0_coefficient[2]),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, +,DISTORTION.H0_COEFFICIENT3,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.distortion.h0_coefficient[3]),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, +,DISTORTION.H0_COEFFICIENT4,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.distortion.h0_coefficient[4]),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, +,DISTORTION.H0_COEFFICIENT5,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.distortion.h0_coefficient[5]),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, +,DISTORTION.H0_COEFFICIENT6,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.distortion.h0_coefficient[6]),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, +,DISTORTION.H0_COEFFICIENT7,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.distortion.h0_coefficient[7]),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, ,CAMERA.MODE,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.mode),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, ,CAMERA.FOCAL_LENGTH_mm,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.focal_length_mm),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, ,CAMERA.EXPOSURE_s,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.exposure_s),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, @@ -80,23 +97,6 @@ Comment,TLM Entry,Onboard Software Info.,,Extraction Info.,,,,Conversion Info.,, ,IMAGE_PROCESSOR.SIGNAL_THRESHOLD_pix,uint16_t,(uint16_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.image_processor.signal_threshold_pix),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, ,IMAGE_PROCESSOR.DARK_THRESHOLD_pix,uint16_t,(uint16_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.image_processor.dark_threshold_pix),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, ,IMAGE_PROCESSOR.BACKGROUND_COMPENSATION,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.image_processor.background_compensation),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, -,CENTROIDING.ENABLE_FILTER,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.centroiding.enable_filter),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, -,CENTROIDING.MAX_QUALITY,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.centroiding.max_quality),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, -,CENTROIDING.DARK_THRESHOLD_pix,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.centroiding.dark_threshold_pix),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, -,CENTROIDING.MIN_QUALITY,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.centroiding.min_quality),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, -,CENTROIDING.MAX_INTENSITY,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.centroiding.max_intensity),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, -,CENTROIDING.MIN_INTENSITY,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.centroiding.min_intensity),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, -,CENTROIDING.MAX_MAGNITUDE,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.centroiding.max_magnitude),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, -,CENTROIDING.GAUSSIAN_CMAX_pix,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.centroiding.gaussian_cmax_pix),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, -,CENTROIDING.GAUSSIAN_CMIN_pix,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.centroiding.gaussian_cmin_pix),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, -,CENTROIDING.TRANSMATRIX00,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.centroiding.transmatrix_00),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, -,CENTROIDING.TRANSMATRIX01,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.centroiding.transmatrix_01),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, -,CENTROIDING.TRANSMATRIX10,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.centroiding.transmatrix_10),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, -,CENTROIDING.TRANSMATRIX11,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.centroiding.transmatrix_11),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, -,,,,,,,,,,,,,,,,, -,,,,,,,,,,,,,,,,, -,,,,,,,,,,,,,,,,, -,,,,,,,,,,,,,,,,, ,,,,,,,,,,,,,,,,, ,,,,,,,,,,,,,,,,, ,,,,,,,,,,,,,,,,, diff --git a/database/TLM_DB/AOBC_TLM_DB_AOBC_SAGITTA_READ2.csv b/database/TLM_DB/AOBC_TLM_DB_AOBC_SAGITTA_READ2.csv index cafda9c6..d580524d 100644 --- a/database/TLM_DB/AOBC_TLM_DB_AOBC_SAGITTA_READ2.csv +++ b/database/TLM_DB/AOBC_TLM_DB_AOBC_SAGITTA_READ2.csv @@ -20,6 +20,19 @@ Comment,TLM Entry,Onboard Software Info.,,Extraction Info.,,,,Conversion Info.,, ,SH.ON_BOARD_SUBNET_TIME,uint32_t,,PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, ,SH.DEST_FLAGS,uint8_t,,PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),HEX,,,,,,,,, ,SH.DEST_INFO,uint8_t,,PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, +,CENTROIDING.ENABLE_FILTER,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.centroiding.enable_filter),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, +,CENTROIDING.MAX_QUALITY,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.centroiding.max_quality),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, +,CENTROIDING.DARK_THRESHOLD_pix,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.centroiding.dark_threshold_pix),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, +,CENTROIDING.MIN_QUALITY,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.centroiding.min_quality),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, +,CENTROIDING.MAX_INTENSITY,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.centroiding.max_intensity),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, +,CENTROIDING.MIN_INTENSITY,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.centroiding.min_intensity),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, +,CENTROIDING.MAX_MAGNITUDE,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.centroiding.max_magnitude),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, +,CENTROIDING.GAUSSIAN_CMAX_pix,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.centroiding.gaussian_cmax_pix),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, +,CENTROIDING.GAUSSIAN_CMIN_pix,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.centroiding.gaussian_cmin_pix),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, +,CENTROIDING.TRANSMATRIX00,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.centroiding.transmatrix_00),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, +,CENTROIDING.TRANSMATRIX01,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.centroiding.transmatrix_01),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, +,CENTROIDING.TRANSMATRIX10,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.centroiding.transmatrix_10),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, +,CENTROIDING.TRANSMATRIX11,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.centroiding.transmatrix_11),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, ,LISA.MODE,uint32_t,(uint32_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.lisa.mode),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, ,LISA.PREFILTER_DISTANCE_THRESHOLD_mm,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.lisa.prefilter_distance_threshold_mm),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, ,LISA.PREFILTER_ANGLE_THRESHOLD_rad,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.lisa.prefilter_angle_threshold_rad),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, @@ -70,21 +83,8 @@ Comment,TLM Entry,Onboard Software Info.,,Extraction Info.,,,,Conversion Info.,, ,AUTO_THRESHOLD.MINTHRESHOLD,uint16_t,(uint16_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.auto_threshold.min_threshold),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, ,AUTO_THRESHOLD.MAXTHRESHOLD,uint16_t,(uint16_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.auto_threshold.max_threshold),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, ,AUTO_THRESHOLD.THRESHOLD_KP,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.auto_threshold.threshold_kp),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, -,,,,,,,,,,,,,,,,, -,,,,,,,,,,,,,,,,, -,,,,,,,,,,,,,,,,, -,,,,,,,,,,,,,,,,, -,,,,,,,,,,,,,,,,, -,,,,,,,,,,,,,,,,, -,,,,,,,,,,,,,,,,, -,,,,,,,,,,,,,,,,, -,,,,,,,,,,,,,,,,, -,,,,,,,,,,,,,,,,, -,,,,,,,,,,,,,,,,, -,,,,,,,,,,,,,,,,, -,,,,,,,,,,,,,,,,, -,,,,,,,,,,,,,,,,, -,,,,,,,,,,,,,,,,, +,FAST_LISA.LIMIT_ANGLE,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.fast_lisa.limit_angle),,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, +,FAST_LISA.LIMIT_DISTANCE,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.fast_lisa.limit_distance),,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, ,,,,,,,,,,,,,,,,, ,,,,,,,,,,,,,,,,, ,,,,,,,,,,,,,,,,, diff --git a/database/TLM_DB/AOBC_TLM_DB_AOBC_SAGITTA_SET1.csv b/database/TLM_DB/AOBC_TLM_DB_AOBC_SAGITTA_SET1.csv index c7de4361..87ae79ff 100644 --- a/database/TLM_DB/AOBC_TLM_DB_AOBC_SAGITTA_SET1.csv +++ b/database/TLM_DB/AOBC_TLM_DB_AOBC_SAGITTA_SET1.csv @@ -51,6 +51,23 @@ Comment,TLM Entry,Onboard Software Info.,,Extraction Info.,,,,Conversion Info.,, ,MOUNTING.QY,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.mounting.vector_part[1]),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, ,MOUNTING.QZ,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.mounting.vector_part[2]),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, ,MOUNTING.QW,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.mounting.scalar_part),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, +,DISTORTION.MODE,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.distortion.mode),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, +,DISTORTION.K0_COEFFICIENT0,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.distortion.k0_coefficient[0]),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, +,DISTORTION.K0_COEFFICIENT1,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.distortion.k0_coefficient[1]),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, +,DISTORTION.K0_COEFFICIENT2,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.distortion.k0_coefficient[2]),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, +,DISTORTION.K0_COEFFICIENT3,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.distortion.k0_coefficient[3]),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, +,DISTORTION.K0_COEFFICIENT4,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.distortion.k0_coefficient[4]),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, +,DISTORTION.K0_COEFFICIENT5,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.distortion.k0_coefficient[5]),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, +,DISTORTION.K0_COEFFICIENT6,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.distortion.k0_coefficient[6]),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, +,DISTORTION.K0_COEFFICIENT7,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.distortion.k0_coefficient[7]),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, +,DISTORTION.H0_COEFFICIENT0,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.distortion.h0_coefficient[0]),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, +,DISTORTION.H0_COEFFICIENT1,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.distortion.h0_coefficient[1]),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, +,DISTORTION.H0_COEFFICIENT2,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.distortion.h0_coefficient[2]),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, +,DISTORTION.H0_COEFFICIENT3,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.distortion.h0_coefficient[3]),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, +,DISTORTION.H0_COEFFICIENT4,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.distortion.h0_coefficient[4]),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, +,DISTORTION.H0_COEFFICIENT5,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.distortion.h0_coefficient[5]),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, +,DISTORTION.H0_COEFFICIENT6,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.distortion.h0_coefficient[6]),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, +,DISTORTION.H0_COEFFICIENT7,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.distortion.h0_coefficient[7]),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, ,CAMERA.MODE,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.mode),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, ,CAMERA.FOCAL_LENGTH_mm,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.focal_length_mm),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, ,CAMERA.EXPOSURE_s,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.exposure_s),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, @@ -80,23 +97,6 @@ Comment,TLM Entry,Onboard Software Info.,,Extraction Info.,,,,Conversion Info.,, ,IMAGE_PROCESSOR.SIGNAL_THRESHOLD_pix,uint16_t,(uint16_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.image_processor.signal_threshold_pix),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, ,IMAGE_PROCESSOR.DARK_THRESHOLD_pix,uint16_t,(uint16_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.image_processor.dark_threshold_pix),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, ,IMAGE_PROCESSOR.BACKGROUND_COMPENSATION,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.image_processor.background_compensation),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, -,CENTROIDING.ENABLE_FILTER,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.centroiding.enable_filter),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, -,CENTROIDING.MAX_QUALITY,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.centroiding.max_quality),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, -,CENTROIDING.DARK_THRESHOLD_pix,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.centroiding.dark_threshold_pix),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, -,CENTROIDING.MIN_QUALITY,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.centroiding.min_quality),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, -,CENTROIDING.MAX_INTENSITY,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.centroiding.max_intensity),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, -,CENTROIDING.MIN_INTENSITY,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.centroiding.min_intensity),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, -,CENTROIDING.MAX_MAGNITUDE,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.centroiding.max_magnitude),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, -,CENTROIDING.GAUSSIAN_CMAX_pix,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.centroiding.gaussian_cmax_pix),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, -,CENTROIDING.GAUSSIAN_CMIN_pix,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.centroiding.gaussian_cmin_pix),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, -,CENTROIDING.TRANSMATRIX00,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.centroiding.transmatrix_00),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, -,CENTROIDING.TRANSMATRIX01,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.centroiding.transmatrix_01),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, -,CENTROIDING.TRANSMATRIX10,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.centroiding.transmatrix_10),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, -,CENTROIDING.TRANSMATRIX11,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.centroiding.transmatrix_11),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, -,,,,,,,,,,,,,,,,, -,,,,,,,,,,,,,,,,, -,,,,,,,,,,,,,,,,, -,,,,,,,,,,,,,,,,, ,,,,,,,,,,,,,,,,, ,,,,,,,,,,,,,,,,, ,,,,,,,,,,,,,,,,, diff --git a/database/TLM_DB/AOBC_TLM_DB_AOBC_SAGITTA_SET2.csv b/database/TLM_DB/AOBC_TLM_DB_AOBC_SAGITTA_SET2.csv index 95133b7e..346472b3 100644 --- a/database/TLM_DB/AOBC_TLM_DB_AOBC_SAGITTA_SET2.csv +++ b/database/TLM_DB/AOBC_TLM_DB_AOBC_SAGITTA_SET2.csv @@ -20,6 +20,19 @@ Comment,TLM Entry,Onboard Software Info.,,Extraction Info.,,,,Conversion Info.,, ,SH.ON_BOARD_SUBNET_TIME,uint32_t,,PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, ,SH.DEST_FLAGS,uint8_t,,PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),HEX,,,,,,,,, ,SH.DEST_INFO,uint8_t,,PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, +,CENTROIDING.ENABLE_FILTER,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.centroiding.enable_filter),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, +,CENTROIDING.MAX_QUALITY,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.centroiding.max_quality),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, +,CENTROIDING.DARK_THRESHOLD_pix,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.centroiding.dark_threshold_pix),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, +,CENTROIDING.MIN_QUALITY,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.centroiding.min_quality),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, +,CENTROIDING.MAX_INTENSITY,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.centroiding.max_intensity),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, +,CENTROIDING.MIN_INTENSITY,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.centroiding.min_intensity),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, +,CENTROIDING.MAX_MAGNITUDE,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.centroiding.max_magnitude),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, +,CENTROIDING.GAUSSIAN_CMAX_pix,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.centroiding.gaussian_cmax_pix),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, +,CENTROIDING.GAUSSIAN_CMIN_pix,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.centroiding.gaussian_cmin_pix),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, +,CENTROIDING.TRANSMATRIX00,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.centroiding.transmatrix_00),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, +,CENTROIDING.TRANSMATRIX01,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.centroiding.transmatrix_01),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, +,CENTROIDING.TRANSMATRIX10,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.centroiding.transmatrix_10),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, +,CENTROIDING.TRANSMATRIX11,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.centroiding.transmatrix_11),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, ,LISA.MODE,uint32_t,(uint32_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.lisa.mode),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, ,LISA.PREFILTER_DISTANCE_THRESHOLD_mm,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.lisa.prefilter_distance_threshold_mm),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, ,LISA.PREFILTER_ANGLE_THRESHOLD_rad,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.lisa.prefilter_angle_threshold_rad),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, @@ -70,21 +83,8 @@ Comment,TLM Entry,Onboard Software Info.,,Extraction Info.,,,,Conversion Info.,, ,AUTO_THRESHOLD.MINTHRESHOLD,uint16_t,(uint16_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.auto_threshold.min_threshold),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, ,AUTO_THRESHOLD.MAXTHRESHOLD,uint16_t,(uint16_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.auto_threshold.max_threshold),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, ,AUTO_THRESHOLD.THRESHOLD_KP,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.auto_threshold.threshold_kp),PACKET,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, -,,,,,,,,,,,,,,,,, -,,,,,,,,,,,,,,,,, -,,,,,,,,,,,,,,,,, -,,,,,,,,,,,,,,,,, -,,,,,,,,,,,,,,,,, -,,,,,,,,,,,,,,,,, -,,,,,,,,,,,,,,,,, -,,,,,,,,,,,,,,,,, -,,,,,,,,,,,,,,,,, -,,,,,,,,,,,,,,,,, -,,,,,,,,,,,,,,,,, -,,,,,,,,,,,,,,,,, -,,,,,,,,,,,,,,,,, -,,,,,,,,,,,,,,,,, -,,,,,,,,,,,,,,,,, +,FAST_LISA.LIMIT_ANGLE,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.fast_lisa.limit_angle),,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, +,FAST_LISA.LIMIT_DISTANCE,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.fast_lisa.limit_distance),,=R[-1]C+INT((R[-1]C[1]+R[-1]C[2])/8),=MOD((R[-1]C+R[-1]C[1])@@8),=IF(OR(EXACT(RC[-5]@@"uint8_t")@@EXACT(RC[-5]@@"int8_t"))@@8@@IF(OR(EXACT(RC[-5]@@"uint16_t")@@EXACT(RC[-5]@@"int16_t"))@@16@@IF(OR(EXACT(RC[-5]@@"uint32_t")@@EXACT(RC[-5]@@"int32_t")@@EXACT(RC[-5]@@"float"))@@32@@IF(EXACT(RC[-5]@@"double")@@64)))),NONE,,,,,,,,, ,,,,,,,,,,,,,,,,, ,,,,,,,,,,,,,,,,, ,,,,,,,,,,,,,,,,, diff --git a/database/TLM_DB/calced_data/AOBC_TLM_DB_AOBC_CONTROL.csv b/database/TLM_DB/calced_data/AOBC_TLM_DB_AOBC_CONTROL.csv index bbd62ba9..14f93362 100644 --- a/database/TLM_DB/calced_data/AOBC_TLM_DB_AOBC_CONTROL.csv +++ b/database/TLM_DB/calced_data/AOBC_TLM_DB_AOBC_CONTROL.csv @@ -46,13 +46,13 @@ Comment,TLM Entry,Onboard Software Info.,,Extraction Info.,,,,Conversion Info.,, ,CONTROL.ERROR.SUN_DIRECTION_rad,float,(float)(aocs_manager->sun_vec_error_rad),PACKET,97,0,32,NONE,,,,,,,,制御太陽角度誤差 [rad], ,UNLOADING.CONTROL_GAIN,float,(float)(unloading->control_gain),PACKET,101,0,32,NONE,,,,,,,,アンローディングにおけるMTQ出力ゲイン, ,UNLOADING.EXEC_IS_ENABLE,uint8_t,(uint8_t)(unloading->exec_is_enable),PACKET,105,0,8,STATUS,,,,,,,0=ENABLE@@ 1=DISABLE,アンローディング出力が有効かどうか, -,UNLOADING.THRESHOLD.X.UPPER,float,(float)(unloading->angular_velocity_upper_threshold_rad_s[0]) ,PACKET,106,0,32,NONE,,,,,,,,アンローディング上限閾値 RW-X [rad/s], +,UNLOADING.THRESHOLD.X.UPPER,float,(float)(unloading->angular_velocity_upper_threshold_rad_s[0]),PACKET,106,0,32,NONE,,,,,,,,アンローディング上限閾値 RW-X [rad/s], ,UNLOADING.THRESHOLD.X.TARGET,float,(float)(unloading->angular_velocity_target_rad_s[0]),PACKET,110,0,32,NONE,,,,,,,,アンローディング目標 RW-X [rad/s], ,UNLOADING.THRESHOLD.X.LOWER,float,(float)(unloading->angular_velocity_lower_threshold_rad_s[0]),PACKET,114,0,32,NONE,,,,,,,,アンローディング下限閾値 RW-X [rad/s], -,UNLOADING.THRESHOLD.Y.UPPER,float,(float)(unloading->angular_velocity_upper_threshold_rad_s[1]) ,PACKET,118,0,32,NONE,,,,,,,,アンローディング上限閾値 RW-Y [rad/s], +,UNLOADING.THRESHOLD.Y.UPPER,float,(float)(unloading->angular_velocity_upper_threshold_rad_s[1]),PACKET,118,0,32,NONE,,,,,,,,アンローディング上限閾値 RW-Y [rad/s], ,UNLOADING.THRESHOLD.Y.TARGET,float,(float)(unloading->angular_velocity_target_rad_s[1]),PACKET,122,0,32,NONE,,,,,,,,アンローディング目標 RW-Y [rad/s], ,UNLOADING.THRESHOLD.Y.LOWER,float,(float)(unloading->angular_velocity_lower_threshold_rad_s[1]),PACKET,126,0,32,NONE,,,,,,,,アンローディング下限閾値 RW-Y [rad/s], -,UNLOADING.THRESHOLD.Z.UPPER,float,(float)(unloading->angular_velocity_upper_threshold_rad_s[2]) ,PACKET,130,0,32,NONE,,,,,,,,アンローディング上限閾値 RW-Z [rad/s], +,UNLOADING.THRESHOLD.Z.UPPER,float,(float)(unloading->angular_velocity_upper_threshold_rad_s[2]),PACKET,130,0,32,NONE,,,,,,,,アンローディング上限閾値 RW-Z [rad/s], ,UNLOADING.THRESHOLD.Z.TARGET,float,(float)(unloading->angular_velocity_target_rad_s[2]),PACKET,134,0,32,NONE,,,,,,,,アンローディング目標 RW-Z [rad/s], ,UNLOADING.THRESHOLD.Z.LOWER,float,(float)(unloading->angular_velocity_lower_threshold_rad_s[2]),PACKET,138,0,32,NONE,,,,,,,,アンローディング下限閾値 RW-Z [rad/s], ,TARGET.CALC_MODE,uint8_t,(uint8_t)(target_attitude_calculator->mode),PACKET,142,0,8,STATUS,,,,,,,0=MANUAL@@ 1=CALCULATION_FROM_ORBIT@@ 2=INTERPOLATION,目標Quaternion計算方法, diff --git a/database/TLM_DB/calced_data/AOBC_TLM_DB_AOBC_SAGITTA_READ1.csv b/database/TLM_DB/calced_data/AOBC_TLM_DB_AOBC_SAGITTA_READ1.csv index b6b08a80..9f623975 100644 --- a/database/TLM_DB/calced_data/AOBC_TLM_DB_AOBC_SAGITTA_READ1.csv +++ b/database/TLM_DB/calced_data/AOBC_TLM_DB_AOBC_SAGITTA_READ1.csv @@ -51,52 +51,52 @@ Comment,TLM Entry,Onboard Software Info.,,Extraction Info.,,,,Conversion Info.,, ,MOUNTING.QY,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.mounting.vector_part[1]),PACKET,87,0,32,NONE,,,,,,,,, ,MOUNTING.QZ,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.mounting.vector_part[2]),PACKET,91,0,32,NONE,,,,,,,,, ,MOUNTING.QW,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.mounting.scalar_part),PACKET,95,0,32,NONE,,,,,,,,, -,CAMERA.MODE,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.mode),PACKET,99,0,8,NONE,,,,,,,,, -,CAMERA.FOCAL_LENGTH_mm,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.focal_length_mm),PACKET,100,0,32,NONE,,,,,,,,, -,CAMERA.EXPOSURE_s,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.exposure_s),PACKET,104,0,32,NONE,,,,,,,,, -,CAMERA.INTERVAL_s,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.interval_s),PACKET,108,0,32,NONE,,,,,,,,, -,CAMERA.OFFSET_pix,int16_t,(int16_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.offset_pix),PACKET,112,0,16,NONE,,,,,,,,, -,CAMERA.PGA_GAIN,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.pga_gain),PACKET,114,0,8,NONE,,,,,,,,, -,CAMERA.ADC_GAIN,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.adc_gain),PACKET,115,0,8,NONE,,,,,,,,, -,CAMERA.OVERRIDE_REGISTER1,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.override_register[0]),PACKET,116,0,8,NONE,,,,,,,,, -,CAMERA.OVERRIDE_REGISTER2,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.override_register[1]),PACKET,117,0,8,NONE,,,,,,,,, -,CAMERA.OVERRIDE_REGISTER3,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.override_register[2]),PACKET,118,0,8,NONE,,,,,,,,, -,CAMERA.OVERRIDE_REGISTER4,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.override_register[3]),PACKET,119,0,8,NONE,,,,,,,,, -,CAMERA.OVERRIDE_REGISTER5,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.override_register[4]),PACKET,120,0,8,NONE,,,,,,,,, -,CAMERA.OVERRIDE_REGISTER6,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.override_register[5]),PACKET,121,0,8,NONE,,,,,,,,, -,CAMERA.OVERRIDE_REGISTER7,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.override_register[6]),PACKET,122,0,8,NONE,,,,,,,,, -,CAMERA.OVERRIDE_REGISTER8,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.override_register[7]),PACKET,123,0,8,NONE,,,,,,,,, -,CAMERA.OVERRIDE_REGISTER9,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.override_register[8]),PACKET,124,0,8,NONE,,,,,,,,, -,CAMERA.OVERRIDE_REGISTER10,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.override_register[9]),PACKET,125,0,8,NONE,,,,,,,,, -,CAMERA.OVERRIDE_REGISTER11,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.override_register[10]),PACKET,126,0,8,NONE,,,,,,,,, -,CAMERA.OVERRIDE_REGISTER12,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.override_register[11]),PACKET,127,0,8,NONE,,,,,,,,, -,CAMERA.OVERRIDE_REGISTER13,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.override_register[12]),PACKET,128,0,8,NONE,,,,,,,,, -,CAMERA.OVERRIDE_REGISTER14,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.override_register[13]),PACKET,129,0,8,NONE,,,,,,,,, -,CAMERA.OVERRIDE_REGISTER15,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.override_register[14]),PACKET,130,0,8,NONE,,,,,,,,, -,CAMERA.OVERRIDE_REGISTER16,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.override_register[15]),PACKET,131,0,8,NONE,,,,,,,,, -,CAMERA.FREQUENCY,uint32_t,(uint32_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.freq),PACKET,132,0,32,NONE,,,,,,,,, -,IMAGE_PROCESSOR.MODE,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.image_processor.mode),PACKET,136,0,8,NONE,,,,,,,,, -,IMAGE_PROCESSOR.STORE,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.image_processor.store),PACKET,137,0,8,NONE,,,,,,,,, -,IMAGE_PROCESSOR.SIGNAL_THRESHOLD_pix,uint16_t,(uint16_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.image_processor.signal_threshold_pix),PACKET,138,0,16,NONE,,,,,,,,, -,IMAGE_PROCESSOR.DARK_THRESHOLD_pix,uint16_t,(uint16_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.image_processor.dark_threshold_pix),PACKET,140,0,16,NONE,,,,,,,,, -,IMAGE_PROCESSOR.BACKGROUND_COMPENSATION,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.image_processor.background_compensation),PACKET,142,0,8,NONE,,,,,,,,, -,CENTROIDING.ENABLE_FILTER,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.centroiding.enable_filter),PACKET,143,0,8,NONE,,,,,,,,, -,CENTROIDING.MAX_QUALITY,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.centroiding.max_quality),PACKET,144,0,32,NONE,,,,,,,,, -,CENTROIDING.DARK_THRESHOLD_pix,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.centroiding.dark_threshold_pix),PACKET,148,0,32,NONE,,,,,,,,, -,CENTROIDING.MIN_QUALITY,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.centroiding.min_quality),PACKET,152,0,32,NONE,,,,,,,,, -,CENTROIDING.MAX_INTENSITY,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.centroiding.max_intensity),PACKET,156,0,32,NONE,,,,,,,,, -,CENTROIDING.MIN_INTENSITY,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.centroiding.min_intensity),PACKET,160,0,32,NONE,,,,,,,,, -,CENTROIDING.MAX_MAGNITUDE,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.centroiding.max_magnitude),PACKET,164,0,32,NONE,,,,,,,,, -,CENTROIDING.GAUSSIAN_CMAX_pix,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.centroiding.gaussian_cmax_pix),PACKET,168,0,32,NONE,,,,,,,,, -,CENTROIDING.GAUSSIAN_CMIN_pix,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.centroiding.gaussian_cmin_pix),PACKET,172,0,32,NONE,,,,,,,,, -,CENTROIDING.TRANSMATRIX00,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.centroiding.transmatrix_00),PACKET,176,0,32,NONE,,,,,,,,, -,CENTROIDING.TRANSMATRIX01,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.centroiding.transmatrix_01),PACKET,180,0,32,NONE,,,,,,,,, -,CENTROIDING.TRANSMATRIX10,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.centroiding.transmatrix_10),PACKET,184,0,32,NONE,,,,,,,,, -,CENTROIDING.TRANSMATRIX11,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.centroiding.transmatrix_11),PACKET,188,0,32,NONE,,,,,,,,, -,,,,,,,,,,,,,,,,, -,,,,,,,,,,,,,,,,, -,,,,,,,,,,,,,,,,, -,,,,,,,,,,,,,,,,, +,DISTORTION.MODE,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.distortion.mode),PACKET,99,0,8,NONE,,,,,,,,, +,DISTORTION.K0_COEFFICIENT0,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.distortion.k0_coefficient[0]),PACKET,100,0,32,NONE,,,,,,,,, +,DISTORTION.K0_COEFFICIENT1,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.distortion.k0_coefficient[1]),PACKET,104,0,32,NONE,,,,,,,,, +,DISTORTION.K0_COEFFICIENT2,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.distortion.k0_coefficient[2]),PACKET,108,0,32,NONE,,,,,,,,, +,DISTORTION.K0_COEFFICIENT3,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.distortion.k0_coefficient[3]),PACKET,112,0,32,NONE,,,,,,,,, +,DISTORTION.K0_COEFFICIENT4,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.distortion.k0_coefficient[4]),PACKET,116,0,32,NONE,,,,,,,,, +,DISTORTION.K0_COEFFICIENT5,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.distortion.k0_coefficient[5]),PACKET,120,0,32,NONE,,,,,,,,, +,DISTORTION.K0_COEFFICIENT6,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.distortion.k0_coefficient[6]),PACKET,124,0,32,NONE,,,,,,,,, +,DISTORTION.K0_COEFFICIENT7,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.distortion.k0_coefficient[7]),PACKET,128,0,32,NONE,,,,,,,,, +,DISTORTION.H0_COEFFICIENT0,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.distortion.h0_coefficient[0]),PACKET,132,0,32,NONE,,,,,,,,, +,DISTORTION.H0_COEFFICIENT1,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.distortion.h0_coefficient[1]),PACKET,136,0,32,NONE,,,,,,,,, +,DISTORTION.H0_COEFFICIENT2,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.distortion.h0_coefficient[2]),PACKET,140,0,32,NONE,,,,,,,,, +,DISTORTION.H0_COEFFICIENT3,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.distortion.h0_coefficient[3]),PACKET,144,0,32,NONE,,,,,,,,, +,DISTORTION.H0_COEFFICIENT4,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.distortion.h0_coefficient[4]),PACKET,148,0,32,NONE,,,,,,,,, +,DISTORTION.H0_COEFFICIENT5,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.distortion.h0_coefficient[5]),PACKET,152,0,32,NONE,,,,,,,,, +,DISTORTION.H0_COEFFICIENT6,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.distortion.h0_coefficient[6]),PACKET,156,0,32,NONE,,,,,,,,, +,DISTORTION.H0_COEFFICIENT7,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.distortion.h0_coefficient[7]),PACKET,160,0,32,NONE,,,,,,,,, +,CAMERA.MODE,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.mode),PACKET,164,0,8,NONE,,,,,,,,, +,CAMERA.FOCAL_LENGTH_mm,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.focal_length_mm),PACKET,165,0,32,NONE,,,,,,,,, +,CAMERA.EXPOSURE_s,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.exposure_s),PACKET,169,0,32,NONE,,,,,,,,, +,CAMERA.INTERVAL_s,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.interval_s),PACKET,173,0,32,NONE,,,,,,,,, +,CAMERA.OFFSET_pix,int16_t,(int16_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.offset_pix),PACKET,177,0,16,NONE,,,,,,,,, +,CAMERA.PGA_GAIN,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.pga_gain),PACKET,179,0,8,NONE,,,,,,,,, +,CAMERA.ADC_GAIN,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.adc_gain),PACKET,180,0,8,NONE,,,,,,,,, +,CAMERA.OVERRIDE_REGISTER1,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.override_register[0]),PACKET,181,0,8,NONE,,,,,,,,, +,CAMERA.OVERRIDE_REGISTER2,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.override_register[1]),PACKET,182,0,8,NONE,,,,,,,,, +,CAMERA.OVERRIDE_REGISTER3,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.override_register[2]),PACKET,183,0,8,NONE,,,,,,,,, +,CAMERA.OVERRIDE_REGISTER4,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.override_register[3]),PACKET,184,0,8,NONE,,,,,,,,, +,CAMERA.OVERRIDE_REGISTER5,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.override_register[4]),PACKET,185,0,8,NONE,,,,,,,,, +,CAMERA.OVERRIDE_REGISTER6,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.override_register[5]),PACKET,186,0,8,NONE,,,,,,,,, +,CAMERA.OVERRIDE_REGISTER7,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.override_register[6]),PACKET,187,0,8,NONE,,,,,,,,, +,CAMERA.OVERRIDE_REGISTER8,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.override_register[7]),PACKET,188,0,8,NONE,,,,,,,,, +,CAMERA.OVERRIDE_REGISTER9,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.override_register[8]),PACKET,189,0,8,NONE,,,,,,,,, +,CAMERA.OVERRIDE_REGISTER10,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.override_register[9]),PACKET,190,0,8,NONE,,,,,,,,, +,CAMERA.OVERRIDE_REGISTER11,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.override_register[10]),PACKET,191,0,8,NONE,,,,,,,,, +,CAMERA.OVERRIDE_REGISTER12,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.override_register[11]),PACKET,192,0,8,NONE,,,,,,,,, +,CAMERA.OVERRIDE_REGISTER13,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.override_register[12]),PACKET,193,0,8,NONE,,,,,,,,, +,CAMERA.OVERRIDE_REGISTER14,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.override_register[13]),PACKET,194,0,8,NONE,,,,,,,,, +,CAMERA.OVERRIDE_REGISTER15,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.override_register[14]),PACKET,195,0,8,NONE,,,,,,,,, +,CAMERA.OVERRIDE_REGISTER16,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.override_register[15]),PACKET,196,0,8,NONE,,,,,,,,, +,CAMERA.FREQUENCY,uint32_t,(uint32_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.freq),PACKET,197,0,32,NONE,,,,,,,,, +,IMAGE_PROCESSOR.MODE,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.image_processor.mode),PACKET,201,0,8,NONE,,,,,,,,, +,IMAGE_PROCESSOR.STORE,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.image_processor.store),PACKET,202,0,8,NONE,,,,,,,,, +,IMAGE_PROCESSOR.SIGNAL_THRESHOLD_pix,uint16_t,(uint16_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.image_processor.signal_threshold_pix),PACKET,203,0,16,NONE,,,,,,,,, +,IMAGE_PROCESSOR.DARK_THRESHOLD_pix,uint16_t,(uint16_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.image_processor.dark_threshold_pix),PACKET,205,0,16,NONE,,,,,,,,, +,IMAGE_PROCESSOR.BACKGROUND_COMPENSATION,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.image_processor.background_compensation),PACKET,207,0,8,NONE,,,,,,,,, ,,,,,,,,,,,,,,,,, ,,,,,,,,,,,,,,,,, ,,,,,,,,,,,,,,,,, diff --git a/database/TLM_DB/calced_data/AOBC_TLM_DB_AOBC_SAGITTA_READ2.csv b/database/TLM_DB/calced_data/AOBC_TLM_DB_AOBC_SAGITTA_READ2.csv index 3ca778e4..54c3c5bb 100644 --- a/database/TLM_DB/calced_data/AOBC_TLM_DB_AOBC_SAGITTA_READ2.csv +++ b/database/TLM_DB/calced_data/AOBC_TLM_DB_AOBC_SAGITTA_READ2.csv @@ -20,71 +20,71 @@ Comment,TLM Entry,Onboard Software Info.,,Extraction Info.,,,,Conversion Info.,, ,SH.ON_BOARD_SUBNET_TIME,uint32_t,,PACKET,20,0,32,NONE,,,,,,,,, ,SH.DEST_FLAGS,uint8_t,,PACKET,24,0,8,HEX,,,,,,,,, ,SH.DEST_INFO,uint8_t,,PACKET,25,0,8,NONE,,,,,,,,, -,LISA.MODE,uint32_t,(uint32_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.lisa.mode),PACKET,26,0,32,NONE,,,,,,,,, -,LISA.PREFILTER_DISTANCE_THRESHOLD_mm,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.lisa.prefilter_distance_threshold_mm),PACKET,30,0,32,NONE,,,,,,,,, -,LISA.PREFILTER_ANGLE_THRESHOLD_rad,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.lisa.prefilter_angle_threshold_rad),PACKET,34,0,32,NONE,,,,,,,,, -,LISA.FIELD_OF_VIEW_WIDTH_rad,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.lisa.field_of_view_width_rad),PACKET,38,0,32,NONE,,,,,,,,, -,LISA.FIELD_OF_VIEW_HEIGHT_rad,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.lisa.field_of_view_height_rad),PACKET,42,0,32,NONE,,,,,,,,, -,LISA.FLOAT_STAR_LIMIT_mm,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.lisa.float_star_limit_mm),PACKET,46,0,32,NONE,,,,,,,,, -,LISA.CLOSE_STAR_LIMIT_mm,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.lisa.close_star_limit_mm),PACKET,50,0,32,NONE,,,,,,,,, -,LISA.RATING_WEIGHT_CLOSE_STAR_COUNT,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.lisa.rating_weight_close_star_count),PACKET,54,0,32,NONE,,,,,,,,, -,LISA.RATING_WEIGHT_FRACTION_CLOSE,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.lisa.rating_weight_fraction_close),PACKET,58,0,32,NONE,,,,,,,,, -,LISA.RATING_WEIGHT_MEASN_SUM,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.lisa.rating_weight_mean_sum),PACKET,62,0,32,NONE,,,,,,,,, -,LISA.RATING_WEIGHT_DB_STAR_COUNT,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.lisa.rating_weight_db_star_count),PACKET,66,0,32,NONE,,,,,,,,, -,LISA.MAX_COMBINATIONS,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.lisa.max_combinations),PACKET,70,0,8,NONE,,,,,,,,, -,LISA.NR_STARS_STOP,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.lisa.nr_stars_stop),PACKET,71,0,8,NONE,,,,,,,,, -,LISA.FRACTION_CLOSE_STOP,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.lisa.fraction_close_stop),PACKET,72,0,32,NONE,,,,,,,,, -,MATCHING.SQUARED_DISTANCE_LIMIT_mm,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.matching.squared_distance_limit_mm),PACKET,76,0,32,NONE,,,,,,,,, -,MATCHING.SQUARED_SHIFT_LIMIT_mm,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.matching.squared_shift_limit_mm),PACKET,80,0,32,NONE,,,,,,,,, -,TRACKING.THIN_LIMIT_deg,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.tracking.thin_limit_deg),PACKET,84,0,32,NONE,,,,,,,,, -,TRACKING.OUTLIER_THRESHOLD_mm,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.tracking.outlier_threshold_mm),PACKET,88,0,32,NONE,,,,,,,,, -,TRACKING.OUTLIER_THRESHOLD_QUEST_mm,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.tracking.outlier_threshold_quest_mm),PACKET,92,0,32,NONE,,,,,,,,, -,TRACKING.TRACKER_CHOICE,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.tracking.tracker_choice),PACKET,96,0,8,NONE,,,,,,,,, -,VALIDATION.STABLE_COUNT,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.validation.stable_count),PACKET,97,0,8,NONE,,,,,,,,, -,VALIDATION.MAX_DIFFERENCE_deg,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.validation.max_difference_deg),PACKET,98,0,32,NONE,,,,,,,,, -,VALIDATION.MIN_TRACKER_CONFIDENCE,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.validation.min_tracker_confidence),PACKET,102,0,32,NONE,,,,,,,,, -,VALIDATION.MIN_MATCHED_STARS,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.validation.min_matched_stars),PACKET,106,0,8,NONE,,,,,,,,, -,ALGO.MODE,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.algo.mode),PACKET,107,0,8,NONE,,,,,,,,, -,ALGO.L2T_MIN_CONFIDENCE,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.algo.l2t_min_confidence),PACKET,108,0,32,NONE,,,,,,,,, -,ALGO.L2T_MIN_MATCHED,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.algo.l2t_min_matched),PACKET,112,0,8,NONE,,,,,,,,, -,ALGO.T2L_MIN_CINFIDENCE,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.algo.t2l_min_confidence),PACKET,113,0,32,NONE,,,,,,,,, -,ALGO.T2L_MIN_MATCHED,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.algo.t2l_min_matched),PACKET,117,0,8,NONE,,,,,,,,, -,SUBSCTIPTION.SUBSCRIPTION1,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.subscription[0]),PACKET,118,0,8,NONE,,,,,,,,, -,SUBSCTIPTION.SUBSCRIPTION2,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.subscription[1]),PACKET,119,0,8,NONE,,,,,,,,, -,SUBSCTIPTION.SUBSCRIPTION3,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.subscription[2]),PACKET,120,0,8,NONE,,,,,,,,, -,SUBSCTIPTION.SUBSCRIPTION4,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.subscription[3]),PACKET,121,0,8,NONE,,,,,,,,, -,SUBSCTIPTION.SUBSCRIPTION5,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.subscription[4]),PACKET,122,0,8,NONE,,,,,,,,, -,SUBSCTIPTION.SUBSCRIPTION6,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.subscription[5]),PACKET,123,0,8,NONE,,,,,,,,, -,SUBSCTIPTION.SUBSCRIPTION7,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.subscription[6]),PACKET,124,0,8,NONE,,,,,,,,, -,SUBSCTIPTION.SUBSCRIPTION8,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.subscription[7]),PACKET,125,0,8,NONE,,,,,,,,, -,SUBSCTIPTION.SUBSCRIPTION9,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.subscription[8]),PACKET,126,0,8,NONE,,,,,,,,, -,SUBSCTIPTION.SUBSCRIPTION10,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.subscription[9]),PACKET,127,0,8,NONE,,,,,,,,, -,SUBSCTIPTION.SUBSCRIPTION11,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.subscription[10]),PACKET,128,0,8,NONE,,,,,,,,, -,SUBSCTIPTION.SUBSCRIPTION12,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.subscription[11]),PACKET,129,0,8,NONE,,,,,,,,, -,SUBSCTIPTION.SUBSCRIPTION13,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.subscription[12]),PACKET,130,0,8,NONE,,,,,,,,, -,SUBSCTIPTION.SUBSCRIPTION14,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.subscription[13]),PACKET,131,0,8,NONE,,,,,,,,, -,SUBSCTIPTION.SUBSCRIPTION15,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.subscription[14]),PACKET,132,0,8,NONE,,,,,,,,, -,SUBSCTIPTION.SUBSCRIPTION16,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.subscription[15]),PACKET,133,0,8,NONE,,,,,,,,, -,AUTO_THRESHOLD.MODE,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.auto_threshold.mode),PACKET,134,0,8,NONE,,,,,,,,, -,AUTO_THRESHOLD.DESIREDBLOBSCOUNT,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.auto_threshold.desired_blobs_count),PACKET,135,0,8,NONE,,,,,,,,, -,AUTO_THRESHOLD.MINTHRESHOLD,uint16_t,(uint16_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.auto_threshold.min_threshold),PACKET,136,0,16,NONE,,,,,,,,, -,AUTO_THRESHOLD.MAXTHRESHOLD,uint16_t,(uint16_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.auto_threshold.max_threshold),PACKET,138,0,16,NONE,,,,,,,,, -,AUTO_THRESHOLD.THRESHOLD_KP,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.auto_threshold.threshold_kp),PACKET,140,0,32,NONE,,,,,,,,, -,,,,,,,,,,,,,,,,, -,,,,,,,,,,,,,,,,, -,,,,,,,,,,,,,,,,, -,,,,,,,,,,,,,,,,, -,,,,,,,,,,,,,,,,, -,,,,,,,,,,,,,,,,, -,,,,,,,,,,,,,,,,, -,,,,,,,,,,,,,,,,, -,,,,,,,,,,,,,,,,, -,,,,,,,,,,,,,,,,, -,,,,,,,,,,,,,,,,, -,,,,,,,,,,,,,,,,, -,,,,,,,,,,,,,,,,, -,,,,,,,,,,,,,,,,, -,,,,,,,,,,,,,,,,, +,CENTROIDING.ENABLE_FILTER,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.centroiding.enable_filter),PACKET,26,0,8,NONE,,,,,,,,, +,CENTROIDING.MAX_QUALITY,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.centroiding.max_quality),PACKET,27,0,32,NONE,,,,,,,,, +,CENTROIDING.DARK_THRESHOLD_pix,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.centroiding.dark_threshold_pix),PACKET,31,0,32,NONE,,,,,,,,, +,CENTROIDING.MIN_QUALITY,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.centroiding.min_quality),PACKET,35,0,32,NONE,,,,,,,,, +,CENTROIDING.MAX_INTENSITY,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.centroiding.max_intensity),PACKET,39,0,32,NONE,,,,,,,,, +,CENTROIDING.MIN_INTENSITY,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.centroiding.min_intensity),PACKET,43,0,32,NONE,,,,,,,,, +,CENTROIDING.MAX_MAGNITUDE,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.centroiding.max_magnitude),PACKET,47,0,32,NONE,,,,,,,,, +,CENTROIDING.GAUSSIAN_CMAX_pix,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.centroiding.gaussian_cmax_pix),PACKET,51,0,32,NONE,,,,,,,,, +,CENTROIDING.GAUSSIAN_CMIN_pix,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.centroiding.gaussian_cmin_pix),PACKET,55,0,32,NONE,,,,,,,,, +,CENTROIDING.TRANSMATRIX00,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.centroiding.transmatrix_00),PACKET,59,0,32,NONE,,,,,,,,, +,CENTROIDING.TRANSMATRIX01,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.centroiding.transmatrix_01),PACKET,63,0,32,NONE,,,,,,,,, +,CENTROIDING.TRANSMATRIX10,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.centroiding.transmatrix_10),PACKET,67,0,32,NONE,,,,,,,,, +,CENTROIDING.TRANSMATRIX11,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.centroiding.transmatrix_11),PACKET,71,0,32,NONE,,,,,,,,, +,LISA.MODE,uint32_t,(uint32_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.lisa.mode),PACKET,75,0,32,NONE,,,,,,,,, +,LISA.PREFILTER_DISTANCE_THRESHOLD_mm,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.lisa.prefilter_distance_threshold_mm),PACKET,79,0,32,NONE,,,,,,,,, +,LISA.PREFILTER_ANGLE_THRESHOLD_rad,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.lisa.prefilter_angle_threshold_rad),PACKET,83,0,32,NONE,,,,,,,,, +,LISA.FIELD_OF_VIEW_WIDTH_rad,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.lisa.field_of_view_width_rad),PACKET,87,0,32,NONE,,,,,,,,, +,LISA.FIELD_OF_VIEW_HEIGHT_rad,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.lisa.field_of_view_height_rad),PACKET,91,0,32,NONE,,,,,,,,, +,LISA.FLOAT_STAR_LIMIT_mm,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.lisa.float_star_limit_mm),PACKET,95,0,32,NONE,,,,,,,,, +,LISA.CLOSE_STAR_LIMIT_mm,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.lisa.close_star_limit_mm),PACKET,99,0,32,NONE,,,,,,,,, +,LISA.RATING_WEIGHT_CLOSE_STAR_COUNT,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.lisa.rating_weight_close_star_count),PACKET,103,0,32,NONE,,,,,,,,, +,LISA.RATING_WEIGHT_FRACTION_CLOSE,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.lisa.rating_weight_fraction_close),PACKET,107,0,32,NONE,,,,,,,,, +,LISA.RATING_WEIGHT_MEASN_SUM,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.lisa.rating_weight_mean_sum),PACKET,111,0,32,NONE,,,,,,,,, +,LISA.RATING_WEIGHT_DB_STAR_COUNT,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.lisa.rating_weight_db_star_count),PACKET,115,0,32,NONE,,,,,,,,, +,LISA.MAX_COMBINATIONS,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.lisa.max_combinations),PACKET,119,0,8,NONE,,,,,,,,, +,LISA.NR_STARS_STOP,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.lisa.nr_stars_stop),PACKET,120,0,8,NONE,,,,,,,,, +,LISA.FRACTION_CLOSE_STOP,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.lisa.fraction_close_stop),PACKET,121,0,32,NONE,,,,,,,,, +,MATCHING.SQUARED_DISTANCE_LIMIT_mm,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.matching.squared_distance_limit_mm),PACKET,125,0,32,NONE,,,,,,,,, +,MATCHING.SQUARED_SHIFT_LIMIT_mm,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.matching.squared_shift_limit_mm),PACKET,129,0,32,NONE,,,,,,,,, +,TRACKING.THIN_LIMIT_deg,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.tracking.thin_limit_deg),PACKET,133,0,32,NONE,,,,,,,,, +,TRACKING.OUTLIER_THRESHOLD_mm,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.tracking.outlier_threshold_mm),PACKET,137,0,32,NONE,,,,,,,,, +,TRACKING.OUTLIER_THRESHOLD_QUEST_mm,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.tracking.outlier_threshold_quest_mm),PACKET,141,0,32,NONE,,,,,,,,, +,TRACKING.TRACKER_CHOICE,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.tracking.tracker_choice),PACKET,145,0,8,NONE,,,,,,,,, +,VALIDATION.STABLE_COUNT,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.validation.stable_count),PACKET,146,0,8,NONE,,,,,,,,, +,VALIDATION.MAX_DIFFERENCE_deg,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.validation.max_difference_deg),PACKET,147,0,32,NONE,,,,,,,,, +,VALIDATION.MIN_TRACKER_CONFIDENCE,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.validation.min_tracker_confidence),PACKET,151,0,32,NONE,,,,,,,,, +,VALIDATION.MIN_MATCHED_STARS,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.validation.min_matched_stars),PACKET,155,0,8,NONE,,,,,,,,, +,ALGO.MODE,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.algo.mode),PACKET,156,0,8,NONE,,,,,,,,, +,ALGO.L2T_MIN_CONFIDENCE,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.algo.l2t_min_confidence),PACKET,157,0,32,NONE,,,,,,,,, +,ALGO.L2T_MIN_MATCHED,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.algo.l2t_min_matched),PACKET,161,0,8,NONE,,,,,,,,, +,ALGO.T2L_MIN_CINFIDENCE,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.algo.t2l_min_confidence),PACKET,162,0,32,NONE,,,,,,,,, +,ALGO.T2L_MIN_MATCHED,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.algo.t2l_min_matched),PACKET,166,0,8,NONE,,,,,,,,, +,SUBSCTIPTION.SUBSCRIPTION1,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.subscription[0]),PACKET,167,0,8,NONE,,,,,,,,, +,SUBSCTIPTION.SUBSCRIPTION2,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.subscription[1]),PACKET,168,0,8,NONE,,,,,,,,, +,SUBSCTIPTION.SUBSCRIPTION3,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.subscription[2]),PACKET,169,0,8,NONE,,,,,,,,, +,SUBSCTIPTION.SUBSCRIPTION4,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.subscription[3]),PACKET,170,0,8,NONE,,,,,,,,, +,SUBSCTIPTION.SUBSCRIPTION5,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.subscription[4]),PACKET,171,0,8,NONE,,,,,,,,, +,SUBSCTIPTION.SUBSCRIPTION6,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.subscription[5]),PACKET,172,0,8,NONE,,,,,,,,, +,SUBSCTIPTION.SUBSCRIPTION7,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.subscription[6]),PACKET,173,0,8,NONE,,,,,,,,, +,SUBSCTIPTION.SUBSCRIPTION8,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.subscription[7]),PACKET,174,0,8,NONE,,,,,,,,, +,SUBSCTIPTION.SUBSCRIPTION9,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.subscription[8]),PACKET,175,0,8,NONE,,,,,,,,, +,SUBSCTIPTION.SUBSCRIPTION10,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.subscription[9]),PACKET,176,0,8,NONE,,,,,,,,, +,SUBSCTIPTION.SUBSCRIPTION11,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.subscription[10]),PACKET,177,0,8,NONE,,,,,,,,, +,SUBSCTIPTION.SUBSCRIPTION12,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.subscription[11]),PACKET,178,0,8,NONE,,,,,,,,, +,SUBSCTIPTION.SUBSCRIPTION13,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.subscription[12]),PACKET,179,0,8,NONE,,,,,,,,, +,SUBSCTIPTION.SUBSCRIPTION14,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.subscription[13]),PACKET,180,0,8,NONE,,,,,,,,, +,SUBSCTIPTION.SUBSCRIPTION15,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.subscription[14]),PACKET,181,0,8,NONE,,,,,,,,, +,SUBSCTIPTION.SUBSCRIPTION16,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.subscription[15]),PACKET,182,0,8,NONE,,,,,,,,, +,AUTO_THRESHOLD.MODE,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.auto_threshold.mode),PACKET,183,0,8,NONE,,,,,,,,, +,AUTO_THRESHOLD.DESIREDBLOBSCOUNT,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.auto_threshold.desired_blobs_count),PACKET,184,0,8,NONE,,,,,,,,, +,AUTO_THRESHOLD.MINTHRESHOLD,uint16_t,(uint16_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.auto_threshold.min_threshold),PACKET,185,0,16,NONE,,,,,,,,, +,AUTO_THRESHOLD.MAXTHRESHOLD,uint16_t,(uint16_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.auto_threshold.max_threshold),PACKET,187,0,16,NONE,,,,,,,,, +,AUTO_THRESHOLD.THRESHOLD_KP,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.auto_threshold.threshold_kp),PACKET,189,0,32,NONE,,,,,,,,, +,FAST_LISA.LIMIT_ANGLE,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.fast_lisa.limit_angle),,193,0,32,NONE,,,,,,,,, +,FAST_LISA.LIMIT_DISTANCE,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.fast_lisa.limit_distance),,197,0,32,NONE,,,,,,,,, ,,,,,,,,,,,,,,,,, ,,,,,,,,,,,,,,,,, ,,,,,,,,,,,,,,,,, diff --git a/database/TLM_DB/calced_data/AOBC_TLM_DB_AOBC_SAGITTA_SET1.csv b/database/TLM_DB/calced_data/AOBC_TLM_DB_AOBC_SAGITTA_SET1.csv index b419fc28..c402c3bb 100644 --- a/database/TLM_DB/calced_data/AOBC_TLM_DB_AOBC_SAGITTA_SET1.csv +++ b/database/TLM_DB/calced_data/AOBC_TLM_DB_AOBC_SAGITTA_SET1.csv @@ -51,52 +51,52 @@ Comment,TLM Entry,Onboard Software Info.,,Extraction Info.,,,,Conversion Info.,, ,MOUNTING.QY,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.mounting.vector_part[1]),PACKET,87,0,32,NONE,,,,,,,,, ,MOUNTING.QZ,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.mounting.vector_part[2]),PACKET,91,0,32,NONE,,,,,,,,, ,MOUNTING.QW,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.mounting.scalar_part),PACKET,95,0,32,NONE,,,,,,,,, -,CAMERA.MODE,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.mode),PACKET,99,0,8,NONE,,,,,,,,, -,CAMERA.FOCAL_LENGTH_mm,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.focal_length_mm),PACKET,100,0,32,NONE,,,,,,,,, -,CAMERA.EXPOSURE_s,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.exposure_s),PACKET,104,0,32,NONE,,,,,,,,, -,CAMERA.INTERVAL_s,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.interval_s),PACKET,108,0,32,NONE,,,,,,,,, -,CAMERA.OFFSET_pix,int16_t,(int16_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.offset_pix),PACKET,112,0,16,NONE,,,,,,,,, -,CAMERA.PGA_GAIN,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.pga_gain),PACKET,114,0,8,NONE,,,,,,,,, -,CAMERA.ADC_GAIN,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.adc_gain),PACKET,115,0,8,NONE,,,,,,,,, -,CAMERA.OVERRIDE_REGISTER1,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.override_register[0]),PACKET,116,0,8,NONE,,,,,,,,, -,CAMERA.OVERRIDE_REGISTER2,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.override_register[1]),PACKET,117,0,8,NONE,,,,,,,,, -,CAMERA.OVERRIDE_REGISTER3,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.override_register[2]),PACKET,118,0,8,NONE,,,,,,,,, -,CAMERA.OVERRIDE_REGISTER4,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.override_register[3]),PACKET,119,0,8,NONE,,,,,,,,, -,CAMERA.OVERRIDE_REGISTER5,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.override_register[4]),PACKET,120,0,8,NONE,,,,,,,,, -,CAMERA.OVERRIDE_REGISTER6,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.override_register[5]),PACKET,121,0,8,NONE,,,,,,,,, -,CAMERA.OVERRIDE_REGISTER7,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.override_register[6]),PACKET,122,0,8,NONE,,,,,,,,, -,CAMERA.OVERRIDE_REGISTER8,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.override_register[7]),PACKET,123,0,8,NONE,,,,,,,,, -,CAMERA.OVERRIDE_REGISTER9,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.override_register[8]),PACKET,124,0,8,NONE,,,,,,,,, -,CAMERA.OVERRIDE_REGISTER10,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.override_register[9]),PACKET,125,0,8,NONE,,,,,,,,, -,CAMERA.OVERRIDE_REGISTER11,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.override_register[10]),PACKET,126,0,8,NONE,,,,,,,,, -,CAMERA.OVERRIDE_REGISTER12,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.override_register[11]),PACKET,127,0,8,NONE,,,,,,,,, -,CAMERA.OVERRIDE_REGISTER13,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.override_register[12]),PACKET,128,0,8,NONE,,,,,,,,, -,CAMERA.OVERRIDE_REGISTER14,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.override_register[13]),PACKET,129,0,8,NONE,,,,,,,,, -,CAMERA.OVERRIDE_REGISTER15,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.override_register[14]),PACKET,130,0,8,NONE,,,,,,,,, -,CAMERA.OVERRIDE_REGISTER16,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.override_register[15]),PACKET,131,0,8,NONE,,,,,,,,, -,CAMERA.FREQUENCY,uint32_t,(uint32_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.freq),PACKET,132,0,32,NONE,,,,,,,,, -,IMAGE_PROCESSOR.MODE,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.image_processor.mode),PACKET,136,0,8,NONE,,,,,,,,, -,IMAGE_PROCESSOR.STORE,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.image_processor.store),PACKET,137,0,8,NONE,,,,,,,,, -,IMAGE_PROCESSOR.SIGNAL_THRESHOLD_pix,uint16_t,(uint16_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.image_processor.signal_threshold_pix),PACKET,138,0,16,NONE,,,,,,,,, -,IMAGE_PROCESSOR.DARK_THRESHOLD_pix,uint16_t,(uint16_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.image_processor.dark_threshold_pix),PACKET,140,0,16,NONE,,,,,,,,, -,IMAGE_PROCESSOR.BACKGROUND_COMPENSATION,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.image_processor.background_compensation),PACKET,142,0,8,NONE,,,,,,,,, -,CENTROIDING.ENABLE_FILTER,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.centroiding.enable_filter),PACKET,143,0,8,NONE,,,,,,,,, -,CENTROIDING.MAX_QUALITY,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.centroiding.max_quality),PACKET,144,0,32,NONE,,,,,,,,, -,CENTROIDING.DARK_THRESHOLD_pix,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.centroiding.dark_threshold_pix),PACKET,148,0,32,NONE,,,,,,,,, -,CENTROIDING.MIN_QUALITY,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.centroiding.min_quality),PACKET,152,0,32,NONE,,,,,,,,, -,CENTROIDING.MAX_INTENSITY,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.centroiding.max_intensity),PACKET,156,0,32,NONE,,,,,,,,, -,CENTROIDING.MIN_INTENSITY,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.centroiding.min_intensity),PACKET,160,0,32,NONE,,,,,,,,, -,CENTROIDING.MAX_MAGNITUDE,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.centroiding.max_magnitude),PACKET,164,0,32,NONE,,,,,,,,, -,CENTROIDING.GAUSSIAN_CMAX_pix,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.centroiding.gaussian_cmax_pix),PACKET,168,0,32,NONE,,,,,,,,, -,CENTROIDING.GAUSSIAN_CMIN_pix,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.centroiding.gaussian_cmin_pix),PACKET,172,0,32,NONE,,,,,,,,, -,CENTROIDING.TRANSMATRIX00,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.centroiding.transmatrix_00),PACKET,176,0,32,NONE,,,,,,,,, -,CENTROIDING.TRANSMATRIX01,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.centroiding.transmatrix_01),PACKET,180,0,32,NONE,,,,,,,,, -,CENTROIDING.TRANSMATRIX10,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.centroiding.transmatrix_10),PACKET,184,0,32,NONE,,,,,,,,, -,CENTROIDING.TRANSMATRIX11,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.centroiding.transmatrix_11),PACKET,188,0,32,NONE,,,,,,,,, -,,,,,,,,,,,,,,,,, -,,,,,,,,,,,,,,,,, -,,,,,,,,,,,,,,,,, -,,,,,,,,,,,,,,,,, +,DISTORTION.MODE,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.distortion.mode),PACKET,99,0,8,NONE,,,,,,,,, +,DISTORTION.K0_COEFFICIENT0,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.distortion.k0_coefficient[0]),PACKET,100,0,32,NONE,,,,,,,,, +,DISTORTION.K0_COEFFICIENT1,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.distortion.k0_coefficient[1]),PACKET,104,0,32,NONE,,,,,,,,, +,DISTORTION.K0_COEFFICIENT2,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.distortion.k0_coefficient[2]),PACKET,108,0,32,NONE,,,,,,,,, +,DISTORTION.K0_COEFFICIENT3,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.distortion.k0_coefficient[3]),PACKET,112,0,32,NONE,,,,,,,,, +,DISTORTION.K0_COEFFICIENT4,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.distortion.k0_coefficient[4]),PACKET,116,0,32,NONE,,,,,,,,, +,DISTORTION.K0_COEFFICIENT5,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.distortion.k0_coefficient[5]),PACKET,120,0,32,NONE,,,,,,,,, +,DISTORTION.K0_COEFFICIENT6,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.distortion.k0_coefficient[6]),PACKET,124,0,32,NONE,,,,,,,,, +,DISTORTION.K0_COEFFICIENT7,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.distortion.k0_coefficient[7]),PACKET,128,0,32,NONE,,,,,,,,, +,DISTORTION.H0_COEFFICIENT0,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.distortion.h0_coefficient[0]),PACKET,132,0,32,NONE,,,,,,,,, +,DISTORTION.H0_COEFFICIENT1,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.distortion.h0_coefficient[1]),PACKET,136,0,32,NONE,,,,,,,,, +,DISTORTION.H0_COEFFICIENT2,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.distortion.h0_coefficient[2]),PACKET,140,0,32,NONE,,,,,,,,, +,DISTORTION.H0_COEFFICIENT3,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.distortion.h0_coefficient[3]),PACKET,144,0,32,NONE,,,,,,,,, +,DISTORTION.H0_COEFFICIENT4,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.distortion.h0_coefficient[4]),PACKET,148,0,32,NONE,,,,,,,,, +,DISTORTION.H0_COEFFICIENT5,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.distortion.h0_coefficient[5]),PACKET,152,0,32,NONE,,,,,,,,, +,DISTORTION.H0_COEFFICIENT6,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.distortion.h0_coefficient[6]),PACKET,156,0,32,NONE,,,,,,,,, +,DISTORTION.H0_COEFFICIENT7,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.distortion.h0_coefficient[7]),PACKET,160,0,32,NONE,,,,,,,,, +,CAMERA.MODE,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.mode),PACKET,164,0,8,NONE,,,,,,,,, +,CAMERA.FOCAL_LENGTH_mm,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.focal_length_mm),PACKET,165,0,32,NONE,,,,,,,,, +,CAMERA.EXPOSURE_s,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.exposure_s),PACKET,169,0,32,NONE,,,,,,,,, +,CAMERA.INTERVAL_s,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.interval_s),PACKET,173,0,32,NONE,,,,,,,,, +,CAMERA.OFFSET_pix,int16_t,(int16_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.offset_pix),PACKET,177,0,16,NONE,,,,,,,,, +,CAMERA.PGA_GAIN,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.pga_gain),PACKET,179,0,8,NONE,,,,,,,,, +,CAMERA.ADC_GAIN,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.adc_gain),PACKET,180,0,8,NONE,,,,,,,,, +,CAMERA.OVERRIDE_REGISTER1,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.override_register[0]),PACKET,181,0,8,NONE,,,,,,,,, +,CAMERA.OVERRIDE_REGISTER2,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.override_register[1]),PACKET,182,0,8,NONE,,,,,,,,, +,CAMERA.OVERRIDE_REGISTER3,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.override_register[2]),PACKET,183,0,8,NONE,,,,,,,,, +,CAMERA.OVERRIDE_REGISTER4,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.override_register[3]),PACKET,184,0,8,NONE,,,,,,,,, +,CAMERA.OVERRIDE_REGISTER5,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.override_register[4]),PACKET,185,0,8,NONE,,,,,,,,, +,CAMERA.OVERRIDE_REGISTER6,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.override_register[5]),PACKET,186,0,8,NONE,,,,,,,,, +,CAMERA.OVERRIDE_REGISTER7,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.override_register[6]),PACKET,187,0,8,NONE,,,,,,,,, +,CAMERA.OVERRIDE_REGISTER8,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.override_register[7]),PACKET,188,0,8,NONE,,,,,,,,, +,CAMERA.OVERRIDE_REGISTER9,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.override_register[8]),PACKET,189,0,8,NONE,,,,,,,,, +,CAMERA.OVERRIDE_REGISTER10,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.override_register[9]),PACKET,190,0,8,NONE,,,,,,,,, +,CAMERA.OVERRIDE_REGISTER11,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.override_register[10]),PACKET,191,0,8,NONE,,,,,,,,, +,CAMERA.OVERRIDE_REGISTER12,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.override_register[11]),PACKET,192,0,8,NONE,,,,,,,,, +,CAMERA.OVERRIDE_REGISTER13,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.override_register[12]),PACKET,193,0,8,NONE,,,,,,,,, +,CAMERA.OVERRIDE_REGISTER14,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.override_register[13]),PACKET,194,0,8,NONE,,,,,,,,, +,CAMERA.OVERRIDE_REGISTER15,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.override_register[14]),PACKET,195,0,8,NONE,,,,,,,,, +,CAMERA.OVERRIDE_REGISTER16,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.override_register[15]),PACKET,196,0,8,NONE,,,,,,,,, +,CAMERA.FREQUENCY,uint32_t,(uint32_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.freq),PACKET,197,0,32,NONE,,,,,,,,, +,IMAGE_PROCESSOR.MODE,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.image_processor.mode),PACKET,201,0,8,NONE,,,,,,,,, +,IMAGE_PROCESSOR.STORE,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.image_processor.store),PACKET,202,0,8,NONE,,,,,,,,, +,IMAGE_PROCESSOR.SIGNAL_THRESHOLD_pix,uint16_t,(uint16_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.image_processor.signal_threshold_pix),PACKET,203,0,16,NONE,,,,,,,,, +,IMAGE_PROCESSOR.DARK_THRESHOLD_pix,uint16_t,(uint16_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.image_processor.dark_threshold_pix),PACKET,205,0,16,NONE,,,,,,,,, +,IMAGE_PROCESSOR.BACKGROUND_COMPENSATION,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.image_processor.background_compensation),PACKET,207,0,8,NONE,,,,,,,,, ,,,,,,,,,,,,,,,,, ,,,,,,,,,,,,,,,,, ,,,,,,,,,,,,,,,,, diff --git a/database/TLM_DB/calced_data/AOBC_TLM_DB_AOBC_SAGITTA_SET2.csv b/database/TLM_DB/calced_data/AOBC_TLM_DB_AOBC_SAGITTA_SET2.csv index 871d8bf3..0616714e 100644 --- a/database/TLM_DB/calced_data/AOBC_TLM_DB_AOBC_SAGITTA_SET2.csv +++ b/database/TLM_DB/calced_data/AOBC_TLM_DB_AOBC_SAGITTA_SET2.csv @@ -20,71 +20,71 @@ Comment,TLM Entry,Onboard Software Info.,,Extraction Info.,,,,Conversion Info.,, ,SH.ON_BOARD_SUBNET_TIME,uint32_t,,PACKET,20,0,32,NONE,,,,,,,,, ,SH.DEST_FLAGS,uint8_t,,PACKET,24,0,8,HEX,,,,,,,,, ,SH.DEST_INFO,uint8_t,,PACKET,25,0,8,NONE,,,,,,,,, -,LISA.MODE,uint32_t,(uint32_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.lisa.mode),PACKET,26,0,32,NONE,,,,,,,,, -,LISA.PREFILTER_DISTANCE_THRESHOLD_mm,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.lisa.prefilter_distance_threshold_mm),PACKET,30,0,32,NONE,,,,,,,,, -,LISA.PREFILTER_ANGLE_THRESHOLD_rad,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.lisa.prefilter_angle_threshold_rad),PACKET,34,0,32,NONE,,,,,,,,, -,LISA.FIELD_OF_VIEW_WIDTH_rad,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.lisa.field_of_view_width_rad),PACKET,38,0,32,NONE,,,,,,,,, -,LISA.FIELD_OF_VIEW_HEIGHT_rad,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.lisa.field_of_view_height_rad),PACKET,42,0,32,NONE,,,,,,,,, -,LISA.FLOAT_STAR_LIMIT_mm,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.lisa.float_star_limit_mm),PACKET,46,0,32,NONE,,,,,,,,, -,LISA.CLOSE_STAR_LIMIT_mm,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.lisa.close_star_limit_mm),PACKET,50,0,32,NONE,,,,,,,,, -,LISA.RATING_WEIGHT_CLOSE_STAR_COUNT,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.lisa.rating_weight_close_star_count),PACKET,54,0,32,NONE,,,,,,,,, -,LISA.RATING_WEIGHT_FRACTION_CLOSE,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.lisa.rating_weight_fraction_close),PACKET,58,0,32,NONE,,,,,,,,, -,LISA.RATING_WEIGHT_MEASN_SUM,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.lisa.rating_weight_mean_sum),PACKET,62,0,32,NONE,,,,,,,,, -,LISA.RATING_WEIGHT_DB_STAR_COUNT,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.lisa.rating_weight_db_star_count),PACKET,66,0,32,NONE,,,,,,,,, -,LISA.MAX_COMBINATIONS,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.lisa.max_combinations),PACKET,70,0,8,NONE,,,,,,,,, -,LISA.NR_STARS_STOP,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.lisa.nr_stars_stop),PACKET,71,0,8,NONE,,,,,,,,, -,LISA.FRACTION_CLOSE_STOP,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.lisa.fraction_close_stop),PACKET,72,0,32,NONE,,,,,,,,, -,MATCHING.SQUARED_DISTANCE_LIMIT_mm,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.matching.squared_distance_limit_mm),PACKET,76,0,32,NONE,,,,,,,,, -,MATCHING.SQUARED_SHIFT_LIMIT_mm,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.matching.squared_shift_limit_mm),PACKET,80,0,32,NONE,,,,,,,,, -,TRACKING.THIN_LIMIT_deg,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.tracking.thin_limit_deg),PACKET,84,0,32,NONE,,,,,,,,, -,TRACKING.OUTLIER_THRESHOLD_mm,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.tracking.outlier_threshold_mm),PACKET,88,0,32,NONE,,,,,,,,, -,TRACKING.OUTLIER_THRESHOLD_QUEST_mm,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.tracking.outlier_threshold_quest_mm),PACKET,92,0,32,NONE,,,,,,,,, -,TRACKING.TRACKER_CHOICE,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.tracking.tracker_choice),PACKET,96,0,8,NONE,,,,,,,,, -,VALIDATION.STABLE_COUNT,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.validation.stable_count),PACKET,97,0,8,NONE,,,,,,,,, -,VALIDATION.MAX_DIFFERENCE_deg,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.validation.max_difference_deg),PACKET,98,0,32,NONE,,,,,,,,, -,VALIDATION.MIN_TRACKER_CONFIDENCE,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.validation.min_tracker_confidence),PACKET,102,0,32,NONE,,,,,,,,, -,VALIDATION.MIN_MATCHED_STARS,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.validation.min_matched_stars),PACKET,106,0,8,NONE,,,,,,,,, -,ALGO.MODE,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.algo.mode),PACKET,107,0,8,NONE,,,,,,,,, -,ALGO.L2T_MIN_CONFIDENCE,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.algo.l2t_min_confidence),PACKET,108,0,32,NONE,,,,,,,,, -,ALGO.L2T_MIN_MATCHED,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.algo.l2t_min_matched),PACKET,112,0,8,NONE,,,,,,,,, -,ALGO.T2L_MIN_CINFIDENCE,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.algo.t2l_min_confidence),PACKET,113,0,32,NONE,,,,,,,,, -,ALGO.T2L_MIN_MATCHED,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.algo.t2l_min_matched),PACKET,117,0,8,NONE,,,,,,,,, -,SUBSCTIPTION.SUBSCRIPTION1,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.subscription[0]),PACKET,118,0,8,NONE,,,,,,,,, -,SUBSCTIPTION.SUBSCRIPTION2,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.subscription[1]),PACKET,119,0,8,NONE,,,,,,,,, -,SUBSCTIPTION.SUBSCRIPTION3,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.subscription[2]),PACKET,120,0,8,NONE,,,,,,,,, -,SUBSCTIPTION.SUBSCRIPTION4,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.subscription[3]),PACKET,121,0,8,NONE,,,,,,,,, -,SUBSCTIPTION.SUBSCRIPTION5,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.subscription[4]),PACKET,122,0,8,NONE,,,,,,,,, -,SUBSCTIPTION.SUBSCRIPTION6,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.subscription[5]),PACKET,123,0,8,NONE,,,,,,,,, -,SUBSCTIPTION.SUBSCRIPTION7,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.subscription[6]),PACKET,124,0,8,NONE,,,,,,,,, -,SUBSCTIPTION.SUBSCRIPTION8,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.subscription[7]),PACKET,125,0,8,NONE,,,,,,,,, -,SUBSCTIPTION.SUBSCRIPTION9,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.subscription[8]),PACKET,126,0,8,NONE,,,,,,,,, -,SUBSCTIPTION.SUBSCRIPTION10,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.subscription[9]),PACKET,127,0,8,NONE,,,,,,,,, -,SUBSCTIPTION.SUBSCRIPTION11,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.subscription[10]),PACKET,128,0,8,NONE,,,,,,,,, -,SUBSCTIPTION.SUBSCRIPTION12,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.subscription[11]),PACKET,129,0,8,NONE,,,,,,,,, -,SUBSCTIPTION.SUBSCRIPTION13,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.subscription[12]),PACKET,130,0,8,NONE,,,,,,,,, -,SUBSCTIPTION.SUBSCRIPTION14,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.subscription[13]),PACKET,131,0,8,NONE,,,,,,,,, -,SUBSCTIPTION.SUBSCRIPTION15,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.subscription[14]),PACKET,132,0,8,NONE,,,,,,,,, -,SUBSCTIPTION.SUBSCRIPTION16,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.subscription[15]),PACKET,133,0,8,NONE,,,,,,,,, -,AUTO_THRESHOLD.MODE,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.auto_threshold.mode),PACKET,134,0,8,NONE,,,,,,,,, -,AUTO_THRESHOLD.DESIREDBLOBSCOUNT,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.auto_threshold.desired_blobs_count),PACKET,135,0,8,NONE,,,,,,,,, -,AUTO_THRESHOLD.MINTHRESHOLD,uint16_t,(uint16_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.auto_threshold.min_threshold),PACKET,136,0,16,NONE,,,,,,,,, -,AUTO_THRESHOLD.MAXTHRESHOLD,uint16_t,(uint16_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.auto_threshold.max_threshold),PACKET,138,0,16,NONE,,,,,,,,, -,AUTO_THRESHOLD.THRESHOLD_KP,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.auto_threshold.threshold_kp),PACKET,140,0,32,NONE,,,,,,,,, -,,,,,,,,,,,,,,,,, -,,,,,,,,,,,,,,,,, -,,,,,,,,,,,,,,,,, -,,,,,,,,,,,,,,,,, -,,,,,,,,,,,,,,,,, -,,,,,,,,,,,,,,,,, -,,,,,,,,,,,,,,,,, -,,,,,,,,,,,,,,,,, -,,,,,,,,,,,,,,,,, -,,,,,,,,,,,,,,,,, -,,,,,,,,,,,,,,,,, -,,,,,,,,,,,,,,,,, -,,,,,,,,,,,,,,,,, -,,,,,,,,,,,,,,,,, -,,,,,,,,,,,,,,,,, +,CENTROIDING.ENABLE_FILTER,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.centroiding.enable_filter),PACKET,26,0,8,NONE,,,,,,,,, +,CENTROIDING.MAX_QUALITY,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.centroiding.max_quality),PACKET,27,0,32,NONE,,,,,,,,, +,CENTROIDING.DARK_THRESHOLD_pix,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.centroiding.dark_threshold_pix),PACKET,31,0,32,NONE,,,,,,,,, +,CENTROIDING.MIN_QUALITY,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.centroiding.min_quality),PACKET,35,0,32,NONE,,,,,,,,, +,CENTROIDING.MAX_INTENSITY,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.centroiding.max_intensity),PACKET,39,0,32,NONE,,,,,,,,, +,CENTROIDING.MIN_INTENSITY,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.centroiding.min_intensity),PACKET,43,0,32,NONE,,,,,,,,, +,CENTROIDING.MAX_MAGNITUDE,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.centroiding.max_magnitude),PACKET,47,0,32,NONE,,,,,,,,, +,CENTROIDING.GAUSSIAN_CMAX_pix,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.centroiding.gaussian_cmax_pix),PACKET,51,0,32,NONE,,,,,,,,, +,CENTROIDING.GAUSSIAN_CMIN_pix,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.centroiding.gaussian_cmin_pix),PACKET,55,0,32,NONE,,,,,,,,, +,CENTROIDING.TRANSMATRIX00,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.centroiding.transmatrix_00),PACKET,59,0,32,NONE,,,,,,,,, +,CENTROIDING.TRANSMATRIX01,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.centroiding.transmatrix_01),PACKET,63,0,32,NONE,,,,,,,,, +,CENTROIDING.TRANSMATRIX10,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.centroiding.transmatrix_10),PACKET,67,0,32,NONE,,,,,,,,, +,CENTROIDING.TRANSMATRIX11,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.centroiding.transmatrix_11),PACKET,71,0,32,NONE,,,,,,,,, +,LISA.MODE,uint32_t,(uint32_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.lisa.mode),PACKET,75,0,32,NONE,,,,,,,,, +,LISA.PREFILTER_DISTANCE_THRESHOLD_mm,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.lisa.prefilter_distance_threshold_mm),PACKET,79,0,32,NONE,,,,,,,,, +,LISA.PREFILTER_ANGLE_THRESHOLD_rad,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.lisa.prefilter_angle_threshold_rad),PACKET,83,0,32,NONE,,,,,,,,, +,LISA.FIELD_OF_VIEW_WIDTH_rad,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.lisa.field_of_view_width_rad),PACKET,87,0,32,NONE,,,,,,,,, +,LISA.FIELD_OF_VIEW_HEIGHT_rad,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.lisa.field_of_view_height_rad),PACKET,91,0,32,NONE,,,,,,,,, +,LISA.FLOAT_STAR_LIMIT_mm,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.lisa.float_star_limit_mm),PACKET,95,0,32,NONE,,,,,,,,, +,LISA.CLOSE_STAR_LIMIT_mm,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.lisa.close_star_limit_mm),PACKET,99,0,32,NONE,,,,,,,,, +,LISA.RATING_WEIGHT_CLOSE_STAR_COUNT,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.lisa.rating_weight_close_star_count),PACKET,103,0,32,NONE,,,,,,,,, +,LISA.RATING_WEIGHT_FRACTION_CLOSE,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.lisa.rating_weight_fraction_close),PACKET,107,0,32,NONE,,,,,,,,, +,LISA.RATING_WEIGHT_MEASN_SUM,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.lisa.rating_weight_mean_sum),PACKET,111,0,32,NONE,,,,,,,,, +,LISA.RATING_WEIGHT_DB_STAR_COUNT,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.lisa.rating_weight_db_star_count),PACKET,115,0,32,NONE,,,,,,,,, +,LISA.MAX_COMBINATIONS,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.lisa.max_combinations),PACKET,119,0,8,NONE,,,,,,,,, +,LISA.NR_STARS_STOP,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.lisa.nr_stars_stop),PACKET,120,0,8,NONE,,,,,,,,, +,LISA.FRACTION_CLOSE_STOP,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.lisa.fraction_close_stop),PACKET,121,0,32,NONE,,,,,,,,, +,MATCHING.SQUARED_DISTANCE_LIMIT_mm,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.matching.squared_distance_limit_mm),PACKET,125,0,32,NONE,,,,,,,,, +,MATCHING.SQUARED_SHIFT_LIMIT_mm,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.matching.squared_shift_limit_mm),PACKET,129,0,32,NONE,,,,,,,,, +,TRACKING.THIN_LIMIT_deg,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.tracking.thin_limit_deg),PACKET,133,0,32,NONE,,,,,,,,, +,TRACKING.OUTLIER_THRESHOLD_mm,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.tracking.outlier_threshold_mm),PACKET,137,0,32,NONE,,,,,,,,, +,TRACKING.OUTLIER_THRESHOLD_QUEST_mm,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.tracking.outlier_threshold_quest_mm),PACKET,141,0,32,NONE,,,,,,,,, +,TRACKING.TRACKER_CHOICE,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.tracking.tracker_choice),PACKET,145,0,8,NONE,,,,,,,,, +,VALIDATION.STABLE_COUNT,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.validation.stable_count),PACKET,146,0,8,NONE,,,,,,,,, +,VALIDATION.MAX_DIFFERENCE_deg,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.validation.max_difference_deg),PACKET,147,0,32,NONE,,,,,,,,, +,VALIDATION.MIN_TRACKER_CONFIDENCE,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.validation.min_tracker_confidence),PACKET,151,0,32,NONE,,,,,,,,, +,VALIDATION.MIN_MATCHED_STARS,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.validation.min_matched_stars),PACKET,155,0,8,NONE,,,,,,,,, +,ALGO.MODE,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.algo.mode),PACKET,156,0,8,NONE,,,,,,,,, +,ALGO.L2T_MIN_CONFIDENCE,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.algo.l2t_min_confidence),PACKET,157,0,32,NONE,,,,,,,,, +,ALGO.L2T_MIN_MATCHED,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.algo.l2t_min_matched),PACKET,161,0,8,NONE,,,,,,,,, +,ALGO.T2L_MIN_CINFIDENCE,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.algo.t2l_min_confidence),PACKET,162,0,32,NONE,,,,,,,,, +,ALGO.T2L_MIN_MATCHED,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.algo.t2l_min_matched),PACKET,166,0,8,NONE,,,,,,,,, +,SUBSCTIPTION.SUBSCRIPTION1,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.subscription[0]),PACKET,167,0,8,NONE,,,,,,,,, +,SUBSCTIPTION.SUBSCRIPTION2,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.subscription[1]),PACKET,168,0,8,NONE,,,,,,,,, +,SUBSCTIPTION.SUBSCRIPTION3,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.subscription[2]),PACKET,169,0,8,NONE,,,,,,,,, +,SUBSCTIPTION.SUBSCRIPTION4,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.subscription[3]),PACKET,170,0,8,NONE,,,,,,,,, +,SUBSCTIPTION.SUBSCRIPTION5,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.subscription[4]),PACKET,171,0,8,NONE,,,,,,,,, +,SUBSCTIPTION.SUBSCRIPTION6,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.subscription[5]),PACKET,172,0,8,NONE,,,,,,,,, +,SUBSCTIPTION.SUBSCRIPTION7,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.subscription[6]),PACKET,173,0,8,NONE,,,,,,,,, +,SUBSCTIPTION.SUBSCRIPTION8,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.subscription[7]),PACKET,174,0,8,NONE,,,,,,,,, +,SUBSCTIPTION.SUBSCRIPTION9,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.subscription[8]),PACKET,175,0,8,NONE,,,,,,,,, +,SUBSCTIPTION.SUBSCRIPTION10,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.subscription[9]),PACKET,176,0,8,NONE,,,,,,,,, +,SUBSCTIPTION.SUBSCRIPTION11,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.subscription[10]),PACKET,177,0,8,NONE,,,,,,,,, +,SUBSCTIPTION.SUBSCRIPTION12,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.subscription[11]),PACKET,178,0,8,NONE,,,,,,,,, +,SUBSCTIPTION.SUBSCRIPTION13,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.subscription[12]),PACKET,179,0,8,NONE,,,,,,,,, +,SUBSCTIPTION.SUBSCRIPTION14,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.subscription[13]),PACKET,180,0,8,NONE,,,,,,,,, +,SUBSCTIPTION.SUBSCRIPTION15,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.subscription[14]),PACKET,181,0,8,NONE,,,,,,,,, +,SUBSCTIPTION.SUBSCRIPTION16,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.subscription[15]),PACKET,182,0,8,NONE,,,,,,,,, +,AUTO_THRESHOLD.MODE,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.auto_threshold.mode),PACKET,183,0,8,NONE,,,,,,,,, +,AUTO_THRESHOLD.DESIREDBLOBSCOUNT,uint8_t,(uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.auto_threshold.desired_blobs_count),PACKET,184,0,8,NONE,,,,,,,,, +,AUTO_THRESHOLD.MINTHRESHOLD,uint16_t,(uint16_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.auto_threshold.min_threshold),PACKET,185,0,16,NONE,,,,,,,,, +,AUTO_THRESHOLD.MAXTHRESHOLD,uint16_t,(uint16_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.auto_threshold.max_threshold),PACKET,187,0,16,NONE,,,,,,,,, +,AUTO_THRESHOLD.THRESHOLD_KP,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.auto_threshold.threshold_kp),PACKET,189,0,32,NONE,,,,,,,,, +,FAST_LISA.LIMIT_ANGLE,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.fast_lisa.limit_angle),,193,0,32,NONE,,,,,,,,, +,FAST_LISA.LIMIT_DISTANCE,float,(float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.fast_lisa.limit_distance),,197,0,32,NONE,,,,,,,,, ,,,,,,,,,,,,,,,,, ,,,,,,,,,,,,,,,,, ,,,,,,,,,,,,,,,,, diff --git a/src/src_user/Applications/DriverInstances/di_sagitta.c b/src/src_user/Applications/DriverInstances/di_sagitta.c index 969c1905..bd0cf9ea 100644 --- a/src/src_user/Applications/DriverInstances/di_sagitta.c +++ b/src/src_user/Applications/DriverInstances/di_sagitta.c @@ -154,6 +154,9 @@ CCP_CmdRet Cmd_DI_SAGITTA_SET_PARAMETER(const CommonCmdPacket* packet) case SAGITTA_PARAMETER_ID_MOUNTING: ret = SAGITTA_set_mounting(&(sagitta_driver_[SAGITTA_IDX_IN_UNIT])); break; + case SAGITTA_PARAMETER_ID_DISTORTION: + ret = SAGITTA_set_distortion(&(sagitta_driver_[SAGITTA_IDX_IN_UNIT])); + break; case SAGITTA_PARAMETER_ID_CAMERA: ret = SAGITTA_set_camera(&(sagitta_driver_[SAGITTA_IDX_IN_UNIT])); break; @@ -184,6 +187,9 @@ CCP_CmdRet Cmd_DI_SAGITTA_SET_PARAMETER(const CommonCmdPacket* packet) case SAGITTA_PARAMETER_ID_AUTO_THRESHOLD: ret = SAGITTA_set_auto_threshold(&(sagitta_driver_[SAGITTA_IDX_IN_UNIT])); break; + case SAGITTA_PARAMETER_ID_FAST_LISA: + ret = SAGITTA_set_fast_lisa(&(sagitta_driver_[SAGITTA_IDX_IN_UNIT])); + break; default: return CCP_make_cmd_ret_without_err_code(CCP_EXEC_ILLEGAL_CONTEXT); } @@ -209,6 +215,9 @@ CCP_CmdRet Cmd_DI_SAGITTA_CHANGE_PARAMETER(const CommonCmdPacket* packet) case SAGITTA_PARAMETER_ID_MOUNTING: ret = SAGITTA_change_mounting(&(sagitta_driver_[SAGITTA_IDX_IN_UNIT]), param_idx, value); break; + case SAGITTA_PARAMETER_ID_DISTORTION: + ret = SAGITTA_change_distortion(&(sagitta_driver_[SAGITTA_IDX_IN_UNIT]), param_idx, value); + break; case SAGITTA_PARAMETER_ID_CAMERA: ret = SAGITTA_change_camera(&(sagitta_driver_[SAGITTA_IDX_IN_UNIT]), param_idx, value); break; @@ -239,6 +248,9 @@ CCP_CmdRet Cmd_DI_SAGITTA_CHANGE_PARAMETER(const CommonCmdPacket* packet) case SAGITTA_PARAMETER_ID_AUTO_THRESHOLD: ret = SAGITTA_change_auto_threshold(&(sagitta_driver_[SAGITTA_IDX_IN_UNIT]), param_idx, value); break; + case SAGITTA_PARAMETER_ID_FAST_LISA: + ret = SAGITTA_change_fast_lisa(&(sagitta_driver_[SAGITTA_IDX_IN_UNIT]), param_idx, value); + break; default: return CCP_make_cmd_ret_without_err_code(CCP_EXEC_ILLEGAL_CONTEXT); } diff --git a/src/src_user/Drivers/Aocs/sagitta.c b/src/src_user/Drivers/Aocs/sagitta.c index ce59f6d5..3e0e0893 100644 --- a/src/src_user/Drivers/Aocs/sagitta.c +++ b/src/src_user/Drivers/Aocs/sagitta.c @@ -59,6 +59,7 @@ static DS_ERR_CODE SAGITTA_analyze_rec_data_parameter_reply_(SAGITTA_Driver* sag static DS_ERR_CODE SAGITTA_analyze_rec_data_parameter_log_level_(SAGITTA_Driver* sagitta_driver); static DS_ERR_CODE SAGITTA_analyze_rec_data_parameter_limits_(SAGITTA_Driver* sagitta_driver); static DS_ERR_CODE SAGITTA_analyze_rec_data_parameter_mounting_(SAGITTA_Driver* sagitta_driver); +static DS_ERR_CODE SAGITTA_analyze_rec_data_parameter_distortion_(SAGITTA_Driver* sagitta_driver); static DS_ERR_CODE SAGITTA_analyze_rec_data_parameter_camera_(SAGITTA_Driver* sagitta_driver); static DS_ERR_CODE SAGITTA_analyze_rec_data_parameter_image_processor_(SAGITTA_Driver* sagitta_driver); static DS_ERR_CODE SAGITTA_analyze_rec_data_parameter_centroiding_(SAGITTA_Driver* sagitta_driver); @@ -69,6 +70,7 @@ static DS_ERR_CODE SAGITTA_analyze_rec_data_parameter_validation_(SAGITTA_Driver static DS_ERR_CODE SAGITTA_analyze_rec_data_parameter_algo_(SAGITTA_Driver* sagitta_driver); static DS_ERR_CODE SAGITTA_analyze_rec_data_parameter_subscription_(SAGITTA_Driver* sagitta_driver); static DS_ERR_CODE SAGITTA_analyze_rec_data_parameter_auto_threshold_(SAGITTA_Driver* sagitta_driver); +static DS_ERR_CODE SAGITTA_analyze_rec_data_parameter_fast_lisa_(SAGITTA_Driver* sagitta_driver); // action static DS_ERR_CODE SAGITTA_analyze_rec_data_action_reply_(SAGITTA_Driver* sagitta_driver); // telemetry @@ -143,6 +145,7 @@ DS_INIT_ERR_CODE SAGITTA_init(SAGITTA_Driver* sagitta_driver, uint8_t ch, DS_Str memset(&(sagitta_driver->info.set_parameter.limits.max_value), 0x00, sizeof(sagitta_driver->info.set_parameter.limits.max_value)); sagitta_driver->info.set_parameter.mounting.scalar_part = 1.0f; memset(&(sagitta_driver->info.set_parameter.mounting.vector_part), 0x00, sizeof(sagitta_driver->info.set_parameter.mounting.vector_part)); + memset(&(sagitta_driver->info.set_parameter.distortion), 0x00, sizeof(sagitta_driver->info.set_parameter.distortion)); sagitta_driver->info.set_parameter.camera.mode = 2; sagitta_driver->info.set_parameter.camera.focal_length_mm = 25.2f; sagitta_driver->info.set_parameter.camera.exposure_s = 0.2f; @@ -212,6 +215,8 @@ DS_INIT_ERR_CODE SAGITTA_init(SAGITTA_Driver* sagitta_driver, uint8_t ch, DS_Str sagitta_driver->info.set_parameter.auto_threshold.min_threshold = 1; sagitta_driver->info.set_parameter.auto_threshold.max_threshold = 255; sagitta_driver->info.set_parameter.auto_threshold.threshold_kp = 0.10; + sagitta_driver->info.set_parameter.fast_lisa.limit_angle = 0.1; + sagitta_driver->info.set_parameter.fast_lisa.limit_distance = 0.2; return DS_INIT_OK; } @@ -361,6 +366,35 @@ DS_CMD_ERR_CODE SAGITTA_set_mounting(SAGITTA_Driver* sagitta_driver) return SAGITTA_send_cmd_(sagitta_driver, offset); } +DS_CMD_ERR_CODE SAGITTA_set_distortion(SAGITTA_Driver* sagitta_driver) +{ + const uint8_t mode = sagitta_driver->info.set_parameter.distortion.mode; + const float* k0_coefficient = &(sagitta_driver->info.set_parameter.distortion.k0_coefficient[0]); + const float* h0_coefficient = &(sagitta_driver->info.set_parameter.distortion.h0_coefficient[0]); + uint8_t offset = 0; + + SAGITTA_tx_data_frame_[offset] = SAGITTA_kAddress_; + offset += (uint8_t)sizeof(SAGITTA_kAddress_); + SAGITTA_tx_data_frame_[offset] = SAGITTA_kCmdSetParameter_; + offset += (uint8_t)sizeof(SAGITTA_kCmdSetParameter_); + SAGITTA_tx_data_frame_[offset] = SAGITTA_PARAMETER_ID_DISTORTION; + offset += (uint8_t)sizeof(uint8_t); + memcpy(&(SAGITTA_tx_data_frame_[offset]), &(mode), sizeof(mode)); + offset += (uint8_t)sizeof(mode); + for (int i = 0; i < SAGITTA_PARAMETER_DISTORTION_LENGTH; i++) + { + memcpy(&(SAGITTA_tx_data_frame_[offset]), &(k0_coefficient[i]), sizeof(k0_coefficient[i])); + offset += (uint8_t)sizeof(k0_coefficient[i]); + } + for (int i = 0; i < SAGITTA_PARAMETER_DISTORTION_LENGTH; i++) + { + memcpy(&(SAGITTA_tx_data_frame_[offset]), &(h0_coefficient[i]), sizeof(h0_coefficient[i])); + offset += (uint8_t)sizeof(h0_coefficient[i]); + } + + return SAGITTA_send_cmd_(sagitta_driver, offset); +} + DS_CMD_ERR_CODE SAGITTA_set_camera(SAGITTA_Driver* sagitta_driver) { const uint8_t mode = sagitta_driver->info.set_parameter.camera.mode; @@ -701,6 +735,27 @@ DS_CMD_ERR_CODE SAGITTA_set_auto_threshold(SAGITTA_Driver* sagitta_driver) return SAGITTA_send_cmd_(sagitta_driver, offset); } +DS_CMD_ERR_CODE SAGITTA_set_fast_lisa(SAGITTA_Driver* sagitta_driver) +{ + const float limit_angle = sagitta_driver->info.set_parameter.fast_lisa.limit_angle; + const float limit_distance = sagitta_driver->info.set_parameter.fast_lisa.limit_distance; + + uint8_t offset = 0; + + SAGITTA_tx_data_frame_[offset] = SAGITTA_kAddress_; + offset += (uint8_t)sizeof(SAGITTA_kAddress_); + SAGITTA_tx_data_frame_[offset] = SAGITTA_kCmdSetParameter_; + offset += (uint8_t)sizeof(SAGITTA_kCmdSetParameter_); + SAGITTA_tx_data_frame_[offset] = SAGITTA_PARAMETER_ID_FAST_LISA; + offset += (uint8_t)sizeof(uint8_t); + memcpy(&(SAGITTA_tx_data_frame_[offset]), &(limit_angle), sizeof(limit_angle)); + offset += (uint8_t)sizeof(limit_angle); + memcpy(&(SAGITTA_tx_data_frame_[offset]), &(limit_distance), sizeof(limit_distance)); + offset += (uint8_t)sizeof(limit_distance); + + return SAGITTA_send_cmd_(sagitta_driver, offset); +} + DS_CMD_ERR_CODE SAGITTA_change_log_level(SAGITTA_Driver* sagitta_driver, uint8_t param_idx, float value) { if (param_idx >= SAGITTA_PARAMETER_LOG_LEVEL_LENGTH) return DS_CMD_ILLEGAL_PARAMETER; @@ -752,6 +807,26 @@ DS_CMD_ERR_CODE SAGITTA_change_mounting(SAGITTA_Driver* sagitta_driver, uint8_t return DS_CMD_OK; } +DS_CMD_ERR_CODE SAGITTA_change_distortion(SAGITTA_Driver* sagitta_driver, uint8_t param_idx, float value) +{ + if (param_idx >= 17) return DS_CMD_ILLEGAL_PARAMETER; + + if (param_idx == 0) + { + sagitta_driver->info.set_parameter.distortion.mode = (uint8_t)value; + } + else if (param_idx < 9) + { + sagitta_driver->info.set_parameter.distortion.k0_coefficient[param_idx - 1] = value; + } + else + { + sagitta_driver->info.set_parameter.distortion.h0_coefficient[param_idx - 9] = value; + } + + return DS_CMD_OK; +} + DS_CMD_ERR_CODE SAGITTA_change_camera(SAGITTA_Driver* sagitta_driver, uint8_t param_idx, float value) { if (param_idx >= 24) return DS_CMD_ILLEGAL_PARAMETER; @@ -1067,6 +1142,26 @@ DS_CMD_ERR_CODE SAGITTA_change_auto_threshold(SAGITTA_Driver* sagitta_driver, ui return DS_CMD_OK; } +DS_CMD_ERR_CODE SAGITTA_change_fast_lisa(SAGITTA_Driver* sagitta_driver, uint8_t param_idx, float value) +{ + if (param_idx >= 2) return DS_CMD_ILLEGAL_PARAMETER; + + switch (param_idx) + { + case 0: + sagitta_driver->info.set_parameter.fast_lisa.limit_angle = value; + break; + case 1: + sagitta_driver->info.set_parameter.fast_lisa.limit_distance = value; + break; + default: + // NOT REACHED + break; + } + + return DS_CMD_OK; +} + C2A_MATH_ERROR SAGITTA_set_frame_transform_c2b(SAGITTA_Driver* sagitta_driver, const Quaternion q_c2b) { C2A_MATH_ERROR ret; @@ -1341,6 +1436,8 @@ static DS_ERR_CODE SAGITTA_analyze_rec_data_parameter_reply_(SAGITTA_Driver* sag return SAGITTA_analyze_rec_data_parameter_limits_(sagitta_driver); case SAGITTA_PARAMETER_ID_MOUNTING: return SAGITTA_analyze_rec_data_parameter_mounting_(sagitta_driver); + case SAGITTA_PARAMETER_ID_DISTORTION: + return SAGITTA_analyze_rec_data_parameter_distortion_(sagitta_driver); case SAGITTA_PARAMETER_ID_CAMERA: return SAGITTA_analyze_rec_data_parameter_camera_(sagitta_driver); case SAGITTA_PARAMETER_ID_IMAGE_PROCESSOR: @@ -1361,6 +1458,8 @@ static DS_ERR_CODE SAGITTA_analyze_rec_data_parameter_reply_(SAGITTA_Driver* sag return SAGITTA_analyze_rec_data_parameter_subscription_(sagitta_driver); case SAGITTA_PARAMETER_ID_AUTO_THRESHOLD: return SAGITTA_analyze_rec_data_parameter_auto_threshold_(sagitta_driver); + case SAGITTA_PARAMETER_ID_FAST_LISA: + return SAGITTA_analyze_rec_data_parameter_fast_lisa_(sagitta_driver); default: return DS_ERR_CODE_ERR; } @@ -1418,6 +1517,28 @@ static DS_ERR_CODE SAGITTA_analyze_rec_data_parameter_mounting_(SAGITTA_Driver* return DS_ERR_CODE_OK; } +static DS_ERR_CODE SAGITTA_analyze_rec_data_parameter_distortion_(SAGITTA_Driver* sagitta_driver) +{ + uint16_t offset = (uint16_t)SAGITTA_kTlmOffsetTlmID_ + (uint16_t)(sizeof(sagitta_driver->info.tlm_id)); + + SAGITTA_memcpy_u8_from_rx_frame_decoded_(&(sagitta_driver->info.read_parameter.distortion.mode), offset); + offset += (uint16_t)sizeof(uint8_t); + for (int i = 0; i < SAGITTA_PARAMETER_DISTORTION_LENGTH; i++) + { + SAGITTA_memcpy_float_from_rx_frame_decoded_(&(sagitta_driver->info.read_parameter.distortion.k0_coefficient[i]), offset); + offset += (uint16_t)sizeof(float); + } + for (int i = 0; i < SAGITTA_PARAMETER_DISTORTION_LENGTH; i++) + { + SAGITTA_memcpy_float_from_rx_frame_decoded_(&(sagitta_driver->info.read_parameter.distortion.h0_coefficient[i]), offset); + offset += (uint16_t)sizeof(float); + } + + SAGITTA_analyze_rec_data_xxhash_(sagitta_driver, offset + SAGITTA_XXHASH_SIZE - 1); + + return DS_ERR_CODE_OK; +} + static DS_ERR_CODE SAGITTA_analyze_rec_data_parameter_camera_(SAGITTA_Driver* sagitta_driver) { uint16_t offset = (uint16_t)SAGITTA_kTlmOffsetTlmID_ + (uint16_t)(sizeof(sagitta_driver->info.tlm_id)); @@ -1648,6 +1769,20 @@ static DS_ERR_CODE SAGITTA_analyze_rec_data_parameter_auto_threshold_(SAGITTA_Dr return DS_ERR_CODE_OK; } +static DS_ERR_CODE SAGITTA_analyze_rec_data_parameter_fast_lisa_(SAGITTA_Driver* sagitta_driver) +{ + uint16_t offset = (uint16_t)SAGITTA_kTlmOffsetTlmID_ + (uint16_t)(sizeof(sagitta_driver->info.tlm_id)); + + SAGITTA_memcpy_float_from_rx_frame_decoded_(&(sagitta_driver->info.read_parameter.fast_lisa.limit_angle), offset); + offset += (uint16_t)sizeof(float); + SAGITTA_memcpy_float_from_rx_frame_decoded_(&(sagitta_driver->info.read_parameter.fast_lisa.limit_distance), offset); + offset += (uint16_t)sizeof(float); + + SAGITTA_analyze_rec_data_xxhash_(sagitta_driver, offset + SAGITTA_XXHASH_SIZE - 1); + + return DS_ERR_CODE_OK; +} + static DS_ERR_CODE SAGITTA_analyze_rec_data_action_reply_(SAGITTA_Driver* sagitta_driver) { uint8_t status; diff --git a/src/src_user/Drivers/Aocs/sagitta.h b/src/src_user/Drivers/Aocs/sagitta.h index f2c7cc3d..ede9bf8e 100644 --- a/src/src_user/Drivers/Aocs/sagitta.h +++ b/src/src_user/Drivers/Aocs/sagitta.h @@ -16,6 +16,7 @@ #define SAGITTA_TELEMETRY_MATCHED_CENTROIDS_LENGTH (16) #define SAGITTA_PARAMETER_LOG_LEVEL_LENGTH (16) #define SAGITTA_PARAMETER_LIMITS_LENGTH (10) +#define SAGITTA_PARAMETER_DISTORTION_LENGTH (8) #define SAGITTA_PARAMETER_CAMERA_OVERRIDE_REGISTER_LENGTH (16) #define SAGITTA_PARAMETER_SUBSCRIPTION_LENGTH (16) @@ -43,6 +44,7 @@ typedef enum SAGITTA_PARAMETER_ID_LOG_LEVEL = 3, SAGITTA_PARAMETER_ID_LIMITS = 5, SAGITTA_PARAMETER_ID_MOUNTING = 6, + SAGITTA_PARAMETER_ID_DISTORTION = 8, SAGITTA_PARAMETER_ID_CAMERA = 9, SAGITTA_PARAMETER_ID_IMAGE_PROCESSOR = 10, SAGITTA_PARAMETER_ID_CENTROIDING = 11, @@ -52,7 +54,8 @@ typedef enum SAGITTA_PARAMETER_ID_VALIDATION = 15, SAGITTA_PARAMETER_ID_ALGO = 16, SAGITTA_PARAMETER_ID_SUBSCRIPTION = 18, - SAGITTA_PARAMETER_ID_AUTO_THRESHOLD = 23 + SAGITTA_PARAMETER_ID_AUTO_THRESHOLD = 23, + SAGITTA_PARAMETER_ID_FAST_LISA = 25 } SAGITTA_PARAMETER_ID; /** @@ -251,6 +254,17 @@ typedef struct float max_value[SAGITTA_PARAMETER_LIMITS_LENGTH]; } SAGITTA_PARAMETER_LIMITS; +/** + * @struct SAGITTA_PARAMETER_DISTORTION + * @brief SagittaのDISTORTIONパラメータを格納する + */ +typedef struct +{ + uint8_t mode; //!< 0: No compensation, 1: Hershel polynomial function, 2: Radial polynomial function + float k0_coefficient[SAGITTA_PARAMETER_DISTORTION_LENGTH]; //!< coefficient of the polynomial function for x coordinate + float h0_coefficient[SAGITTA_PARAMETER_DISTORTION_LENGTH]; //!< coefficient of the polynomial function for y coordinate +} SAGITTA_PARAMETER_DISTORTION; + /** * @struct SAGITTA_PARAMETER_CAMERA * @brief SagittaのCAMERAパラメータを格納する @@ -385,6 +399,17 @@ typedef struct float threshold_kp; } SAGITTA_PARAMETER_AUTO_THRESHOLD; + +/** + * @struct SAGITTA_PARAMETER_FAST_LISA + * @brief SagittaのFAST_LISAパラメータを格納する + */ +typedef struct +{ + float limit_angle; //!< Limit on angle of the triplets for fastLISA + float limit_distance; //!< Limit on angle of the triplets for fastLISA +} SAGITTA_PARAMETER_FAST_LISA; + /** * @struct SAGITTA_Parameter * @brief Sagittaの内部パラメータを格納する @@ -394,6 +419,7 @@ typedef struct uint8_t log_level[SAGITTA_PARAMETER_LOG_LEVEL_LENGTH]; SAGITTA_PARAMETER_LIMITS limits; Quaternion mounting; + SAGITTA_PARAMETER_DISTORTION distortion; SAGITTA_PARAMETER_CAMERA camera; SAGITTA_PARAMETER_IMAGE_PROCESSOR image_processor; SAGITTA_PARAMETER_CENTROIDING centroiding; @@ -404,6 +430,7 @@ typedef struct SAGITTA_PARAMETER_ALGO algo; uint8_t subscription[SAGITTA_PARAMETER_SUBSCRIPTION_LENGTH]; SAGITTA_PARAMETER_AUTO_THRESHOLD auto_threshold; + SAGITTA_PARAMETER_FAST_LISA fast_lisa; } SAGITTA_PARAMETER; /** @@ -498,6 +525,13 @@ DS_CMD_ERR_CODE SAGITTA_set_limits(SAGITTA_Driver* sagitta_driver); */ DS_CMD_ERR_CODE SAGITTA_set_mounting(SAGITTA_Driver* sagitta_driver); +/** + * @brief SAGITTAのDistortionパラメータを設定する + * @param sagitta_driver : SAGITTA_Driver構造体へのポインタ + * @return DS_CMD_ERR_CODEを参照 + */ +DS_CMD_ERR_CODE SAGITTA_set_distortion(SAGITTA_Driver* sagitta_driver); + /** * @brief SAGITTAのCameraパラメータを設定する * @param sagitta_driver : SAGITTA_Driver構造体へのポインタ @@ -569,6 +603,13 @@ DS_CMD_ERR_CODE SAGITTA_set_subscription(SAGITTA_Driver* sagitta_driver); */ DS_CMD_ERR_CODE SAGITTA_set_auto_threshold(SAGITTA_Driver* sagitta_driver); +/** + * @brief SAGITTAのFast LISAパラメータを設定する + * @param sagitta_driver : SAGITTA_Driver構造体へのポインタ + * @return DS_CMD_ERR_CODEを参照 + */ +DS_CMD_ERR_CODE SAGITTA_set_fast_lisa(SAGITTA_Driver* sagitta_driver); + /** * @brief SAGITTAのLog Levelパラメータを変更する * @param sagitta_driver : SAGITTA_Driver構造体へのポインタ @@ -596,6 +637,15 @@ DS_CMD_ERR_CODE SAGITTA_change_limits(SAGITTA_Driver* sagitta_driver, uint8_t pa */ DS_CMD_ERR_CODE SAGITTA_change_mounting(SAGITTA_Driver* sagitta_driver, uint8_t param_idx, float value); +/** + * @brief SAGITTAのDistortionパラメータを変更する + * @param sagitta_driver : SAGITTA_Driver構造体へのポインタ + * @param param_idx : 同一パラメータID内のidx(0起算) + * @param value : 変更後の値 + * @return DS_CMD_ERR_CODEを参照 + */ +DS_CMD_ERR_CODE SAGITTA_change_distortion(SAGITTA_Driver* sagitta_driver, uint8_t param_idx, float value); + /** * @brief SAGITTAのCameraパラメータを変更する * @param sagitta_driver : SAGITTA_Driver構造体へのポインタ @@ -687,6 +737,15 @@ DS_CMD_ERR_CODE SAGITTA_change_subscription(SAGITTA_Driver* sagitta_driver, uint */ DS_CMD_ERR_CODE SAGITTA_change_auto_threshold(SAGITTA_Driver* sagitta_driver, uint8_t param_idx, float value); +/** + * @brief SAGITTAのFast LISAパラメータを変更する + * @param sagitta_driver : SAGITTA_Driver構造体へのポインタ + * @param param_idx : 同一パラメータID内のidx(0起算) + * @param value : 変更後の値 + * @return DS_CMD_ERR_CODEを参照 + */ +DS_CMD_ERR_CODE SAGITTA_change_fast_lisa(SAGITTA_Driver* sagitta_driver, uint8_t param_idx, float value); + /** * @brief SAGITTAのパラメータを読み取る * @param sagitta_driver : SAGITTA_Driver構造体へのポインタ diff --git a/src/src_user/TlmCmd/telemetry_definitions.c b/src/src_user/TlmCmd/telemetry_definitions.c index 2c22fd76..7d456382 100644 --- a/src/src_user/TlmCmd/telemetry_definitions.c +++ b/src/src_user/TlmCmd/telemetry_definitions.c @@ -2143,13 +2143,13 @@ static TF_TLM_FUNC_ACK Tlm_AOBC_CONTROL_(uint8_t* packet, uint16_t* len, uint16_ TF_copy_float(&packet[97], (float)(aocs_manager->sun_vec_error_rad)); TF_copy_float(&packet[101], (float)(unloading->control_gain)); TF_copy_u8(&packet[105], (uint8_t)(unloading->exec_is_enable)); - TF_copy_float(&packet[106], (float)(unloading->angular_velocity_upper_threshold_rad_s[0]) ); + TF_copy_float(&packet[106], (float)(unloading->angular_velocity_upper_threshold_rad_s[0])); TF_copy_float(&packet[110], (float)(unloading->angular_velocity_target_rad_s[0])); TF_copy_float(&packet[114], (float)(unloading->angular_velocity_lower_threshold_rad_s[0])); - TF_copy_float(&packet[118], (float)(unloading->angular_velocity_upper_threshold_rad_s[1]) ); + TF_copy_float(&packet[118], (float)(unloading->angular_velocity_upper_threshold_rad_s[1])); TF_copy_float(&packet[122], (float)(unloading->angular_velocity_target_rad_s[1])); TF_copy_float(&packet[126], (float)(unloading->angular_velocity_lower_threshold_rad_s[1])); - TF_copy_float(&packet[130], (float)(unloading->angular_velocity_upper_threshold_rad_s[2]) ); + TF_copy_float(&packet[130], (float)(unloading->angular_velocity_upper_threshold_rad_s[2])); TF_copy_float(&packet[134], (float)(unloading->angular_velocity_target_rad_s[2])); TF_copy_float(&packet[138], (float)(unloading->angular_velocity_lower_threshold_rad_s[2])); TF_copy_u8(&packet[142], (uint8_t)(target_attitude_calculator->mode)); @@ -3055,7 +3055,7 @@ static TF_TLM_FUNC_ACK Tlm_AOBC_APP_TIME_2_(uint8_t* packet, uint16_t* len, uint static TF_TLM_FUNC_ACK Tlm_AOBC_SAGITTA_SET1_(uint8_t* packet, uint16_t* len, uint16_t max_len) { - if (192 > max_len) return TF_TLM_FUNC_ACK_TOO_SHORT_LEN; + if (208 > max_len) return TF_TLM_FUNC_ACK_TOO_SHORT_LEN; #ifndef BUILD_SETTINGS_FAST_BUILD TF_copy_u8(&packet[26], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.log_level[0])); @@ -3089,118 +3089,137 @@ static TF_TLM_FUNC_ACK Tlm_AOBC_SAGITTA_SET1_(uint8_t* packet, uint16_t* len, ui TF_copy_float(&packet[87], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.mounting.vector_part[1])); TF_copy_float(&packet[91], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.mounting.vector_part[2])); TF_copy_float(&packet[95], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.mounting.scalar_part)); - TF_copy_u8(&packet[99], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.mode)); - TF_copy_float(&packet[100], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.focal_length_mm)); - TF_copy_float(&packet[104], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.exposure_s)); - TF_copy_float(&packet[108], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.interval_s)); - TF_copy_i16(&packet[112], (int16_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.offset_pix)); - TF_copy_u8(&packet[114], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.pga_gain)); - TF_copy_u8(&packet[115], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.adc_gain)); - TF_copy_u8(&packet[116], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.override_register[0])); - TF_copy_u8(&packet[117], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.override_register[1])); - TF_copy_u8(&packet[118], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.override_register[2])); - TF_copy_u8(&packet[119], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.override_register[3])); - TF_copy_u8(&packet[120], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.override_register[4])); - TF_copy_u8(&packet[121], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.override_register[5])); - TF_copy_u8(&packet[122], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.override_register[6])); - TF_copy_u8(&packet[123], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.override_register[7])); - TF_copy_u8(&packet[124], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.override_register[8])); - TF_copy_u8(&packet[125], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.override_register[9])); - TF_copy_u8(&packet[126], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.override_register[10])); - TF_copy_u8(&packet[127], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.override_register[11])); - TF_copy_u8(&packet[128], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.override_register[12])); - TF_copy_u8(&packet[129], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.override_register[13])); - TF_copy_u8(&packet[130], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.override_register[14])); - TF_copy_u8(&packet[131], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.override_register[15])); - TF_copy_u32(&packet[132], (uint32_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.freq)); - TF_copy_u8(&packet[136], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.image_processor.mode)); - TF_copy_u8(&packet[137], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.image_processor.store)); - TF_copy_u16(&packet[138], (uint16_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.image_processor.signal_threshold_pix)); - TF_copy_u16(&packet[140], (uint16_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.image_processor.dark_threshold_pix)); - TF_copy_u8(&packet[142], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.image_processor.background_compensation)); - TF_copy_u8(&packet[143], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.centroiding.enable_filter)); - TF_copy_float(&packet[144], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.centroiding.max_quality)); - TF_copy_float(&packet[148], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.centroiding.dark_threshold_pix)); - TF_copy_float(&packet[152], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.centroiding.min_quality)); - TF_copy_float(&packet[156], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.centroiding.max_intensity)); - TF_copy_float(&packet[160], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.centroiding.min_intensity)); - TF_copy_float(&packet[164], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.centroiding.max_magnitude)); - TF_copy_float(&packet[168], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.centroiding.gaussian_cmax_pix)); - TF_copy_float(&packet[172], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.centroiding.gaussian_cmin_pix)); - TF_copy_float(&packet[176], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.centroiding.transmatrix_00)); - TF_copy_float(&packet[180], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.centroiding.transmatrix_01)); - TF_copy_float(&packet[184], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.centroiding.transmatrix_10)); - TF_copy_float(&packet[188], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.centroiding.transmatrix_11)); + TF_copy_u8(&packet[99], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.distortion.mode)); + TF_copy_float(&packet[100], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.distortion.k0_coefficient[0])); + TF_copy_float(&packet[104], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.distortion.k0_coefficient[1])); + TF_copy_float(&packet[108], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.distortion.k0_coefficient[2])); + TF_copy_float(&packet[112], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.distortion.k0_coefficient[3])); + TF_copy_float(&packet[116], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.distortion.k0_coefficient[4])); + TF_copy_float(&packet[120], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.distortion.k0_coefficient[5])); + TF_copy_float(&packet[124], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.distortion.k0_coefficient[6])); + TF_copy_float(&packet[128], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.distortion.k0_coefficient[7])); + TF_copy_float(&packet[132], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.distortion.h0_coefficient[0])); + TF_copy_float(&packet[136], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.distortion.h0_coefficient[1])); + TF_copy_float(&packet[140], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.distortion.h0_coefficient[2])); + TF_copy_float(&packet[144], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.distortion.h0_coefficient[3])); + TF_copy_float(&packet[148], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.distortion.h0_coefficient[4])); + TF_copy_float(&packet[152], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.distortion.h0_coefficient[5])); + TF_copy_float(&packet[156], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.distortion.h0_coefficient[6])); + TF_copy_float(&packet[160], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.distortion.h0_coefficient[7])); + TF_copy_u8(&packet[164], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.mode)); + TF_copy_float(&packet[165], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.focal_length_mm)); + TF_copy_float(&packet[169], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.exposure_s)); + TF_copy_float(&packet[173], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.interval_s)); + TF_copy_i16(&packet[177], (int16_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.offset_pix)); + TF_copy_u8(&packet[179], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.pga_gain)); + TF_copy_u8(&packet[180], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.adc_gain)); + TF_copy_u8(&packet[181], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.override_register[0])); + TF_copy_u8(&packet[182], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.override_register[1])); + TF_copy_u8(&packet[183], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.override_register[2])); + TF_copy_u8(&packet[184], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.override_register[3])); + TF_copy_u8(&packet[185], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.override_register[4])); + TF_copy_u8(&packet[186], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.override_register[5])); + TF_copy_u8(&packet[187], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.override_register[6])); + TF_copy_u8(&packet[188], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.override_register[7])); + TF_copy_u8(&packet[189], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.override_register[8])); + TF_copy_u8(&packet[190], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.override_register[9])); + TF_copy_u8(&packet[191], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.override_register[10])); + TF_copy_u8(&packet[192], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.override_register[11])); + TF_copy_u8(&packet[193], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.override_register[12])); + TF_copy_u8(&packet[194], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.override_register[13])); + TF_copy_u8(&packet[195], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.override_register[14])); + TF_copy_u8(&packet[196], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.override_register[15])); + TF_copy_u32(&packet[197], (uint32_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.camera.freq)); + TF_copy_u8(&packet[201], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.image_processor.mode)); + TF_copy_u8(&packet[202], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.image_processor.store)); + TF_copy_u16(&packet[203], (uint16_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.image_processor.signal_threshold_pix)); + TF_copy_u16(&packet[205], (uint16_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.image_processor.dark_threshold_pix)); + TF_copy_u8(&packet[207], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.image_processor.background_compensation)); #endif - *len = 192; + *len = 208; return TF_TLM_FUNC_ACK_SUCCESS; } static TF_TLM_FUNC_ACK Tlm_AOBC_SAGITTA_SET2_(uint8_t* packet, uint16_t* len, uint16_t max_len) { - if (144 > max_len) return TF_TLM_FUNC_ACK_TOO_SHORT_LEN; + if (201 > max_len) return TF_TLM_FUNC_ACK_TOO_SHORT_LEN; #ifndef BUILD_SETTINGS_FAST_BUILD - TF_copy_u32(&packet[26], (uint32_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.lisa.mode)); - TF_copy_float(&packet[30], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.lisa.prefilter_distance_threshold_mm)); - TF_copy_float(&packet[34], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.lisa.prefilter_angle_threshold_rad)); - TF_copy_float(&packet[38], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.lisa.field_of_view_width_rad)); - TF_copy_float(&packet[42], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.lisa.field_of_view_height_rad)); - TF_copy_float(&packet[46], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.lisa.float_star_limit_mm)); - TF_copy_float(&packet[50], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.lisa.close_star_limit_mm)); - TF_copy_float(&packet[54], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.lisa.rating_weight_close_star_count)); - TF_copy_float(&packet[58], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.lisa.rating_weight_fraction_close)); - TF_copy_float(&packet[62], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.lisa.rating_weight_mean_sum)); - TF_copy_float(&packet[66], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.lisa.rating_weight_db_star_count)); - TF_copy_u8(&packet[70], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.lisa.max_combinations)); - TF_copy_u8(&packet[71], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.lisa.nr_stars_stop)); - TF_copy_float(&packet[72], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.lisa.fraction_close_stop)); - TF_copy_float(&packet[76], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.matching.squared_distance_limit_mm)); - TF_copy_float(&packet[80], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.matching.squared_shift_limit_mm)); - TF_copy_float(&packet[84], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.tracking.thin_limit_deg)); - TF_copy_float(&packet[88], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.tracking.outlier_threshold_mm)); - TF_copy_float(&packet[92], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.tracking.outlier_threshold_quest_mm)); - TF_copy_u8(&packet[96], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.tracking.tracker_choice)); - TF_copy_u8(&packet[97], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.validation.stable_count)); - TF_copy_float(&packet[98], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.validation.max_difference_deg)); - TF_copy_float(&packet[102], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.validation.min_tracker_confidence)); - TF_copy_u8(&packet[106], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.validation.min_matched_stars)); - TF_copy_u8(&packet[107], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.algo.mode)); - TF_copy_float(&packet[108], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.algo.l2t_min_confidence)); - TF_copy_u8(&packet[112], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.algo.l2t_min_matched)); - TF_copy_float(&packet[113], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.algo.t2l_min_confidence)); - TF_copy_u8(&packet[117], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.algo.t2l_min_matched)); - TF_copy_u8(&packet[118], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.subscription[0])); - TF_copy_u8(&packet[119], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.subscription[1])); - TF_copy_u8(&packet[120], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.subscription[2])); - TF_copy_u8(&packet[121], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.subscription[3])); - TF_copy_u8(&packet[122], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.subscription[4])); - TF_copy_u8(&packet[123], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.subscription[5])); - TF_copy_u8(&packet[124], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.subscription[6])); - TF_copy_u8(&packet[125], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.subscription[7])); - TF_copy_u8(&packet[126], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.subscription[8])); - TF_copy_u8(&packet[127], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.subscription[9])); - TF_copy_u8(&packet[128], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.subscription[10])); - TF_copy_u8(&packet[129], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.subscription[11])); - TF_copy_u8(&packet[130], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.subscription[12])); - TF_copy_u8(&packet[131], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.subscription[13])); - TF_copy_u8(&packet[132], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.subscription[14])); - TF_copy_u8(&packet[133], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.subscription[15])); - TF_copy_u8(&packet[134], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.auto_threshold.mode)); - TF_copy_u8(&packet[135], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.auto_threshold.desired_blobs_count)); - TF_copy_u16(&packet[136], (uint16_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.auto_threshold.min_threshold)); - TF_copy_u16(&packet[138], (uint16_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.auto_threshold.max_threshold)); - TF_copy_float(&packet[140], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.auto_threshold.threshold_kp)); + TF_copy_u8(&packet[26], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.centroiding.enable_filter)); + TF_copy_float(&packet[27], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.centroiding.max_quality)); + TF_copy_float(&packet[31], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.centroiding.dark_threshold_pix)); + TF_copy_float(&packet[35], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.centroiding.min_quality)); + TF_copy_float(&packet[39], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.centroiding.max_intensity)); + TF_copy_float(&packet[43], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.centroiding.min_intensity)); + TF_copy_float(&packet[47], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.centroiding.max_magnitude)); + TF_copy_float(&packet[51], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.centroiding.gaussian_cmax_pix)); + TF_copy_float(&packet[55], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.centroiding.gaussian_cmin_pix)); + TF_copy_float(&packet[59], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.centroiding.transmatrix_00)); + TF_copy_float(&packet[63], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.centroiding.transmatrix_01)); + TF_copy_float(&packet[67], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.centroiding.transmatrix_10)); + TF_copy_float(&packet[71], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.centroiding.transmatrix_11)); + TF_copy_u32(&packet[75], (uint32_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.lisa.mode)); + TF_copy_float(&packet[79], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.lisa.prefilter_distance_threshold_mm)); + TF_copy_float(&packet[83], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.lisa.prefilter_angle_threshold_rad)); + TF_copy_float(&packet[87], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.lisa.field_of_view_width_rad)); + TF_copy_float(&packet[91], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.lisa.field_of_view_height_rad)); + TF_copy_float(&packet[95], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.lisa.float_star_limit_mm)); + TF_copy_float(&packet[99], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.lisa.close_star_limit_mm)); + TF_copy_float(&packet[103], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.lisa.rating_weight_close_star_count)); + TF_copy_float(&packet[107], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.lisa.rating_weight_fraction_close)); + TF_copy_float(&packet[111], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.lisa.rating_weight_mean_sum)); + TF_copy_float(&packet[115], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.lisa.rating_weight_db_star_count)); + TF_copy_u8(&packet[119], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.lisa.max_combinations)); + TF_copy_u8(&packet[120], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.lisa.nr_stars_stop)); + TF_copy_float(&packet[121], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.lisa.fraction_close_stop)); + TF_copy_float(&packet[125], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.matching.squared_distance_limit_mm)); + TF_copy_float(&packet[129], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.matching.squared_shift_limit_mm)); + TF_copy_float(&packet[133], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.tracking.thin_limit_deg)); + TF_copy_float(&packet[137], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.tracking.outlier_threshold_mm)); + TF_copy_float(&packet[141], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.tracking.outlier_threshold_quest_mm)); + TF_copy_u8(&packet[145], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.tracking.tracker_choice)); + TF_copy_u8(&packet[146], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.validation.stable_count)); + TF_copy_float(&packet[147], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.validation.max_difference_deg)); + TF_copy_float(&packet[151], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.validation.min_tracker_confidence)); + TF_copy_u8(&packet[155], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.validation.min_matched_stars)); + TF_copy_u8(&packet[156], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.algo.mode)); + TF_copy_float(&packet[157], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.algo.l2t_min_confidence)); + TF_copy_u8(&packet[161], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.algo.l2t_min_matched)); + TF_copy_float(&packet[162], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.algo.t2l_min_confidence)); + TF_copy_u8(&packet[166], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.algo.t2l_min_matched)); + TF_copy_u8(&packet[167], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.subscription[0])); + TF_copy_u8(&packet[168], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.subscription[1])); + TF_copy_u8(&packet[169], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.subscription[2])); + TF_copy_u8(&packet[170], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.subscription[3])); + TF_copy_u8(&packet[171], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.subscription[4])); + TF_copy_u8(&packet[172], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.subscription[5])); + TF_copy_u8(&packet[173], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.subscription[6])); + TF_copy_u8(&packet[174], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.subscription[7])); + TF_copy_u8(&packet[175], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.subscription[8])); + TF_copy_u8(&packet[176], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.subscription[9])); + TF_copy_u8(&packet[177], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.subscription[10])); + TF_copy_u8(&packet[178], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.subscription[11])); + TF_copy_u8(&packet[179], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.subscription[12])); + TF_copy_u8(&packet[180], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.subscription[13])); + TF_copy_u8(&packet[181], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.subscription[14])); + TF_copy_u8(&packet[182], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.subscription[15])); + TF_copy_u8(&packet[183], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.auto_threshold.mode)); + TF_copy_u8(&packet[184], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.auto_threshold.desired_blobs_count)); + TF_copy_u16(&packet[185], (uint16_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.auto_threshold.min_threshold)); + TF_copy_u16(&packet[187], (uint16_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.auto_threshold.max_threshold)); + TF_copy_float(&packet[189], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.auto_threshold.threshold_kp)); + TF_copy_float(&packet[193], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.fast_lisa.limit_angle)); + TF_copy_float(&packet[197], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.set_parameter.fast_lisa.limit_distance)); #endif - *len = 144; + *len = 201; return TF_TLM_FUNC_ACK_SUCCESS; } static TF_TLM_FUNC_ACK Tlm_AOBC_SAGITTA_READ1_(uint8_t* packet, uint16_t* len, uint16_t max_len) { - if (192 > max_len) return TF_TLM_FUNC_ACK_TOO_SHORT_LEN; + if (208 > max_len) return TF_TLM_FUNC_ACK_TOO_SHORT_LEN; #ifndef BUILD_SETTINGS_FAST_BUILD TF_copy_u8(&packet[26], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.log_level[0])); @@ -3234,112 +3253,131 @@ static TF_TLM_FUNC_ACK Tlm_AOBC_SAGITTA_READ1_(uint8_t* packet, uint16_t* len, u TF_copy_float(&packet[87], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.mounting.vector_part[1])); TF_copy_float(&packet[91], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.mounting.vector_part[2])); TF_copy_float(&packet[95], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.mounting.scalar_part)); - TF_copy_u8(&packet[99], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.mode)); - TF_copy_float(&packet[100], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.focal_length_mm)); - TF_copy_float(&packet[104], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.exposure_s)); - TF_copy_float(&packet[108], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.interval_s)); - TF_copy_i16(&packet[112], (int16_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.offset_pix)); - TF_copy_u8(&packet[114], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.pga_gain)); - TF_copy_u8(&packet[115], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.adc_gain)); - TF_copy_u8(&packet[116], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.override_register[0])); - TF_copy_u8(&packet[117], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.override_register[1])); - TF_copy_u8(&packet[118], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.override_register[2])); - TF_copy_u8(&packet[119], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.override_register[3])); - TF_copy_u8(&packet[120], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.override_register[4])); - TF_copy_u8(&packet[121], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.override_register[5])); - TF_copy_u8(&packet[122], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.override_register[6])); - TF_copy_u8(&packet[123], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.override_register[7])); - TF_copy_u8(&packet[124], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.override_register[8])); - TF_copy_u8(&packet[125], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.override_register[9])); - TF_copy_u8(&packet[126], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.override_register[10])); - TF_copy_u8(&packet[127], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.override_register[11])); - TF_copy_u8(&packet[128], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.override_register[12])); - TF_copy_u8(&packet[129], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.override_register[13])); - TF_copy_u8(&packet[130], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.override_register[14])); - TF_copy_u8(&packet[131], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.override_register[15])); - TF_copy_u32(&packet[132], (uint32_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.freq)); - TF_copy_u8(&packet[136], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.image_processor.mode)); - TF_copy_u8(&packet[137], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.image_processor.store)); - TF_copy_u16(&packet[138], (uint16_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.image_processor.signal_threshold_pix)); - TF_copy_u16(&packet[140], (uint16_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.image_processor.dark_threshold_pix)); - TF_copy_u8(&packet[142], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.image_processor.background_compensation)); - TF_copy_u8(&packet[143], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.centroiding.enable_filter)); - TF_copy_float(&packet[144], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.centroiding.max_quality)); - TF_copy_float(&packet[148], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.centroiding.dark_threshold_pix)); - TF_copy_float(&packet[152], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.centroiding.min_quality)); - TF_copy_float(&packet[156], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.centroiding.max_intensity)); - TF_copy_float(&packet[160], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.centroiding.min_intensity)); - TF_copy_float(&packet[164], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.centroiding.max_magnitude)); - TF_copy_float(&packet[168], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.centroiding.gaussian_cmax_pix)); - TF_copy_float(&packet[172], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.centroiding.gaussian_cmin_pix)); - TF_copy_float(&packet[176], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.centroiding.transmatrix_00)); - TF_copy_float(&packet[180], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.centroiding.transmatrix_01)); - TF_copy_float(&packet[184], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.centroiding.transmatrix_10)); - TF_copy_float(&packet[188], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.centroiding.transmatrix_11)); + TF_copy_u8(&packet[99], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.distortion.mode)); + TF_copy_float(&packet[100], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.distortion.k0_coefficient[0])); + TF_copy_float(&packet[104], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.distortion.k0_coefficient[1])); + TF_copy_float(&packet[108], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.distortion.k0_coefficient[2])); + TF_copy_float(&packet[112], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.distortion.k0_coefficient[3])); + TF_copy_float(&packet[116], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.distortion.k0_coefficient[4])); + TF_copy_float(&packet[120], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.distortion.k0_coefficient[5])); + TF_copy_float(&packet[124], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.distortion.k0_coefficient[6])); + TF_copy_float(&packet[128], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.distortion.k0_coefficient[7])); + TF_copy_float(&packet[132], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.distortion.h0_coefficient[0])); + TF_copy_float(&packet[136], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.distortion.h0_coefficient[1])); + TF_copy_float(&packet[140], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.distortion.h0_coefficient[2])); + TF_copy_float(&packet[144], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.distortion.h0_coefficient[3])); + TF_copy_float(&packet[148], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.distortion.h0_coefficient[4])); + TF_copy_float(&packet[152], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.distortion.h0_coefficient[5])); + TF_copy_float(&packet[156], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.distortion.h0_coefficient[6])); + TF_copy_float(&packet[160], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.distortion.h0_coefficient[7])); + TF_copy_u8(&packet[164], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.mode)); + TF_copy_float(&packet[165], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.focal_length_mm)); + TF_copy_float(&packet[169], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.exposure_s)); + TF_copy_float(&packet[173], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.interval_s)); + TF_copy_i16(&packet[177], (int16_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.offset_pix)); + TF_copy_u8(&packet[179], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.pga_gain)); + TF_copy_u8(&packet[180], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.adc_gain)); + TF_copy_u8(&packet[181], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.override_register[0])); + TF_copy_u8(&packet[182], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.override_register[1])); + TF_copy_u8(&packet[183], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.override_register[2])); + TF_copy_u8(&packet[184], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.override_register[3])); + TF_copy_u8(&packet[185], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.override_register[4])); + TF_copy_u8(&packet[186], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.override_register[5])); + TF_copy_u8(&packet[187], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.override_register[6])); + TF_copy_u8(&packet[188], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.override_register[7])); + TF_copy_u8(&packet[189], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.override_register[8])); + TF_copy_u8(&packet[190], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.override_register[9])); + TF_copy_u8(&packet[191], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.override_register[10])); + TF_copy_u8(&packet[192], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.override_register[11])); + TF_copy_u8(&packet[193], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.override_register[12])); + TF_copy_u8(&packet[194], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.override_register[13])); + TF_copy_u8(&packet[195], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.override_register[14])); + TF_copy_u8(&packet[196], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.override_register[15])); + TF_copy_u32(&packet[197], (uint32_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.camera.freq)); + TF_copy_u8(&packet[201], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.image_processor.mode)); + TF_copy_u8(&packet[202], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.image_processor.store)); + TF_copy_u16(&packet[203], (uint16_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.image_processor.signal_threshold_pix)); + TF_copy_u16(&packet[205], (uint16_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.image_processor.dark_threshold_pix)); + TF_copy_u8(&packet[207], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.image_processor.background_compensation)); #endif - *len = 192; + *len = 208; return TF_TLM_FUNC_ACK_SUCCESS; } static TF_TLM_FUNC_ACK Tlm_AOBC_SAGITTA_READ2_(uint8_t* packet, uint16_t* len, uint16_t max_len) { - if (144 > max_len) return TF_TLM_FUNC_ACK_TOO_SHORT_LEN; + if (201 > max_len) return TF_TLM_FUNC_ACK_TOO_SHORT_LEN; #ifndef BUILD_SETTINGS_FAST_BUILD - TF_copy_u32(&packet[26], (uint32_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.lisa.mode)); - TF_copy_float(&packet[30], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.lisa.prefilter_distance_threshold_mm)); - TF_copy_float(&packet[34], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.lisa.prefilter_angle_threshold_rad)); - TF_copy_float(&packet[38], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.lisa.field_of_view_width_rad)); - TF_copy_float(&packet[42], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.lisa.field_of_view_height_rad)); - TF_copy_float(&packet[46], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.lisa.float_star_limit_mm)); - TF_copy_float(&packet[50], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.lisa.close_star_limit_mm)); - TF_copy_float(&packet[54], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.lisa.rating_weight_close_star_count)); - TF_copy_float(&packet[58], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.lisa.rating_weight_fraction_close)); - TF_copy_float(&packet[62], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.lisa.rating_weight_mean_sum)); - TF_copy_float(&packet[66], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.lisa.rating_weight_db_star_count)); - TF_copy_u8(&packet[70], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.lisa.max_combinations)); - TF_copy_u8(&packet[71], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.lisa.nr_stars_stop)); - TF_copy_float(&packet[72], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.lisa.fraction_close_stop)); - TF_copy_float(&packet[76], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.matching.squared_distance_limit_mm)); - TF_copy_float(&packet[80], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.matching.squared_shift_limit_mm)); - TF_copy_float(&packet[84], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.tracking.thin_limit_deg)); - TF_copy_float(&packet[88], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.tracking.outlier_threshold_mm)); - TF_copy_float(&packet[92], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.tracking.outlier_threshold_quest_mm)); - TF_copy_u8(&packet[96], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.tracking.tracker_choice)); - TF_copy_u8(&packet[97], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.validation.stable_count)); - TF_copy_float(&packet[98], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.validation.max_difference_deg)); - TF_copy_float(&packet[102], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.validation.min_tracker_confidence)); - TF_copy_u8(&packet[106], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.validation.min_matched_stars)); - TF_copy_u8(&packet[107], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.algo.mode)); - TF_copy_float(&packet[108], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.algo.l2t_min_confidence)); - TF_copy_u8(&packet[112], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.algo.l2t_min_matched)); - TF_copy_float(&packet[113], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.algo.t2l_min_confidence)); - TF_copy_u8(&packet[117], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.algo.t2l_min_matched)); - TF_copy_u8(&packet[118], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.subscription[0])); - TF_copy_u8(&packet[119], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.subscription[1])); - TF_copy_u8(&packet[120], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.subscription[2])); - TF_copy_u8(&packet[121], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.subscription[3])); - TF_copy_u8(&packet[122], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.subscription[4])); - TF_copy_u8(&packet[123], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.subscription[5])); - TF_copy_u8(&packet[124], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.subscription[6])); - TF_copy_u8(&packet[125], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.subscription[7])); - TF_copy_u8(&packet[126], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.subscription[8])); - TF_copy_u8(&packet[127], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.subscription[9])); - TF_copy_u8(&packet[128], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.subscription[10])); - TF_copy_u8(&packet[129], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.subscription[11])); - TF_copy_u8(&packet[130], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.subscription[12])); - TF_copy_u8(&packet[131], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.subscription[13])); - TF_copy_u8(&packet[132], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.subscription[14])); - TF_copy_u8(&packet[133], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.subscription[15])); - TF_copy_u8(&packet[134], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.auto_threshold.mode)); - TF_copy_u8(&packet[135], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.auto_threshold.desired_blobs_count)); - TF_copy_u16(&packet[136], (uint16_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.auto_threshold.min_threshold)); - TF_copy_u16(&packet[138], (uint16_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.auto_threshold.max_threshold)); - TF_copy_float(&packet[140], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.auto_threshold.threshold_kp)); + TF_copy_u8(&packet[26], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.centroiding.enable_filter)); + TF_copy_float(&packet[27], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.centroiding.max_quality)); + TF_copy_float(&packet[31], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.centroiding.dark_threshold_pix)); + TF_copy_float(&packet[35], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.centroiding.min_quality)); + TF_copy_float(&packet[39], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.centroiding.max_intensity)); + TF_copy_float(&packet[43], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.centroiding.min_intensity)); + TF_copy_float(&packet[47], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.centroiding.max_magnitude)); + TF_copy_float(&packet[51], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.centroiding.gaussian_cmax_pix)); + TF_copy_float(&packet[55], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.centroiding.gaussian_cmin_pix)); + TF_copy_float(&packet[59], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.centroiding.transmatrix_00)); + TF_copy_float(&packet[63], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.centroiding.transmatrix_01)); + TF_copy_float(&packet[67], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.centroiding.transmatrix_10)); + TF_copy_float(&packet[71], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.centroiding.transmatrix_11)); + TF_copy_u32(&packet[75], (uint32_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.lisa.mode)); + TF_copy_float(&packet[79], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.lisa.prefilter_distance_threshold_mm)); + TF_copy_float(&packet[83], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.lisa.prefilter_angle_threshold_rad)); + TF_copy_float(&packet[87], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.lisa.field_of_view_width_rad)); + TF_copy_float(&packet[91], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.lisa.field_of_view_height_rad)); + TF_copy_float(&packet[95], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.lisa.float_star_limit_mm)); + TF_copy_float(&packet[99], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.lisa.close_star_limit_mm)); + TF_copy_float(&packet[103], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.lisa.rating_weight_close_star_count)); + TF_copy_float(&packet[107], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.lisa.rating_weight_fraction_close)); + TF_copy_float(&packet[111], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.lisa.rating_weight_mean_sum)); + TF_copy_float(&packet[115], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.lisa.rating_weight_db_star_count)); + TF_copy_u8(&packet[119], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.lisa.max_combinations)); + TF_copy_u8(&packet[120], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.lisa.nr_stars_stop)); + TF_copy_float(&packet[121], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.lisa.fraction_close_stop)); + TF_copy_float(&packet[125], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.matching.squared_distance_limit_mm)); + TF_copy_float(&packet[129], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.matching.squared_shift_limit_mm)); + TF_copy_float(&packet[133], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.tracking.thin_limit_deg)); + TF_copy_float(&packet[137], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.tracking.outlier_threshold_mm)); + TF_copy_float(&packet[141], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.tracking.outlier_threshold_quest_mm)); + TF_copy_u8(&packet[145], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.tracking.tracker_choice)); + TF_copy_u8(&packet[146], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.validation.stable_count)); + TF_copy_float(&packet[147], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.validation.max_difference_deg)); + TF_copy_float(&packet[151], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.validation.min_tracker_confidence)); + TF_copy_u8(&packet[155], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.validation.min_matched_stars)); + TF_copy_u8(&packet[156], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.algo.mode)); + TF_copy_float(&packet[157], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.algo.l2t_min_confidence)); + TF_copy_u8(&packet[161], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.algo.l2t_min_matched)); + TF_copy_float(&packet[162], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.algo.t2l_min_confidence)); + TF_copy_u8(&packet[166], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.algo.t2l_min_matched)); + TF_copy_u8(&packet[167], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.subscription[0])); + TF_copy_u8(&packet[168], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.subscription[1])); + TF_copy_u8(&packet[169], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.subscription[2])); + TF_copy_u8(&packet[170], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.subscription[3])); + TF_copy_u8(&packet[171], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.subscription[4])); + TF_copy_u8(&packet[172], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.subscription[5])); + TF_copy_u8(&packet[173], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.subscription[6])); + TF_copy_u8(&packet[174], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.subscription[7])); + TF_copy_u8(&packet[175], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.subscription[8])); + TF_copy_u8(&packet[176], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.subscription[9])); + TF_copy_u8(&packet[177], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.subscription[10])); + TF_copy_u8(&packet[178], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.subscription[11])); + TF_copy_u8(&packet[179], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.subscription[12])); + TF_copy_u8(&packet[180], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.subscription[13])); + TF_copy_u8(&packet[181], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.subscription[14])); + TF_copy_u8(&packet[182], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.subscription[15])); + TF_copy_u8(&packet[183], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.auto_threshold.mode)); + TF_copy_u8(&packet[184], (uint8_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.auto_threshold.desired_blobs_count)); + TF_copy_u16(&packet[185], (uint16_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.auto_threshold.min_threshold)); + TF_copy_u16(&packet[187], (uint16_t)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.auto_threshold.max_threshold)); + TF_copy_float(&packet[189], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.auto_threshold.threshold_kp)); + TF_copy_float(&packet[193], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.fast_lisa.limit_angle)); + TF_copy_float(&packet[197], (float)(sagitta_driver[SAGITTA_IDX_IN_UNIT]->info.read_parameter.fast_lisa.limit_distance)); #endif - *len = 144; + *len = 201; return TF_TLM_FUNC_ACK_SUCCESS; }