From c1de90a93131b612c76c9bbae01dbf436c7e6cb8 Mon Sep 17 00:00:00 2001 From: Tomoki Date: Mon, 22 Jan 2024 21:07:19 +0900 Subject: [PATCH] fix small --- s2e-ff/src/simulation/spacecraft/ff_components.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/s2e-ff/src/simulation/spacecraft/ff_components.cpp b/s2e-ff/src/simulation/spacecraft/ff_components.cpp index b3649ced..a8f73ccd 100644 --- a/s2e-ff/src/simulation/spacecraft/ff_components.cpp +++ b/s2e-ff/src/simulation/spacecraft/ff_components.cpp @@ -90,8 +90,8 @@ Vector<3> FfComponents::GenerateForce_b_N() { } Vector<3> FfComponents::GenerateTorque_b_Nm() { - // No attitude control component Vector<3> torque_b_Nm_(0.0); + torque_b_Nm_ += torque_generator_->GetGeneratedTorque_b_Nm(); return torque_b_Nm_; }