diff --git a/src/simulation_sample/spacecraft/sample_components.hpp b/src/simulation_sample/spacecraft/sample_components.hpp index 503805e08..5f16dcfd1 100644 --- a/src/simulation_sample/spacecraft/sample_components.hpp +++ b/src/simulation_sample/spacecraft/sample_components.hpp @@ -67,12 +67,12 @@ class SampleComponents : public InstalledComponents { * @fn GenerateForce_b_N * @brief Return force generated by components in unit Newton in body fixed frame */ - libra::Vector<3> GenerateForce_b_N(); + libra::Vector<3> GenerateForce_b_N() override; /** * @fn GenerateTorque_b_Nm * @brief Return torque generated by components in unit Newton-meter in body fixed frame */ - libra::Vector<3> GenerateTorque_b_Nm(); + libra::Vector<3> GenerateTorque_b_Nm() override; /** * @fn ComponentInterference * @brief Handle component interference effect @@ -83,7 +83,7 @@ class SampleComponents : public InstalledComponents { * @fn LogSetup * @brief Setup the logger for components */ - void LogSetup(Logger& logger); + void LogSetup(Logger& logger) override; // Getter inline Antenna& GetAntenna() const { return *antenna_; }