From 1d971db9a292e7e05011b77ed38a3b863b98b56b Mon Sep 17 00:00:00 2001 From: TomokiM Date: Thu, 27 Jun 2024 10:03:16 +0900 Subject: [PATCH] initialize variables --- .../attitude/attitude_with_cantilever_vibration.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/dynamics/attitude/attitude_with_cantilever_vibration.hpp b/src/dynamics/attitude/attitude_with_cantilever_vibration.hpp index c2383d716..e24f3e489 100644 --- a/src/dynamics/attitude/attitude_with_cantilever_vibration.hpp +++ b/src/dynamics/attitude/attitude_with_cantilever_vibration.hpp @@ -69,9 +69,9 @@ class AttitudeWithCantileverVibration : public Attitude { virtual void SetParameters(const MonteCarloSimulationExecutor& mc_simulator); private: - double current_propagation_time_s_; //!< current time [sec] - libra::Vector<3> angular_velocity_cantilever_rad_s_; //!< Angular velocity of the cantilever with respect to the body frame [rad/s] - libra::Vector<3> euler_angular_cantilever_rad_; //!< Euler angle of the cantilever with respect to the body frame [rad/s] + double current_propagation_time_s_; //!< current time [sec] + libra::Vector<3> angular_velocity_cantilever_rad_s_{0.0}; //!< Angular velocity of the cantilever with respect to the body frame [rad/s] + libra::Vector<3> euler_angular_cantilever_rad_{0.0}; //!< Euler angle of the cantilever with respect to the body frame [rad/s] libra::numerical_integration::AttitudeWithCantileverVibrationOde attitude_ode_; libra::numerical_integration::NumericalIntegratorManager<13> numerical_integrator_;