🛰️航天仿真算法库 SpaceAST 0.0.1
载入中...
搜索中...
未找到
ast::StationaryOrbitDesigner类 参考final

#include <StationaryOrbitDesigner.hpp>

+ 类 ast::StationaryOrbitDesigner 继承关系图:

Public 成员函数

 StationaryOrbitDesigner (CelestialBody *body)
 
errc_t getOrbitState (ModOrbElem &orbElem) const override
 
double getSubsatellitePoint () const
 
double getInclination () const
 
void setSubsatellitePoint (double subsatellitePoint)
 
void setInclination (double inclination)
 
errc_t getOrbitState (CartState &cartState) const
 
errc_t getOrbitState (OrbElem &orbElem) const
 
- Public 成员函数 继承自 ast::BaseOrbitDesigner
 BaseOrbitDesigner (CelestialBody *body)
 
CelestialBodygetCelestialBody () const
 
double getGM () const
 
double getJ2 () const
 
double getBodyRadius () const
 
errc_t getOrbitEpoch (TimePoint &orbitEpoch) const final
 
errc_t getOrbitState (CartState &cartState) const
 
errc_t getOrbitState (OrbElem &orbElem) const
 
errc_t getCoordFrame (bool &useCoordEpoch, TimePoint &coordEpoch, SharedPtr< Frame > &coordFrame) const override
 
- Public 成员函数 继承自 ast::IOrbitDesigner

Protected 属性

double subsatellitePoint_ {0}
 
double inclination_ {0}
 
- Protected 属性 继承自 ast::BaseOrbitDesigner
SharedPtr< CelestialBodycelestialBody_
 
TimePoint orbitEpoch_ {}
 

额外继承的成员函数

- 静态 Public 成员函数 继承自 ast::BaseOrbitDesigner
static CelestialBodygetDefaultCelestialBody ()
 

详细描述

静止轨道设计器

成员函数说明

◆ getOrbitState() [1/3]

errc_t ast::BaseOrbitDesigner::getOrbitState ( CartState & cartState) const

获取轨道状态

参数
cartState笛卡尔状态

◆ getOrbitState() [2/3]

errc_t ast::StationaryOrbitDesigner::getOrbitState ( ModOrbElem & orbElem) const
overridevirtual

获取轨道状态

参数
orbitEpoch轨道历元(可选)
orbElem轨道根数
待办事项
目前只能计算地球轨道,这里需要增加对其他天体的支持
注解
如果地球同步轨道倾角不为0,根据轨道根数长期摄动项,其升交点赤经一定存在漂移率 在这种情况下,即使是在理想的J2长期摄动模型下,也无法始终保持在某点上空静止

下面只考虑倾角为0和偏心率为0的情况, 根据轨道根数长期摄动项,此时J2项的raan和meanA的漂移率相互抵消 所以下面公式中仅通过argper的漂移率来计算周期

待办事项
这里应该可以采用解析公式直接计算得到半长轴

重载 ast::BaseOrbitDesigner .

◆ getOrbitState() [3/3]

errc_t ast::BaseOrbitDesigner::getOrbitState ( OrbElem & orbElem) const

获取轨道状态

参数
orbElem轨道根数

该类的文档由以下文件生成: