🛰️航天仿真算法库 SpaceAST 0.3.1
载入中...
搜索中...
未找到
AttitudeCbiVelSun.hpp
浏览该文件的文档.
1
20
21#pragma once
22
23#include "AstGlobal.h"
24#include "AstCore/AttitudeTrajectoryRelated.hpp"
25#include "AstCore/AttitudeSunRelated.hpp"
26#include "AstCore/CelestialBody.hpp"
27
28AST_NAMESPACE_BEGIN
29
39class AST_CORE_API AttitudeCbiVelSun : public AttitudeSunRelated
40{
41public:
42 AST_OBJECT(AttitudeCbiVelSun)
43
44 AttitudeCbiVelSun() = default;
45 AttitudeCbiVelSun(Point* point, Body* body);
46 ~AttitudeCbiVelSun() override = default;
47public:
48 errc_t getTransform(const TimePoint& tp, Rotation& rotation) const override;
49 errc_t getTransform(const TimePoint& tp, KinematicRotation& rotation) const override;
50private:
51 // 屏蔽父类的 setFrame 方法
52 void setFrame(Frame* frame) = delete;
53public:
54 void setBody(Body* body);
55};
56
59AST_NAMESPACE_END
CBI 速度对齐 + 太阳方向约束姿态
定义 AttitudeCbiVelSun.hpp:40
太阳相关姿态
定义 AttitudeSunRelated.hpp:36
virtual errc_t getTransform(const TimePoint &tp, Rotation &rotation) const =0
获取当前轴系相对于父轴系的旋转变换
天体
定义 CelestialBody.hpp:72
坐标系抽象基类
定义 Frame.hpp:74
运动学坐标系旋转
定义 KinematicRotation.hpp:50
点抽象基类
定义 Point.hpp:42
坐标系旋转类
定义 Rotation.hpp:55
绝对时间点
定义 TimePoint.hpp:108