Skip to content

Commit

Permalink
delete dummy tlm
Browse files Browse the repository at this point in the history
  • Loading branch information
771-8bit committed Nov 15, 2024
1 parent 2ee4ca0 commit 4eb84ab
Show file tree
Hide file tree
Showing 19 changed files with 28 additions and 32 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
* @note このコードは自動生成されています!
* @note コード生成元 tlm-cmd-db:
* repository: github.com/arkedge/c2a-core.git
* CSV files MD5: c3bd02684f15db9b881c871cd79547d3
* db commit hash: caa8d4ca59a37460e7ef348bd58ee8a95bfd092c
* CSV files MD5: 6fb2d9b01a6f9efc3034e56bce3bf2fd
* db commit hash: 2ee4ca01ac9e153ad5671146ac9f5f72919b471d
* @note コード生成パラメータ:
* name: AOBC
* db_prefix: SAMPLE_AOBC
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
* @note このコードは自動生成されています!
* @note コード生成元 tlm-cmd-db:
* repository: github.com/arkedge/c2a-core.git
* CSV files MD5: c3bd02684f15db9b881c871cd79547d3
* db commit hash: caa8d4ca59a37460e7ef348bd58ee8a95bfd092c
* CSV files MD5: 6fb2d9b01a6f9efc3034e56bce3bf2fd
* db commit hash: 2ee4ca01ac9e153ad5671146ac9f5f72919b471d
* @note コード生成パラメータ:
* name: AOBC
* db_prefix: SAMPLE_AOBC
Expand Down Expand Up @@ -440,7 +440,6 @@ static CDS_ERR_CODE AOBC_analyze_tlm_aobc_hk_(const CommonTlmPacket* packet, AOB
ENDIAN_memcpy(&(aobc_driver->tlm_data.aobc_hk.dummy_data48), &(f[410]), 4);
ENDIAN_memcpy(&(aobc_driver->tlm_data.aobc_hk.dummy_data49), &(f[414]), 4);
ENDIAN_memcpy(&(aobc_driver->tlm_data.aobc_hk.dummy_data50), &(f[418]), 4);
ENDIAN_memcpy(&(aobc_driver->tlm_data.aobc_hk.dummy_data51), &(f[422]), 4);
// TODO: ビットフィールドをつかっている系は,様々なパターンがあり得るので,今後,バグが出ないか注視する

// ワーニング回避
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
* @note このコードは自動生成されています!
* @note コード生成元 tlm-cmd-db:
* repository: github.com/arkedge/c2a-core.git
* CSV files MD5: c3bd02684f15db9b881c871cd79547d3
* db commit hash: caa8d4ca59a37460e7ef348bd58ee8a95bfd092c
* CSV files MD5: 6fb2d9b01a6f9efc3034e56bce3bf2fd
* db commit hash: 2ee4ca01ac9e153ad5671146ac9f5f72919b471d
* @note コード生成パラメータ:
* name: AOBC
* db_prefix: SAMPLE_AOBC
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
* @note このコードは自動生成されています!
* @note コード生成元 tlm-cmd-db:
* repository: github.com/arkedge/c2a-core.git
* CSV files MD5: c3bd02684f15db9b881c871cd79547d3
* db commit hash: caa8d4ca59a37460e7ef348bd58ee8a95bfd092c
* CSV files MD5: 6fb2d9b01a6f9efc3034e56bce3bf2fd
* db commit hash: 2ee4ca01ac9e153ad5671146ac9f5f72919b471d
* @note コード生成パラメータ:
* name: AOBC
* db_prefix: SAMPLE_AOBC
Expand Down Expand Up @@ -402,7 +402,6 @@ typedef struct
uint32_t dummy_data48;
uint32_t dummy_data49;
uint32_t dummy_data50;
uint32_t dummy_data51;
} aobc_hk;
} AOBC_TlmData;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
* @note このコードは自動生成されています!
* @note コード生成元 tlm-cmd-db:
* repository: github.com/arkedge/c2a-core.git
* CSV files MD5: c3bd02684f15db9b881c871cd79547d3
* db commit hash: caa8d4ca59a37460e7ef348bd58ee8a95bfd092c
* CSV files MD5: 6fb2d9b01a6f9efc3034e56bce3bf2fd
* db commit hash: 2ee4ca01ac9e153ad5671146ac9f5f72919b471d
* @note コード生成パラメータ:
* name: AOBC
* db_prefix: SAMPLE_AOBC
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* @note このコードは自動生成されています!
* @note コード生成元 tlm-cmd-db:
* repository: github.com/arkedge/c2a-core.git
* CSV files MD5: 03076efb966c0f746783e116ba4fe38a
* CSV files MD5: 21799e92eda843366bac3e516838b31a
* @note コード生成パラメータ:
* db_prefix: SAMPLE_MOBC
* tlm_id_range: [0x00, 0x100]
Expand Down
2 changes: 1 addition & 1 deletion examples/mobc/src/src_user/tlm_cmd/command_definitions.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @note このコードは自動生成されています!
* @note コード生成元 tlm-cmd-db:
* repository: github.com/arkedge/c2a-core.git
* CSV files MD5: 03076efb966c0f746783e116ba4fe38a
* CSV files MD5: 21799e92eda843366bac3e516838b31a
* @note コード生成パラメータ:
* db_prefix: SAMPLE_MOBC
* tlm_id_range: [0x00, 0x100]
Expand Down
2 changes: 1 addition & 1 deletion examples/mobc/src/src_user/tlm_cmd/command_definitions.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* @note このコードは自動生成されています!
* @note コード生成元 tlm-cmd-db:
* repository: github.com/arkedge/c2a-core.git
* CSV files MD5: 03076efb966c0f746783e116ba4fe38a
* CSV files MD5: 21799e92eda843366bac3e516838b31a
* @note コード生成パラメータ:
* db_prefix: SAMPLE_MOBC
* tlm_id_range: [0x00, 0x100]
Expand Down
7 changes: 3 additions & 4 deletions examples/mobc/src/src_user/tlm_cmd/telemetry_definitions.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @note このコードは自動生成されています!
* @note コード生成元 tlm-cmd-db:
* repository: github.com/arkedge/c2a-core.git
* CSV files MD5: 03076efb966c0f746783e116ba4fe38a
* CSV files MD5: 21799e92eda843366bac3e516838b31a
* @note コード生成パラメータ:
* db_prefix: SAMPLE_MOBC
* tlm_id_range: [0x00, 0x100]
Expand Down Expand Up @@ -4136,7 +4136,7 @@ static TF_TLM_FUNC_ACK Tlm_GS_(uint8_t* packet, uint16_t* len, uint16_t max_len)

static TF_TLM_FUNC_ACK Tlm_HK_(uint8_t* packet, uint16_t* len, uint16_t max_len)
{
if (432 > max_len) return TF_TLM_FUNC_ACK_TOO_SHORT_LEN;
if (428 > max_len) return TF_TLM_FUNC_ACK_TOO_SHORT_LEN;

#ifndef BUILD_SETTINGS_FAST_BUILD
TF_copy_u32(&packet[26], TMGR_get_master_clock().mode_cycle);
Expand Down Expand Up @@ -4270,10 +4270,9 @@ static TF_TLM_FUNC_ACK Tlm_HK_(uint8_t* packet, uint16_t* len, uint16_t max_len)
TF_copy_u32(&packet[416], 0);
TF_copy_u32(&packet[420], 0);
TF_copy_u32(&packet[424], 0);
TF_copy_u32(&packet[428], 0);
#endif

*len = 432;
*len = 428;
return TF_TLM_FUNC_ACK_SUCCESS;
}

Expand Down
2 changes: 1 addition & 1 deletion examples/mobc/src/src_user/tlm_cmd/telemetry_definitions.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* @note このコードは自動生成されています!
* @note コード生成元 tlm-cmd-db:
* repository: github.com/arkedge/c2a-core.git
* CSV files MD5: 03076efb966c0f746783e116ba4fe38a
* CSV files MD5: 21799e92eda843366bac3e516838b31a
* @note コード生成パラメータ:
* db_prefix: SAMPLE_MOBC
* tlm_id_range: [0x00, 0x100]
Expand Down
2 changes: 1 addition & 1 deletion examples/mobc/tlm-cmd-db/TLM_DB/SAMPLE_MOBC_TLM_DB_HK.csv
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ Comment,TLM Entry,Onboard Software Info.,,Extraction Info.,,,,Conversion Info.,,
,DUMMY_DATA44,uint32_t,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,,,,,,,,,
,DUMMY_DATA45,uint32_t,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,,,,,,,,,
,DUMMY_DATA46,uint32_t,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,,,,,,,,,
,DUMMY_DATA47,uint32_t,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,,,,,,,,,
,,,,,,,,,,,,,,,,,
,,,,,,,,,,,,,,,,,
,,,,,,,,,,,,,,,,,
,,,,,,,,,,,,,,,,,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ Comment,TLM Entry,Onboard Software Info.,,Extraction Info.,,,,Conversion Info.,,
,DUMMY_DATA44,uint32_t,0,PACKET,416,0,32,NONE,,,,,,,,,
,DUMMY_DATA45,uint32_t,0,PACKET,420,0,32,NONE,,,,,,,,,
,DUMMY_DATA46,uint32_t,0,PACKET,424,0,32,NONE,,,,,,,,,
,DUMMY_DATA47,uint32_t,0,PACKET,428,0,32,NONE,,,,,,,,,
,,,,,,,,,,,,,,,,,
,,,,,,,,,,,,,,,,,
,,,,,,,,,,,,,,,,,
,,,,,,,,,,,,,,,,,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* @note このコードは自動生成されています!
* @note コード生成元 tlm-cmd-db:
* repository: github.com/arkedge/c2a-core.git
* CSV files MD5: c3bd02684f15db9b881c871cd79547d3
* CSV files MD5: 6fb2d9b01a6f9efc3034e56bce3bf2fd
* @note コード生成パラメータ:
* db_prefix: SAMPLE_AOBC
* tlm_id_range: [0x00, 0x100]
Expand Down
2 changes: 1 addition & 1 deletion examples/subobc/src/src_user/tlm_cmd/command_definitions.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @note このコードは自動生成されています!
* @note コード生成元 tlm-cmd-db:
* repository: github.com/arkedge/c2a-core.git
* CSV files MD5: c3bd02684f15db9b881c871cd79547d3
* CSV files MD5: 6fb2d9b01a6f9efc3034e56bce3bf2fd
* @note コード生成パラメータ:
* db_prefix: SAMPLE_AOBC
* tlm_id_range: [0x00, 0x100]
Expand Down
2 changes: 1 addition & 1 deletion examples/subobc/src/src_user/tlm_cmd/command_definitions.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* @note このコードは自動生成されています!
* @note コード生成元 tlm-cmd-db:
* repository: github.com/arkedge/c2a-core.git
* CSV files MD5: c3bd02684f15db9b881c871cd79547d3
* CSV files MD5: 6fb2d9b01a6f9efc3034e56bce3bf2fd
* @note コード生成パラメータ:
* db_prefix: SAMPLE_AOBC
* tlm_id_range: [0x00, 0x100]
Expand Down
7 changes: 3 additions & 4 deletions examples/subobc/src/src_user/tlm_cmd/telemetry_definitions.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @note このコードは自動生成されています!
* @note コード生成元 tlm-cmd-db:
* repository: github.com/arkedge/c2a-core.git
* CSV files MD5: c3bd02684f15db9b881c871cd79547d3
* CSV files MD5: 6fb2d9b01a6f9efc3034e56bce3bf2fd
* @note コード生成パラメータ:
* db_prefix: SAMPLE_AOBC
* tlm_id_range: [0x00, 0x100]
Expand Down Expand Up @@ -122,7 +122,7 @@ static TF_TLM_FUNC_ACK Tlm_AOBC_AOBC_(uint8_t* packet, uint16_t* len, uint16_t m

static TF_TLM_FUNC_ACK Tlm_AOBC_HK_(uint8_t* packet, uint16_t* len, uint16_t max_len)
{
if (426 > max_len) return TF_TLM_FUNC_ACK_TOO_SHORT_LEN;
if (422 > max_len) return TF_TLM_FUNC_ACK_TOO_SHORT_LEN;

#ifndef BUILD_SETTINGS_FAST_BUILD
TF_copy_u32(&packet[26], TMGR_get_master_clock().mode_cycle);
Expand Down Expand Up @@ -248,10 +248,9 @@ static TF_TLM_FUNC_ACK Tlm_AOBC_HK_(uint8_t* packet, uint16_t* len, uint16_t max
TF_copy_u32(&packet[410], 0);
TF_copy_u32(&packet[414], 0);
TF_copy_u32(&packet[418], 0);
TF_copy_u32(&packet[422], 0);
#endif

*len = 426;
*len = 422;
return TF_TLM_FUNC_ACK_SUCCESS;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* @note このコードは自動生成されています!
* @note コード生成元 tlm-cmd-db:
* repository: github.com/arkedge/c2a-core.git
* CSV files MD5: c3bd02684f15db9b881c871cd79547d3
* CSV files MD5: 6fb2d9b01a6f9efc3034e56bce3bf2fd
* @note コード生成パラメータ:
* db_prefix: SAMPLE_AOBC
* tlm_id_range: [0x00, 0x100]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ Comment,TLM Entry,Onboard Software Info.,,Extraction Info.,,,,Conversion Info.,,
,DUMMY_DATA48,uint32_t,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,,,,,,,,,
,DUMMY_DATA49,uint32_t,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,,,,,,,,,
,DUMMY_DATA50,uint32_t,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,,,,,,,,,
,DUMMY_DATA51,uint32_t,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,,,,,,,,,
,,,,,,,,,,,,,,,,,
,,,,,,,,,,,,,,,,,
,,,,,,,,,,,,,,,,,
,,,,,,,,,,,,,,,,,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ Comment,TLM Entry,Onboard Software Info.,,Extraction Info.,,,,Conversion Info.,,
,DUMMY_DATA48,uint32_t,0,PACKET,410,0,32,NONE,,,,,,,,,
,DUMMY_DATA49,uint32_t,0,PACKET,414,0,32,NONE,,,,,,,,,
,DUMMY_DATA50,uint32_t,0,PACKET,418,0,32,NONE,,,,,,,,,
,DUMMY_DATA51,uint32_t,0,PACKET,422,0,32,NONE,,,,,,,,,
,,,,,,,,,,,,,,,,,
,,,,,,,,,,,,,,,,,
,,,,,,,,,,,,,,,,,
,,,,,,,,,,,,,,,,,
Expand Down

0 comments on commit 4eb84ab

Please sign in to comment.