ut-issl / s2e-core

Spacecraft Simulation Environment Core codes
MIT License
46 stars 18 forks source link

[hotfix] Add const getter of PowerPort in PowerControlUnit #670

Closed conjikidow closed 1 month ago

conjikidow commented 1 month ago

Related issues

NA

Description

PowerControlUnit において,PowerPort の getter である GetPowerPort に const な overload member function を追加した。 PowerPortGetVoltage_V などの getter を持つが,PowerControlUnit::GetPowerPort が const でないと GetLogValue などの const function から呼び出すことができず不便であったため。

Test results

ビルドについてはCIで確認可能。 動作についてはuserプロジェクトで確認済み。

Impact

既存のものへの影響はない想定。

Supplementary information

NA