Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

古いgenerate tlm コマンドを新しいものに置換する #182

Merged
merged 2 commits into from
Aug 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 26 additions & 26 deletions database/CmdPlan/AOBC_ANOMALY.ops
Original file line number Diff line number Diff line change
@@ -1,205 +1,205 @@
.# ===== anomaly setting 単体試験 =====
.#
.# TLMダウンリンク
.AOBC_RT.Cmd_GENERATE_TLM 0x40 0x32 1 # AOBC_ANOMALYをDL
.AOBC_RT.Cmd_TG_GENERATE_RT_TLM 0x32 # AOBC_ANOMALYをDL
.#
.# ----- Cmd試験 -----
.#
AOBC_RT.Cmd_APP_TEMPERATURE_ANOMALY_SET_THRESHOLD 0 90 -40
wait_sec 1
AOBC_RT.Cmd_GENERATE_TLM 0x40 0x32 1 # AOBC_ANOMALYをDL
AOBC_RT.Cmd_TG_GENERATE_RT_TLM 0x32 # AOBC_ANOMALYをDL
wait_sec 3
check_value AOBC_ANOMALY.TEMPERATURE.THRESHOLD.PIC_UPPER_DEGC == 90
check_value AOBC_ANOMALY.TEMPERATURE.THRESHOLD.PIC_LOWER_DEGC == -40
.# 変更反映を確認
.#
.AOBC_RT.Cmd_APP_TEMPERATURE_ANOMALY_SET_THRESHOLD 0 -90 -40
.# コマンドエラーを確認
AOBC_RT.Cmd_GENERATE_TLM 0x40 0x32 1 # AOBC_ANOMALYをDL
AOBC_RT.Cmd_TG_GENERATE_RT_TLM 0x32 # AOBC_ANOMALYをDL
wait_sec 3
check_value AOBC_ANOMALY.TEMPERATURE.THRESHOLD.PIC_UPPER_DEGC == 90
check_value AOBC_ANOMALY.TEMPERATURE.THRESHOLD.PIC_LOWER_DEGC == -40
.# 変更反映されていないことを確認
.#
AOBC_RT.Cmd_APP_TEMPERATURE_ANOMALY_SET_THRESHOLD 1 90 -40
wait_sec 1
AOBC_RT.Cmd_GENERATE_TLM 0x40 0x32 1 # AOBC_ANOMALYをDL
AOBC_RT.Cmd_TG_GENERATE_RT_TLM 0x32 # AOBC_ANOMALYをDL
wait_sec 3
check_value AOBC_ANOMALY.TEMPERATURE.THRESHOLD.RW_DCDC_UPPER_DEGC == 90
check_value AOBC_ANOMALY.TEMPERATURE.THRESHOLD.RW_DCDC_LOWER_DEGC == -40
.# 変更反映を確認
.#
.AOBC_RT.Cmd_APP_TEMPERATURE_ANOMALY_SET_THRESHOLD 1 -90 -40
.# コマンドエラーを確認
AOBC_RT.Cmd_GENERATE_TLM 0x40 0x32 1 # AOBC_ANOMALYをDL
AOBC_RT.Cmd_TG_GENERATE_RT_TLM 0x32 # AOBC_ANOMALYをDL
wait_sec 3
check_value AOBC_ANOMALY.TEMPERATURE.THRESHOLD.RW_DCDC_UPPER_DEGC == 90
check_value AOBC_ANOMALY.TEMPERATURE.THRESHOLD.RW_DCDC_LOWER_DEGC == -40
.# 変更反映されていないことを確認
.#
AOBC_RT.Cmd_APP_TEMPERATURE_ANOMALY_SET_THRESHOLD 2 90 -40
wait_sec 1
AOBC_RT.Cmd_GENERATE_TLM 0x40 0x32 1 # AOBC_ANOMALYをDL
AOBC_RT.Cmd_TG_GENERATE_RT_TLM 0x32 # AOBC_ANOMALYをDL
wait_sec 3
check_value AOBC_ANOMALY.TEMPERATURE.THRESHOLD.ROUGH_GYRO_UPPER_DEGC == 90
check_value AOBC_ANOMALY.TEMPERATURE.THRESHOLD.ROUGH_GYRO_LOWER_DEGC == -40
.# 変更反映を確認
.#
.AOBC_RT.Cmd_APP_TEMPERATURE_ANOMALY_SET_THRESHOLD 2 -90 -40
.# コマンドエラーを確認
AOBC_RT.Cmd_GENERATE_TLM 0x40 0x32 1 # AOBC_ANOMALYをDL
AOBC_RT.Cmd_TG_GENERATE_RT_TLM 0x32 # AOBC_ANOMALYをDL
wait_sec 3
check_value AOBC_ANOMALY.TEMPERATURE.THRESHOLD.ROUGH_GYRO_UPPER_DEGC == 90
check_value AOBC_ANOMALY.TEMPERATURE.THRESHOLD.ROUGH_GYRO_LOWER_DEGC == -40
.# 変更反映されていないことを確認
.#
AOBC_RT.Cmd_APP_TEMPERATURE_ANOMALY_SET_THRESHOLD 3 90 -40
wait_sec 1
AOBC_RT.Cmd_GENERATE_TLM 0x40 0x32 1 # AOBC_ANOMALYをDL
AOBC_RT.Cmd_TG_GENERATE_RT_TLM 0x32 # AOBC_ANOMALYをDL
wait_sec 3
check_value AOBC_ANOMALY.TEMPERATURE.THRESHOLD.FINE_GYRO_X_UPPER_DEGC == 90
check_value AOBC_ANOMALY.TEMPERATURE.THRESHOLD.FINE_GYRO_X_LOWER_DEGC == -40
.# 変更反映を確認
.#
.AOBC_RT.Cmd_APP_TEMPERATURE_ANOMALY_SET_THRESHOLD 3 -90 -40
.# コマンドエラーを確認
AOBC_RT.Cmd_GENERATE_TLM 0x40 0x32 1 # AOBC_ANOMALYをDL
AOBC_RT.Cmd_TG_GENERATE_RT_TLM 0x32 # AOBC_ANOMALYをDL
wait_sec 3
check_value AOBC_ANOMALY.TEMPERATURE.THRESHOLD.FINE_GYRO_X_UPPER_DEGC == 90
check_value AOBC_ANOMALY.TEMPERATURE.THRESHOLD.FINE_GYRO_X_LOWER_DEGC == -40
.# 変更反映されていないことを確認
.#
AOBC_RT.Cmd_APP_TEMPERATURE_ANOMALY_SET_THRESHOLD 4 90 -40
wait_sec 1
AOBC_RT.Cmd_GENERATE_TLM 0x40 0x32 1 # AOBC_ANOMALYをDL
AOBC_RT.Cmd_TG_GENERATE_RT_TLM 0x32 # AOBC_ANOMALYをDL
wait_sec 3
check_value AOBC_ANOMALY.TEMPERATURE.THRESHOLD.FINE_GYRO_Y_UPPER_DEGC == 90
check_value AOBC_ANOMALY.TEMPERATURE.THRESHOLD.FINE_GYRO_Y_LOWER_DEGC == -40
.# 変更反映を確認
.#
.AOBC_RT.Cmd_APP_TEMPERATURE_ANOMALY_SET_THRESHOLD 4 -90 -40
.# コマンドエラーを確認
AOBC_RT.Cmd_GENERATE_TLM 0x40 0x32 1 # AOBC_ANOMALYをDL
AOBC_RT.Cmd_TG_GENERATE_RT_TLM 0x32 # AOBC_ANOMALYをDL
wait_sec 3
check_value AOBC_ANOMALY.TEMPERATURE.THRESHOLD.FINE_GYRO_Y_UPPER_DEGC == 90
check_value AOBC_ANOMALY.TEMPERATURE.THRESHOLD.FINE_GYRO_Y_LOWER_DEGC == -40
.# 変更反映されていないことを確認
.#
AOBC_RT.Cmd_APP_TEMPERATURE_ANOMALY_SET_THRESHOLD 5 90 -40
wait_sec 1
AOBC_RT.Cmd_GENERATE_TLM 0x40 0x32 1 # AOBC_ANOMALYをDL
AOBC_RT.Cmd_TG_GENERATE_RT_TLM 0x32 # AOBC_ANOMALYをDL
wait_sec 3
check_value AOBC_ANOMALY.TEMPERATURE.THRESHOLD.FINE_GYRO_Z_UPPER_DEGC == 90
check_value AOBC_ANOMALY.TEMPERATURE.THRESHOLD.FINE_GYRO_Z_LOWER_DEGC == -40
.# 変更反映を確認
.#
.AOBC_RT.Cmd_APP_TEMPERATURE_ANOMALY_SET_THRESHOLD 5 -90 -40
.# コマンドエラーを確認
AOBC_RT.Cmd_GENERATE_TLM 0x40 0x32 1 # AOBC_ANOMALYをDL
AOBC_RT.Cmd_TG_GENERATE_RT_TLM 0x32 # AOBC_ANOMALYをDL
wait_sec 3
check_value AOBC_ANOMALY.TEMPERATURE.THRESHOLD.FINE_GYRO_Z_UPPER_DEGC == 90
check_value AOBC_ANOMALY.TEMPERATURE.THRESHOLD.FINE_GYRO_Z_LOWER_DEGC == -40
.# 変更反映されていないことを確認
.#
AOBC_RT.Cmd_APP_TEMPERATURE_ANOMALY_SET_THRESHOLD 6 90 -40
wait_sec 1
AOBC_RT.Cmd_GENERATE_TLM 0x40 0x32 1 # AOBC_ANOMALYをDL
AOBC_RT.Cmd_TG_GENERATE_RT_TLM 0x32 # AOBC_ANOMALYをDL
wait_sec 3
check_value AOBC_ANOMALY.TEMPERATURE.THRESHOLD.STT_MCU_UPPER_DEGC == 90
check_value AOBC_ANOMALY.TEMPERATURE.THRESHOLD.STT_MCU_LOWER_DEGC == -40
.# 変更反映を確認
.#
.AOBC_RT.Cmd_APP_TEMPERATURE_ANOMALY_SET_THRESHOLD 6 -90 -40
.# コマンドエラーを確認
AOBC_RT.Cmd_GENERATE_TLM 0x40 0x32 1 # AOBC_ANOMALYをDL
AOBC_RT.Cmd_TG_GENERATE_RT_TLM 0x32 # AOBC_ANOMALYをDL
wait_sec 3
check_value AOBC_ANOMALY.TEMPERATURE.THRESHOLD.STT_MCU_UPPER_DEGC == 90
check_value AOBC_ANOMALY.TEMPERATURE.THRESHOLD.STT_MCU_LOWER_DEGC == -40
.# 変更反映されていないことを確認
.#
AOBC_RT.Cmd_APP_TEMPERATURE_ANOMALY_SET_THRESHOLD 7 90 -40
wait_sec 1
AOBC_RT.Cmd_GENERATE_TLM 0x40 0x32 1 # AOBC_ANOMALYをDL
AOBC_RT.Cmd_TG_GENERATE_RT_TLM 0x32 # AOBC_ANOMALYをDL
wait_sec 3
check_value AOBC_ANOMALY.TEMPERATURE.THRESHOLD.STT_CMOS_UPPER_DEGC == 90
check_value AOBC_ANOMALY.TEMPERATURE.THRESHOLD.STT_CMOS_LOWER_DEGC == -40
.# 変更反映を確認
.#
.AOBC_RT.Cmd_APP_TEMPERATURE_ANOMALY_SET_THRESHOLD 7 -90 -40
.# コマンドエラーを確認
AOBC_RT.Cmd_GENERATE_TLM 0x40 0x32 1 # AOBC_ANOMALYをDL
AOBC_RT.Cmd_TG_GENERATE_RT_TLM 0x32 # AOBC_ANOMALYをDL
wait_sec 3
check_value AOBC_ANOMALY.TEMPERATURE.THRESHOLD.STT_CMOS_UPPER_DEGC == 90
check_value AOBC_ANOMALY.TEMPERATURE.THRESHOLD.STT_CMOS_LOWER_DEGC == -40
.# 変更反映されていないことを確認
.#
AOBC_RT.Cmd_APP_TEMPERATURE_ANOMALY_SET_THRESHOLD 8 90 -40
wait_sec 1
AOBC_RT.Cmd_GENERATE_TLM 0x40 0x32 1 # AOBC_ANOMALYをDL
AOBC_RT.Cmd_TG_GENERATE_RT_TLM 0x32 # AOBC_ANOMALYをDL
wait_sec 3
check_value AOBC_ANOMALY.TEMPERATURE.THRESHOLD.RW_X_UPPER_DEGC == 90
check_value AOBC_ANOMALY.TEMPERATURE.THRESHOLD.RW_X_LOWER_DEGC == -40
.# 変更反映を確認
.#
.AOBC_RT.Cmd_APP_TEMPERATURE_ANOMALY_SET_THRESHOLD 8 -90 -40
.# コマンドエラーを確認
AOBC_RT.Cmd_GENERATE_TLM 0x40 0x32 1 # AOBC_ANOMALYをDL
AOBC_RT.Cmd_TG_GENERATE_RT_TLM 0x32 # AOBC_ANOMALYをDL
wait_sec 3
check_value AOBC_ANOMALY.TEMPERATURE.THRESHOLD.RW_X_UPPER_DEGC == 90
check_value AOBC_ANOMALY.TEMPERATURE.THRESHOLD.RW_X_LOWER_DEGC == -40
.# 変更反映されていないことを確認
.#
AOBC_RT.Cmd_APP_TEMPERATURE_ANOMALY_SET_THRESHOLD 9 90 -40
wait_sec 1
AOBC_RT.Cmd_GENERATE_TLM 0x40 0x32 1 # AOBC_ANOMALYをDL
AOBC_RT.Cmd_TG_GENERATE_RT_TLM 0x32 # AOBC_ANOMALYをDL
wait_sec 3
check_value AOBC_ANOMALY.TEMPERATURE.THRESHOLD.RW_Y_UPPER_DEGC == 90
check_value AOBC_ANOMALY.TEMPERATURE.THRESHOLD.RW_Y_LOWER_DEGC == -40
.# 変更反映を確認
.#
.AOBC_RT.Cmd_APP_TEMPERATURE_ANOMALY_SET_THRESHOLD 9 -90 -40
.# コマンドエラーを確認
AOBC_RT.Cmd_GENERATE_TLM 0x40 0x32 1 # AOBC_ANOMALYをDL
AOBC_RT.Cmd_TG_GENERATE_RT_TLM 0x32 # AOBC_ANOMALYをDL
wait_sec 3
check_value AOBC_ANOMALY.TEMPERATURE.THRESHOLD.RW_Y_UPPER_DEGC == 90
check_value AOBC_ANOMALY.TEMPERATURE.THRESHOLD.RW_Y_LOWER_DEGC == -40
.# 変更反映されていないことを確認
.#
AOBC_RT.Cmd_APP_TEMPERATURE_ANOMALY_SET_THRESHOLD 10 90 -40
wait_sec 1
AOBC_RT.Cmd_GENERATE_TLM 0x40 0x32 1 # AOBC_ANOMALYをDL
AOBC_RT.Cmd_TG_GENERATE_RT_TLM 0x32 # AOBC_ANOMALYをDL
wait_sec 3
check_value AOBC_ANOMALY.TEMPERATURE.THRESHOLD.RW_Z_UPPER_DEGC == 90
check_value AOBC_ANOMALY.TEMPERATURE.THRESHOLD.RW_Z_LOWER_DEGC == -40
.# 変更反映を確認
.#
.AOBC_RT.Cmd_APP_TEMPERATURE_ANOMALY_SET_THRESHOLD 10 -90 -40
.# コマンドエラーを確認
AOBC_RT.Cmd_GENERATE_TLM 0x40 0x32 1 # AOBC_ANOMALYをDL
AOBC_RT.Cmd_TG_GENERATE_RT_TLM 0x32 # AOBC_ANOMALYをDL
wait_sec 3
check_value AOBC_ANOMALY.TEMPERATURE.THRESHOLD.RW_Z_UPPER_DEGC == 90
check_value AOBC_ANOMALY.TEMPERATURE.THRESHOLD.RW_Z_LOWER_DEGC == -40
.# 変更反映されていないことを確認
.#
AOBC_RT.Cmd_APP_TEMPERATURE_ANOMALY_SET_THRESHOLD 11 90 -40
wait_sec 1
AOBC_RT.Cmd_GENERATE_TLM 0x40 0x32 1 # AOBC_ANOMALYをDL
AOBC_RT.Cmd_TG_GENERATE_RT_TLM 0x32 # AOBC_ANOMALYをDL
wait_sec 3
check_value AOBC_ANOMALY.TEMPERATURE.THRESHOLD.GPSR_UPPER_DEGC == 90
check_value AOBC_ANOMALY.TEMPERATURE.THRESHOLD.GPSR_LOWER_DEGC == -40
.# 変更反映を確認
.#
.AOBC_RT.Cmd_APP_TEMPERATURE_ANOMALY_SET_THRESHOLD 11 -90 -40
.# コマンドエラーを確認
AOBC_RT.Cmd_GENERATE_TLM 0x40 0x32 1 # AOBC_ANOMALYをDL
AOBC_RT.Cmd_TG_GENERATE_RT_TLM 0x32 # AOBC_ANOMALYをDL
wait_sec 3
check_value AOBC_ANOMALY.TEMPERATURE.THRESHOLD.GPSR_UPPER_DEGC == 90
check_value AOBC_ANOMALY.TEMPERATURE.THRESHOLD.GPSR_LOWER_DEGC == -40
.# 変更反映されていないことを確認
.#
AOBC_RT.Cmd_APP_TEMPERATURE_ANOMALY_SET_THRESHOLD 12 90 -40
.# コマンドエラーを確認
AOBC_RT.Cmd_GENERATE_TLM 0x40 0x32 1 # AOBC_ANOMALYをDL
AOBC_RT.Cmd_TG_GENERATE_RT_TLM 0x32 # AOBC_ANOMALYをDL
.# 変更反映されていないことを確認
.#
.#
Expand Down
38 changes: 19 additions & 19 deletions database/CmdPlan/AOBC_AOCS_MANAGER.ops
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
.# ===== AOCS MANAGER 単体試験 =====
.#
.AOBC_RT.Cmd_GENERATE_TLM 0x40 0x2d 1 # AOBC_MANAGERをDL
.AOBC_RT.Cmd_TG_GENERATE_RT_TLM 0x2d # AOBC_MANAGERをDL
.# 初期値が設定どおりであることを確認する
.#
.# ----- 衛星構造コマンド試験 -----
Cmd_APP_AOCS_MANAGER_SET_MASS 11.5
wait_sec 1
AOBC_RT.Cmd_GENERATE_TLM 0x40 0x2d 1 # AOBC_MANAGERをDL
AOBC_RT.Cmd_TG_GENERATE_RT_TLM 0x2d # AOBC_MANAGERをDL
wait_sec 1
check_value AOBC_AOCS_MANAGER.MASS_kg == 11.5
.#
Expand All @@ -15,14 +15,14 @@
wait_sec 2
check_value AOBC_HK_GEN.OBC.GS_CMD.LAST_EXEC_STS == PRM
wait_sec 1
AOBC_RT.Cmd_GENERATE_TLM 0x40 0x2d 1 # AOBC_MANAGERをDL
AOBC_RT.Cmd_TG_GENERATE_RT_TLM 0x2d # AOBC_MANAGERをDL
wait_sec 1
check_value AOBC_AOCS_MANAGER.MASS_kg == 11.5
.#
.#
Cmd_APP_AOCS_MANAGER_SET_RMM 1.2e-3 1.4e-5 1.6e-7
wait_sec 1
AOBC_RT.Cmd_GENERATE_TLM 0x40 0x2d 1 # AOBC_MANAGERをDL
AOBC_RT.Cmd_TG_GENERATE_RT_TLM 0x2d # AOBC_MANAGERをDL
wait_sec 1
check_value AOBC_AOCS_MANAGER.SC_RMM_BODY.X_Am2 == 1.2e-3
check_value AOBC_AOCS_MANAGER.SC_RMM_BODY.Y_Am2 == 1.4e-5
Expand All @@ -31,7 +31,7 @@
.#
Cmd_APP_AOCS_MANAGER_SET_INERTIA_TENSOR 0.1 0.2 0.3 0.12 0.13 0.23
wait_sec 1
AOBC_RT.Cmd_GENERATE_TLM 0x40 0x2d 1 # AOBC_MANAGERをDL
AOBC_RT.Cmd_TG_GENERATE_RT_TLM 0x2d # AOBC_MANAGERをDL
wait_sec 1
check_value AOBC_AOCS_MANAGER.INERTIA_TENSOR_BODY.XX_kgm2 == 0.1
check_value AOBC_AOCS_MANAGER.INERTIA_TENSOR_BODY.YY_kgm2 == 0.2
Expand All @@ -45,7 +45,7 @@
wait_sec 2
check_value AOBC_HK_GEN.OBC.GS_CMD.LAST_EXEC_STS == PRM
wait_sec 1
AOBC_RT.Cmd_GENERATE_TLM 0x40 0x2d 1 # AOBC_MANAGERをDL
AOBC_RT.Cmd_TG_GENERATE_RT_TLM 0x2d # AOBC_MANAGERをDL
wait_sec 1
check_value AOBC_AOCS_MANAGER.INERTIA_TENSOR_BODY.XX_kgm2 == 0.1
check_value AOBC_AOCS_MANAGER.INERTIA_TENSOR_BODY.YY_kgm2 == 0.2
Expand All @@ -58,7 +58,7 @@
.# ----- 目標姿勢試験 -----
Cmd_APP_AOCS_MANAGER_SET_LIMIT_MANEUVER_ANGLE 180.0 # 面倒なのでいったん緩く設定
wait_sec 1
AOBC_RT.Cmd_GENERATE_TLM 0x40 0x2d 1 # AOBC_MANAGERをDL
AOBC_RT.Cmd_TG_GENERATE_RT_TLM 0x2d # AOBC_MANAGERをDL
wait_sec 1
check_value AOBC_AOCS_MANAGER.LIMIT.MANEUVER_ANGLE_deg > 179.0
check_value AOBC_AOCS_MANAGER.LIMIT.MANEUVER_ANGLE_deg < 181.0
Expand All @@ -83,7 +83,7 @@
.#
Cmd_APP_AOCS_MANAGER_SET_LIMIT_MANEUVER_ANGLE 30.0 # 厳しく設定
wait_sec 1
AOBC_RT.Cmd_GENERATE_TLM 0x40 0x2d 1 # AOBC_MANAGERをDL
AOBC_RT.Cmd_TG_GENERATE_RT_TLM 0x2d # AOBC_MANAGERをDL
wait_sec 1
check_value AOBC_AOCS_MANAGER.LIMIT.MANEUVER_ANGLE_deg > 29.0
check_value AOBC_AOCS_MANAGER.LIMIT.MANEUVER_ANGLE_deg < 31.0
Expand All @@ -106,7 +106,7 @@
.#
Cmd_APP_AOCS_MANAGER_SET_LIMIT_ANGULAR_VELOCITY 1.0
wait_sec 1
AOBC_RT.Cmd_GENERATE_TLM 0x40 0x2d 1 # AOBC_MANAGERをDL
AOBC_RT.Cmd_TG_GENERATE_RT_TLM 0x2d # AOBC_MANAGERをDL
wait_sec 1
check_value AOBC_AOCS_MANAGER.LIMIT.ANGULAR_VELOCITY_deg_s > 0.9
check_value AOBC_AOCS_MANAGER.LIMIT.ANGULAR_VELOCITY_deg_s < 1.1
Expand All @@ -119,17 +119,17 @@
.# 現在姿勢を目標姿勢に設定
Cmd_APP_AOCS_MANAGER_SET_TARGET_QUATERNION_FROM_CURRENT_ATTITUDE 0 0.0
wait_sec 1
AOBC_RT.Cmd_GENERATE_TLM 0x40 0x2d 1 # AOBC_MANAGERをDL
AOBC_RT.Cmd_TG_GENERATE_RT_TLM 0x2d # AOBC_MANAGERをDL
.# 現在姿勢によるのでcheck機能は使わず、目視で確認する
.#
Cmd_APP_AOCS_MANAGER_SET_TARGET_QUATERNION_FROM_CURRENT_ATTITUDE 1 5.0
wait_sec 1
AOBC_RT.Cmd_GENERATE_TLM 0x40 0x2d 1 # AOBC_MANAGERをDL
AOBC_RT.Cmd_TG_GENERATE_RT_TLM 0x2d # AOBC_MANAGERをDL
.# 現在姿勢によるのでcheck機能は使わず、目視で確認する
.#
Cmd_APP_AOCS_MANAGER_SET_TARGET_QUATERNION_FROM_CURRENT_ATTITUDE 2 -20.0
wait_sec 1
AOBC_RT.Cmd_GENERATE_TLM 0x40 0x2d 1 # AOBC_MANAGERをDL
AOBC_RT.Cmd_TG_GENERATE_RT_TLM 0x2d # AOBC_MANAGERをDL
.# 現在姿勢によるのでcheck機能は使わず、目視で確認する
.#
Cmd_APP_AOCS_MANAGER_SET_TARGET_QUATERNION_FROM_CURRENT_ATTITUDE 0 100.0
Expand All @@ -153,7 +153,7 @@
.#
Cmd_APP_AOCS_MANAGER_SET_CONSTANT_TORQUE 1e-3 -2e-3 3e-3
wait_sec 1
AOBC_RT.Cmd_GENERATE_TLM 0x40 0x2d 1 # AOBC_MANAGERをDL
AOBC_RT.Cmd_TG_GENERATE_RT_TLM 0x2d # AOBC_MANAGERをDL
wait_sec 1
check_value AOBC_AOCS_MANAGER.CONST_TORQUE.BODY_X_Nm == 1e-3
check_value AOBC_AOCS_MANAGER.CONST_TORQUE.BODY_Y_Nm == -2e-3
Expand All @@ -174,14 +174,14 @@
.#
Cmd_APP_AOCS_MANAGER_SET_CONSTANT_TORQUE_PERMISSION 1
wait_sec 1
AOBC_RT.Cmd_GENERATE_TLM 0x40 0x2d 1 # AOBC_MANAGERをDL
AOBC_RT.Cmd_TG_GENERATE_RT_TLM 0x2d # AOBC_MANAGERをDL
wait_sec 1
check_value AOBC_AOCS_MANAGER.CONST_TORQUE.PERMISSION == ENABLE
.#
.#
Cmd_APP_AOCS_MANAGER_SET_CONSTANT_TORQUE_PERMISSION 0
wait_sec 1
AOBC_RT.Cmd_GENERATE_TLM 0x40 0x2d 1 # AOBC_MANAGERをDL
AOBC_RT.Cmd_TG_GENERATE_RT_TLM 0x2d # AOBC_MANAGERをDL
wait_sec 1
check_value AOBC_AOCS_MANAGER.CONST_TORQUE.PERMISSION == DISABLE
.#
Expand All @@ -192,13 +192,13 @@
.#
Cmd_APP_AOCS_MANAGER_SET_MAG_EXCLUSIVE_STATE 1
wait_sec 1
AOBC_RT.Cmd_GENERATE_TLM 0x40 0x2d 1 # AOBC_MANAGERをDL
AOBC_RT.Cmd_TG_GENERATE_RT_TLM 0x2d # AOBC_MANAGERをDL
wait_sec 1
check_value AOBC_AOCS_MANAGER.MAG_EXEC_STATE == ACTIVE
.#
Cmd_APP_AOCS_MANAGER_SET_MAG_EXCLUSIVE_STATE 0
wait_sec 1
AOBC_RT.Cmd_GENERATE_TLM 0x40 0x2d 1 # AOBC_MANAGERをDL
AOBC_RT.Cmd_TG_GENERATE_RT_TLM 0x2d # AOBC_MANAGERをDL
wait_sec 1
check_value AOBC_AOCS_MANAGER.MAG_EXEC_STATE == IDLE
.#
Expand All @@ -209,7 +209,7 @@
.#
Cmd_APP_AOCS_MANAGER_SET_MAX_IN_TORQUE 1e-3 2e-3 3e-3
wait_sec 1
AOBC_RT.Cmd_GENERATE_TLM 0x40 0x2d 1 # AOBC_MANAGERをDL
AOBC_RT.Cmd_TG_GENERATE_RT_TLM 0x2d # AOBC_MANAGERをDL
wait_sec 1
check_value AOBC_AOCS_MANAGER.IN_TORQUE_MAX_BODY.X_Nm == 1e-3
check_value AOBC_AOCS_MANAGER.IN_TORQUE_MAX_BODY.Y_Nm == 2e-3
Expand All @@ -229,7 +229,7 @@
.#
Cmd_APP_AOCS_MANAGER_SET_MAX_EXT_TORQUE 1.1e-3 2.2e-3 3.3e-3
wait_sec 1
AOBC_RT.Cmd_GENERATE_TLM 0x40 0x2d 1 # AOBC_MANAGERをDL
AOBC_RT.Cmd_TG_GENERATE_RT_TLM 0x2d # AOBC_MANAGERをDL
wait_sec 1
check_value AOBC_AOCS_MANAGER.EXT_TORQUE_MAX_BODY.X_Nm == 1.1e-3
check_value AOBC_AOCS_MANAGER.EXT_TORQUE_MAX_BODY.Y_Nm == 2.2e-3
Expand Down
Loading