- This class calculates the gravity gradient torque in the
Disturbances
class.
gravity_gradient.cpp
,gravity_gradient.hpp
: Definitions and declarations of the classdisturbance.ini
: Initialization file
- Make an instance of the
GravityGradient
class inInitializeInstances
function indisturbances.cpp
- Create an instance by using the initialization function
InitGravityGradient
- Create an instance by using the initialization function
- Set the parameters in the
disturbance.ini
- Select
ENABLE
forcalculation
andlogging
- Select
This function performs disturbance calculation and torque output simultaneously.
Gravity gradient torque is calculated by the following equations (1).
where
Users can change the
- Check that the gravity gradient torque equation is performed correctly
- PropStepSec: 0.001
- StepTimeSec: 0.1
- EndTimeSec: 300
- Inertia tensor: diag [0.17, 0.1, 0.25]
- Initial Quaternion_i2b: [0,0,0,1]
- Initial torque: [0,0,0]
- Initial angular velocity: [0,0,0]
- Disturbance torque: All Disable except gravity gradient torque
- The order of the gg torque is
$10^7$ , which seems a proper value.
- 姿勢制御研究委員会, 人工衛星の力学と姿勢ハンドブック, 培風館, 2007. (written in Japanese)