🛰️航天仿真算法库 SpaceAST 0.0.1
载入中...
搜索中...
未找到
InitialState.hpp
浏览该文件的文档.
1
20
21#pragma once
22
23#include "AstGlobal.h"
24#include "MissionCommand.hpp"
25#include "AstCore/SpacecraftState.hpp"
26#include "Segment.hpp"
27
28AST_NAMESPACE_BEGIN
29
37class AST_CORE_API InitialState: public Segment
38{
39public:
40 AST_OBJECT(InitialState)
41 AST_PROPERT(InitialState)
43 ~InitialState() = default;
44PROPERTIES:
48 SpacecraftState* getInitialState() const{return getOutputState();}
49public:
50 errc_t execute() override;
51};
52
55AST_NAMESPACE_END
初始轨道段,用于建模任务序列(MissionCommand)中的初始状态任务
定义 InitialState.hpp:38
轨道段(虚基类),用于描述任务序列中的轨道段,例如初始状态段、轨道机动段、轨道预报段等
定义 Segment.hpp:44
virtual errc_t execute() override=0
执行任务
SpacecraftState * getOutputState() const
获取输出状态
定义 Segment.hpp:67
航天器状态,包含轨道状态、质量、面积、阻力系数、光压、密度、压力、温度等属性
定义 SpacecraftState.hpp:38