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

HILSを用いたアプリタイムの調整 #307

Closed
wants to merge 9 commits into from
Closed
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
1 change: 0 additions & 1 deletion C2A_AOBC.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,6 @@
<ClCompile Include="src\src_user\Settings\Modes\TaskLists\tl_rough_sun_pointing.c" />
<ClCompile Include="src\src_user\Settings\Modes\TaskLists\tl_rough_three_axis.c" />
<ClCompile Include="src\src_user\Settings\Modes\TaskLists\tl_rough_three_axis_rw.c" />
<ClCompile Include="src\src_user\Settings\Modes\TaskLists\tl_gpsr_range_observe.c" />
<ClCompile Include="src\src_user\Settings\Modes\Transitions\sl_bdot.c" />
<ClCompile Include="src\src_user\Settings\Modes\Transitions\sl_fine_three_axis.c" />
<ClCompile Include="src\src_user\Settings\Modes\Transitions\sl_initial.c" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@

void BCL_load_basic_sensor_update(void)
{
BCL_tool_register_app(0, AR_DI_MPU9250);
BCL_tool_register_app(1, AR_APP_MPU9250_FILTER);
BCL_tool_register_app(2, AR_DI_INA260);
BCL_tool_register_app(3, AR_APP_CURRENT_ANOMALY);
BCL_tool_register_app(4, AR_APP_THERMO_SENSOR);
BCL_tool_register_app(5, AR_APP_AOCS_MANAGER);
BCL_tool_register_app(0, AR_DI_MPU9250); // 4step以上
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[NITS] コメントアウトのインデントを揃えてもらえると綺麗かなと思います。 (他も同様です)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

あと、これまではこちらでメモとっていたことは把握していますかね?下記はオープンじゃないので直接コードに書いても良いかもですが、一応お伝えしておきます。

https://docs.google.com/spreadsheets/d/13fAz0aFXkwjRiu-oOnvo85XZ5n9_quoh8s3XFROh1HY/edit#gid=0

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

存じていなかったです.

BCL_tool_register_app(1, AR_APP_MPU9250_FILTER); // 1step以上
BCL_tool_register_app(2, AR_DI_INA260); // 2step以上
BCL_tool_register_app(3, AR_APP_CURRENT_ANOMALY); // 1step以上
BCL_tool_register_app(4, AR_APP_THERMO_SENSOR); // step以上
BCL_tool_register_app(5, AR_APP_AOCS_MANAGER); // 1step以上
}

#pragma section
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@

void BCL_load_cdh_update()
{
BCL_tool_register_app(0, AR_DI_MOBC);
BCL_tool_register_app(1, AR_GSC_DISPATCHER);
BCL_tool_register_app(2, AR_TLC_DISPATCHER_GS);
BCL_tool_register_app(3, AR_RTC_DISPATCHER);
BCL_tool_register_app(4, AR_TLC_DISPATCHER_BC);
BCL_tool_register_app(5, AR_TLC_DISPATCHER_TLM);
BCL_tool_register_app(6, AR_DI_MOBC_RT_TLM_PH);
BCL_tool_register_app(7, AR_EVENT_UTILITY);
BCL_tool_register_app(8, AR_APP_AOCS_DATA_RECORDER);
BCL_tool_register_app(9, AR_APP_NVM_BC);
BCL_tool_register_app(0, AR_DI_MOBC); // 1step以上
BCL_tool_register_app(1, AR_GSC_DISPATCHER); // 1step以上
BCL_tool_register_app(2, AR_TLC_DISPATCHER_GS); // 1step以上
BCL_tool_register_app(3, AR_RTC_DISPATCHER); // 1step以上
BCL_tool_register_app(4, AR_TLC_DISPATCHER_BC); // 2step以上
BCL_tool_register_app(5, AR_TLC_DISPATCHER_TLM); // 1step以上
BCL_tool_register_app(6, AR_DI_MOBC_RT_TLM_PH); // 19step以上
BCL_tool_register_app(7, AR_EVENT_UTILITY); // 2step以上
BCL_tool_register_app(8, AR_APP_AOCS_DATA_RECORDER); // 1step以上
BCL_tool_register_app(9, AR_APP_NVM_BC); // 1step以上
}

#pragma section
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@

void BCL_load_inertial_ref_update()
{
BCL_tool_register_app(0, AR_APP_TIME_SPACE_CALCULATOR); // 2step
BCL_tool_register_app(1, AR_APP_ORBIT_CALCULATOR); // 2step
BCL_tool_register_app(2, AR_APP_SUN_DIR_ECI_CALCULATOR); // 1step
BCL_tool_register_app(3, AR_APP_GEOMAG_ECI_CALCULATOR); // 5step
BCL_tool_register_app(4, AR_APP_TARGET_ATTITUDE_CALCULATOR); // 1step
BCL_tool_register_app(0, AR_APP_TIME_SPACE_CALCULATOR); // 3step以上
BCL_tool_register_app(1, AR_APP_ORBIT_CALCULATOR); // 4step以上
BCL_tool_register_app(2, AR_APP_SUN_DIR_ECI_CALCULATOR); // 2step以上
BCL_tool_register_app(3, AR_APP_GEOMAG_ECI_CALCULATOR); // 7step以上
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ここのアプリが全体的に長くなっているのは気になりますね。TIME_SPACEもORBITもほとんど修正していない気がしています。

GEOMAGは一部の計算をdoubleにする修正が入っていますが、それだけで2stepも伸びてしまうのかなと思っています。これもHILS/実機関係ないところなので、最新の計測結果が正しいということになるとは思います。

BCL_tool_register_app(4, AR_APP_TARGET_ATTITUDE_CALCULATOR); // 1step以上

// total: 11step
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@

void BCL_load_mtq_update(void)
{
BCL_tool_register_app(0, AR_APP_MAGNETIC_EXCLUSIVE_CONTROL_TIMER);
BCL_tool_register_app(1, AR_APP_AOCS_MTQ_SEIREN_CONTROLLER);
BCL_tool_register_app(0, AR_APP_MAGNETIC_EXCLUSIVE_CONTROL_TIMER); // 1step以上
BCL_tool_register_app(1, AR_APP_AOCS_MTQ_SEIREN_CONTROLLER); // 1step以上
}

#pragma section
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@

void BCL_load_oem7600_update(void)
{
BCL_tool_register_app(0, AR_DI_OEM7600);
BCL_tool_register_app(1, AR_APP_GPSR_SELECTOR);
BCL_tool_register_app(2, AR_APP_OEM7600_FILTER);
BCL_tool_register_app(0, AR_DI_OEM7600); // 1step以上
BCL_tool_register_app(1, AR_APP_GPSR_SELECTOR); // 1step以上
BCL_tool_register_app(2, AR_APP_OEM7600_FILTER); // 1step以上
}

#pragma section
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@

void BCL_load_rm3100_update(void)
{
BCL_tool_register_app(0, AR_DI_RM3100);
BCL_tool_register_app(1, AR_APP_RM3100_FILTER);
BCL_tool_register_app(2, AR_APP_MAG_SELECTOR);
BCL_tool_register_app(0, AR_DI_RM3100); // 3step以上
BCL_tool_register_app(1, AR_APP_RM3100_FILTER); // 1step以上
BCL_tool_register_app(2, AR_APP_MAG_SELECTOR); // 2step以上
}

#pragma section
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@

void BCL_load_rw_update(void)
{
BCL_tool_register_app(0, AR_APP_AOCS_RW_CONTROLLER); // max 3msec
BCL_tool_register_app(1, AR_DI_RW0003); // max 6msec
BCL_tool_register_app(3, AR_APP_RW0003_FILTER); // 0msec
BCL_tool_register_app(0, AR_APP_AOCS_RW_CONTROLLER); // max 3msec, 3step以上
BCL_tool_register_app(1, AR_DI_RW0003); // max 6msec, 6step以上
BCL_tool_register_app(3, AR_APP_RW0003_FILTER); // 0msec, 1step以上
}

#pragma section
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@

void BCL_load_stim210_update(void)
{
BCL_tool_register_app(0, AR_DI_STIM210);
BCL_tool_register_app(1, AR_APP_STIM210_FILTER);
BCL_tool_register_app(2, AR_APP_GYRO_SELECTOR);
BCL_tool_register_app(0, AR_DI_STIM210); // 1step以上
BCL_tool_register_app(1, AR_APP_STIM210_FILTER); // 1step以上
BCL_tool_register_app(2, AR_APP_GYRO_SELECTOR); // 1step以上
}

#pragma section
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@

void BCL_load_stt_update(void)
{
BCL_tool_register_app(0, AR_DI_SAGITTA);
BCL_tool_register_app(1, AR_APP_STT_SELECTOR);
BCL_tool_register_app(2, AR_APP_SAGITTA_FILTER);
BCL_tool_register_app(0, AR_DI_SAGITTA); // 11step以上
BCL_tool_register_app(1, AR_APP_STT_SELECTOR); // 1step以上
BCL_tool_register_app(2, AR_APP_SAGITTA_FILTER); // 1step以上
}

#pragma section
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@

void BCL_load_sun_vector_update(void)
{
BCL_tool_register_app(0, AR_DI_NANOSSOC_D60);
BCL_tool_register_app(1, AR_APP_SUN_SENSOR_SELECTOR);
BCL_tool_register_app(2, AR_APP_NANOSSOC_D60_FILTER);
BCL_tool_register_app(3, AR_APP_SUN_VEC_PROPAGATOR);
BCL_tool_register_app(0, AR_DI_NANOSSOC_D60); // 3step以上
BCL_tool_register_app(1, AR_APP_SUN_SENSOR_SELECTOR); // 1step以上
BCL_tool_register_app(2, AR_APP_NANOSSOC_D60_FILTER); // 1step以上
BCL_tool_register_app(3, AR_APP_SUN_VEC_PROPAGATOR); // 1step以上
}

#pragma section
18 changes: 9 additions & 9 deletions src/src_user/Settings/Modes/TaskLists/tl_bdot.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,26 +13,26 @@
void BCL_load_bdot_mode(void)
{
// CDH必須アプリ
BCL_tool_register_combine(0, BC_AC_CDH_UPDATE); // 23step以上
BCL_tool_register_combine(0, BC_AC_CDH_UPDATE); // 30step以上
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Q] こちらはコードがほぼ変わっていないのに増えているのは何か想定外のことが起こっている気がします。

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

HILSでは増えていました.HILSより実機か過去のデータを参照すべきですか?

Copy link
Member

@200km 200km May 21, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ここはHILSか実機かは関係ない部分なので、最新の実験結果を用いるというのが良いと思います。

cdh_updateの方に記入してくれている時間の総合計で30にしてくれているのだと思います。ここはAppCombinerなので、maxを全て足していくと過剰になってしまう可能性があります。
なのでACでまとめた場合の時間を決めるのは難しく、ある程度の見積もりのもと3-3が出続けないラインまで短くしていったりしています。その差で7step分が生まれた可能性もありますが、元の23stepでずっと3-3アノマリが出続けるようでしたらやはりながくする必要はあるということになります。


// AOCS必須アプリ
BCL_tool_register_combine(25, BC_AC_BASIC_SENSOR_UPDATE); // 7step以上
BCL_tool_register_app (35, AR_APP_AOCS_MM_BDOT); // 1step以上
BCL_tool_register_combine(30, BC_AC_BASIC_SENSOR_UPDATE); // 10step以上
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Q] こちらもコードは変わっていないように思います。また、センサーデータの取得はHILSではなく実機で試験した方が良いと思いますが、実機でも3stepも伸びているのでしょうか?

Copy link
Contributor Author

@ogoogo ogoogo May 21, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

いえ,HILSで3step伸びています.本日書き込み,明日実機電気試験予定なのですが,明日の実機の電気試験よりも前に601で作業してapptimeを確認した方が良いでしょうか?
もしそうであれば,今からやるので,他にも実機のを採用すべきアプリがあれば教えていただけると助かります.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

DIなど実機センサと直接通信するものは、実機で測定するのが良いと思います。HILSの場合、HILS側の遅延が実機の遅延と一致していない可能性があるかなと思います。
特にI2Cは、DIの中でSlave側から返答があるまで待機します。そのSlave側からの返答スピードについて実機とHILSとで完璧に合わせれてはいないと思います。とはいえ、以前は実機側に合わせたらHILS側で3-3アノマリが出るなどはなく、「実機>HILS」だったのだと思います。

BCL_tool_register_app (45, AR_APP_AOCS_MM_BDOT); // 1step以上

// Bdotアプリ
BCL_tool_register_combine(40, BC_AC_MTQ_UPDATE); // 1step以上, MTQ駆動時間カウンタを20 [Hz]周期にするため入れている
BCL_tool_register_combine(50, BC_AC_MTQ_UPDATE); // 2step以上, MTQ駆動時間カウンタを20 [Hz]周期にするため入れている
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[MUST] MTQ UPDATEは二つ入っているものの差が50になるように調整しています。

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

変更します.


BCL_tool_register_combine(45, BC_AC_RM3100_UPDATE); // 4step以上
BCL_tool_register_combine(55, BC_AC_RM3100_UPDATE); // 6step以上

BCL_tool_register_app (60, AR_APP_GYRO_SELECTOR); // 1step以上
BCL_tool_register_app (65, AR_APP_GYRO_SELECTOR); // 1step以上


BCL_tool_register_app (80, AR_APP_BDOT); // 1step以上
BCL_tool_register_app (70, AR_APP_BDOT); // 1step以上

BCL_tool_register_combine(90, BC_AC_MTQ_UPDATE); // 1step以上
BCL_tool_register_combine(75, BC_AC_MTQ_UPDATE); // 2step以上

// 基本使わないがユーザーが使いたい時に使えるように入れておく
BCL_tool_register_combine(92, BC_AC_OEM7600_UPDATE); // 1step以上
BCL_tool_register_combine(92, BC_AC_OEM7600_UPDATE); // 3step以上
}

#pragma section
30 changes: 15 additions & 15 deletions src/src_user/Settings/Modes/TaskLists/tl_fine_three_axis.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,32 +13,32 @@
void BCL_load_fine_three_axis_mode(void)
{
// CDH必須アプリ
BCL_tool_register_combine(0, BC_AC_CDH_UPDATE); // 23step以上
BCL_tool_register_combine(0, BC_AC_CDH_UPDATE); // 30step以上(initial mode)→29step以上(fine three axis)

// AOCS必須アプリ
BCL_tool_register_combine(25, BC_AC_BASIC_SENSOR_UPDATE); // 7step以上
BCL_tool_register_app (35, AR_APP_AOCS_MM_FINE_THREE_AXIS); // 1step以上
BCL_tool_register_combine(29, BC_AC_BASIC_SENSOR_UPDATE); // 10step以上
BCL_tool_register_app (39, AR_APP_AOCS_MM_FINE_THREE_AXIS); // 1step以上

// 精三軸制御アプリ
BCL_tool_register_combine(36, BC_AC_RM3100_UPDATE); // 4step以上
BCL_tool_register_combine(40, BC_AC_RM3100_UPDATE); // 6step以上

BCL_tool_register_combine(41, BC_AC_STIM210_UPDATE); // 1step以上
BCL_tool_register_combine(46, BC_AC_STIM210_UPDATE); // 3step以上→1step以上

BCL_tool_register_combine(45, BC_AC_MTQ_UPDATE); // 1step以上, MTQ駆動時間カウンタを20 [Hz]周期にするため入れている
BCL_tool_register_combine(47, BC_AC_MTQ_UPDATE); // 2step以上, MTQ駆動時間カウンタを20 [Hz]周期にするため入れている→1step以上

BCL_tool_register_combine(47, BC_AC_SUN_VECTOR_UPDATE); // 合計4step以上必要ある?
BCL_tool_register_combine(51, BC_AC_INERTIAL_REF_UPDATE); // 11step以上
BCL_tool_register_combine(48, BC_AC_SUN_VECTOR_UPDATE); // 6step以上
BCL_tool_register_combine(54, BC_AC_INERTIAL_REF_UPDATE); // 17step以上(initial mode)→16step以上(fine three axis)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ここも全て足すと17かもですが、ACなので過剰ということになっているかもしれません。それで6stepも差が生まれるのかなとは思いますが、元々の11stepで3-3アノマリが出続けるか見てみても良いかなとは思います。


BCL_tool_register_combine(63, BC_AC_STT_UPDATE); // 4step以上
BCL_tool_register_app (68, AR_APP_FINE_THREE_AXIS_DETERMINATION); // 1step以上
BCL_tool_register_combine(70, BC_AC_STT_UPDATE); // 13step以上
BCL_tool_register_app (83, AR_APP_FINE_THREE_AXIS_DETERMINATION); // 2step以上

BCL_tool_register_combine(75, BC_AC_OEM7600_UPDATE); // 1step以上
BCL_tool_register_combine(85, BC_AC_OEM7600_UPDATE); // 3step以上→1step以上

BCL_tool_register_app (80, AR_APP_THREE_AXIS_CONTROL_RW); // 1step以上
BCL_tool_register_app (84, AR_APP_UNLOADING); // 1step以上
BCL_tool_register_app (86, AR_APP_THREE_AXIS_CONTROL_RW); // 1step以上
BCL_tool_register_app (87, AR_APP_UNLOADING); // 1step以上

BCL_tool_register_combine(85, BC_AC_RW_UPDATE); // 10step以上
BCL_tool_register_combine(95, BC_AC_MTQ_UPDATE); // 1step以上
BCL_tool_register_combine(88, BC_AC_RW_UPDATE); // 10step以上
BCL_tool_register_combine(98, BC_AC_MTQ_UPDATE); // 2step以上→1step以上
}

#pragma section
26 changes: 13 additions & 13 deletions src/src_user/Settings/Modes/TaskLists/tl_initial.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,30 +13,30 @@
void BCL_load_initial_mode(void)
{
// CDH必須アプリ
BCL_tool_register_combine(0, BC_AC_CDH_UPDATE); // 23step以上
BCL_tool_register_combine(0, BC_AC_CDH_UPDATE); // 30step以上

// AOCS必須アプリ
BCL_tool_register_combine(25, BC_AC_BASIC_SENSOR_UPDATE); // 7step以上
BCL_tool_register_app (35, AR_APP_AOCS_MM_INITIAL); // 1step以上
BCL_tool_register_combine(30, BC_AC_BASIC_SENSOR_UPDATE); // 10step以上
BCL_tool_register_app (40, AR_APP_AOCS_MM_INITIAL); // 1step以上

// Initial mode用アプリ
BCL_tool_register_combine(36, BC_AC_RM3100_UPDATE); // 4step以上
BCL_tool_register_combine(41, BC_AC_STIM210_UPDATE); // 1step以上
BCL_tool_register_combine(41, BC_AC_RM3100_UPDATE); // 6step以上
BCL_tool_register_combine(47, BC_AC_STIM210_UPDATE); // 3step以上

BCL_tool_register_combine(45, BC_AC_MTQ_UPDATE); // 1step以上, MTQ駆動時間カウンタを20 [Hz]周期にするため入れている
BCL_tool_register_combine(50, BC_AC_MTQ_UPDATE); // 2step以上, MTQ駆動時間カウンタを20 [Hz]周期にするため入れている

BCL_tool_register_combine(47, BC_AC_SUN_VECTOR_UPDATE); // 合計4step以上必要ある?
BCL_tool_register_combine(51, BC_AC_INERTIAL_REF_UPDATE); // 11step以上
BCL_tool_register_combine(52, BC_AC_SUN_VECTOR_UPDATE); //6step以上
ogoogo marked this conversation as resolved.
Show resolved Hide resolved
ogoogo marked this conversation as resolved.
Show resolved Hide resolved
BCL_tool_register_combine(58, BC_AC_INERTIAL_REF_UPDATE); //17step以上
ogoogo marked this conversation as resolved.
Show resolved Hide resolved
ogoogo marked this conversation as resolved.
Show resolved Hide resolved

BCL_tool_register_combine(63, BC_AC_STT_UPDATE); // 4step以上
BCL_tool_register_combine(78, BC_AC_OEM7600_UPDATE); // 1step以上
BCL_tool_register_combine(75, BC_AC_STT_UPDATE); // 13step以上
BCL_tool_register_combine(88, BC_AC_OEM7600_UPDATE); // 3step以上

BCL_tool_register_app (80, AR_DI_RW0003); // max 6msec
BCL_tool_register_app (87, AR_APP_RW0003_FILTER); // 0msec
BCL_tool_register_app (91, AR_DI_RW0003); // max 6msec, 6step以上
BCL_tool_register_app (97, AR_APP_RW0003_FILTER); //1step以上
ogoogo marked this conversation as resolved.
Show resolved Hide resolved
ogoogo marked this conversation as resolved.
Show resolved Hide resolved

// BCL_tool_register_app (90, AR_APP_MODULE_TEST_BENCH); // 打ち上げ時は必ずコメントアウトする

BCL_tool_register_combine(95, BC_AC_MTQ_UPDATE); // 1step以上
BCL_tool_register_combine(98, BC_AC_MTQ_UPDATE); // 2step以上
}

#pragma section
24 changes: 12 additions & 12 deletions src/src_user/Settings/Modes/TaskLists/tl_rough_sun_pointing.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,31 +13,31 @@
void BCL_load_rough_sun_pointing_mode(void)
{
// CDH必須アプリ
BCL_tool_register_combine(0, BC_AC_CDH_UPDATE); // 23step以上
BCL_tool_register_combine(0, BC_AC_CDH_UPDATE); // 30step以上

// AOCS必須アプリ
BCL_tool_register_combine(25, BC_AC_BASIC_SENSOR_UPDATE); // 7step以上
BCL_tool_register_app (35, AR_APP_AOCS_MM_SUN_POINTING); // 1step以上
BCL_tool_register_combine(35, BC_AC_BASIC_SENSOR_UPDATE); // 10step以上
BCL_tool_register_app (50, AR_APP_AOCS_MM_SUN_POINTING); // 1step以上

// 粗太陽補足アプリ
BCL_tool_register_combine(40, BC_AC_MTQ_UPDATE); // 1step以上, MTQ駆動時間カウンタを20 [Hz]周期にするため入れている
BCL_tool_register_combine(52, BC_AC_MTQ_UPDATE); // 2step以上, MTQ駆動時間カウンタを20 [Hz]周期にするため入れている

BCL_tool_register_combine(45, BC_AC_RM3100_UPDATE); // 4step以上
BCL_tool_register_combine(55, BC_AC_RM3100_UPDATE); // 6step以上

BCL_tool_register_app (60, AR_APP_GYRO_SELECTOR); // 1step以上
BCL_tool_register_combine(65, BC_AC_SUN_VECTOR_UPDATE); // 合計4step以上
BCL_tool_register_app (62, AR_APP_GYRO_SELECTOR); // 1step以上
BCL_tool_register_combine(64, BC_AC_SUN_VECTOR_UPDATE); // 6step以上

BCL_tool_register_combine(70, BC_AC_INERTIAL_REF_UPDATE); // 合計11step以上
BCL_tool_register_combine(71, BC_AC_INERTIAL_REF_UPDATE); // 17step以上

// 太陽補足しながら次の三軸姿勢を確認できるようにしておく
BCL_tool_register_app (83, AR_APP_ROUGH_THREE_AXIS_DETERMINATION); // 1step以上
BCL_tool_register_app (89, AR_APP_ROUGH_THREE_AXIS_DETERMINATION); // 1step以上

BCL_tool_register_app (85, AR_APP_SUN_POINTING); // 1step以上
BCL_tool_register_app (91, AR_APP_SUN_POINTING); // 1step以上

BCL_tool_register_combine(90, BC_AC_MTQ_UPDATE); // 1step以上
BCL_tool_register_combine(93, BC_AC_MTQ_UPDATE); // 2step以上

// 基本使わないがユーザーが使いたい時に使えるように入れておく
BCL_tool_register_combine(92, BC_AC_OEM7600_UPDATE); // 1step以上
BCL_tool_register_combine(96, BC_AC_OEM7600_UPDATE); // 3step以上
}

#pragma section
24 changes: 12 additions & 12 deletions src/src_user/Settings/Modes/TaskLists/tl_rough_three_axis.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,30 +13,30 @@
void BCL_load_rough_three_axis_mode(void)
{
// CDH必須アプリ
BCL_tool_register_combine(0, BC_AC_CDH_UPDATE); // 23step以上
BCL_tool_register_combine(0, BC_AC_CDH_UPDATE); // 30step以上

// AOCS必須アプリ
BCL_tool_register_combine(25, BC_AC_BASIC_SENSOR_UPDATE); // 7step以上
BCL_tool_register_app (35, AR_APP_AOCS_MM_ROUGH_THREE_AXIS); // 1step以上
BCL_tool_register_combine(35, BC_AC_BASIC_SENSOR_UPDATE); // 10step以上
BCL_tool_register_app (46, AR_APP_AOCS_MM_ROUGH_THREE_AXIS); // 1step以上

// 基本使わないがユーザーが使いたい時に使えるように入れておく
BCL_tool_register_combine(37, BC_AC_STIM210_UPDATE); // 1step以上
BCL_tool_register_combine(48, BC_AC_STIM210_UPDATE); // 3step以上

// 粗三軸制御アプリ
BCL_tool_register_combine(40, BC_AC_MTQ_UPDATE); // 1step以上, MTQ駆動時間カウンタを20 [Hz]周期にするため入れている
BCL_tool_register_combine(52, BC_AC_MTQ_UPDATE); // 2step以上, MTQ駆動時間カウンタを20 [Hz]周期にするため入れている

BCL_tool_register_combine(45, BC_AC_RM3100_UPDATE); // 4step以上
BCL_tool_register_combine(55, BC_AC_RM3100_UPDATE); // 6step以上

BCL_tool_register_combine(55, BC_AC_SUN_VECTOR_UPDATE); // 合計4step以上
BCL_tool_register_combine(60, BC_AC_INERTIAL_REF_UPDATE); // 合計11step以上
BCL_tool_register_app (75, AR_APP_ROUGH_THREE_AXIS_DETERMINATION); // 1step以上
BCL_tool_register_combine(62, BC_AC_SUN_VECTOR_UPDATE); // 6step以上
BCL_tool_register_combine(69, BC_AC_INERTIAL_REF_UPDATE); // 17step以上
BCL_tool_register_app (87, AR_APP_ROUGH_THREE_AXIS_DETERMINATION); // 1step以上

BCL_tool_register_app (80, AR_APP_THREE_AXIS_CONTROL_MTQ); // 1step以上
BCL_tool_register_app (89, AR_APP_THREE_AXIS_CONTROL_MTQ); // 1step以上

BCL_tool_register_combine(90, BC_AC_MTQ_UPDATE); // 1step以上
BCL_tool_register_combine(91, BC_AC_MTQ_UPDATE); // 2tep以上

// 基本使わないがユーザーが使いたい時に使えるように入れておく
BCL_tool_register_combine(92, BC_AC_OEM7600_UPDATE); // 1step以上
BCL_tool_register_combine(94, BC_AC_OEM7600_UPDATE); // 3step以上
}

#pragma section
Loading
Loading