🛰️航天仿真算法库 SpaceAST
0.3.1
载入中...
搜索中...
未找到
AttitudeTrajectoryRelated.hpp
浏览该文件的文档.
1
20
21
#pragma once
22
23
#include "AstGlobal.h"
24
#include "
AttitudeProfile.hpp
"
25
#include "AstCore/Frame.hpp"
26
#include "AstCore/Point.hpp"
27
28
AST_NAMESPACE_BEGIN
29
39
class
AST_CORE_API
AttitudeTrajectoryRelated
:
public
AttitudeProfile
40
{
41
public
:
42
AST_OBJECT(
AttitudeTrajectoryRelated
)
43
44
AttitudeTrajectoryRelated
() =
default
;
45
AttitudeTrajectoryRelated
(
Point
* point,
Frame
* frame);
46
~AttitudeTrajectoryRelated
()
override
=
default
;
47
public
:
48
Axes
*
getParent
()
const override
;
49
public
:
50
void
setPoint(
Point
* point) { point_ = point; }
51
void
setFrame(
Frame
* frame) { frame_ = frame; }
52
Point
* point()
const
{
return
point_.get(); }
53
Frame
* frame()
const
{
return
frame_.get(); }
54
protected
:
55
errc_t getPosVelAccLocal(
const
TimePoint
& tp, Vector3d& pos, Vector3d& vel, Vector3d& acc)
const
;
56
errc_t getPosVelLocal(
const
TimePoint
& tp, Vector3d& pos, Vector3d& vel)
const
;
57
errc_t getPosLocal(
const
TimePoint
& tp, Vector3d& pos)
const
;
58
private
:
59
WeakPtr<Point>
point_{};
60
WeakPtr<Frame>
frame_{};
61
};
62
63
64
67
AST_NAMESPACE_END
AttitudeProfile.hpp
ast::AttitudeTrajectoryRelated
与轨迹相关的姿态
定义
AttitudeTrajectoryRelated.hpp:40
ast::Axes
轴系抽象基类
定义
Axes.hpp:86
ast::Axes::getParent
virtual Axes * getParent() const =0
获取当前轴系的父轴系
ast::Frame
坐标系抽象基类
定义
Frame.hpp:74
ast::Point
点抽象基类
定义
Point.hpp:42
ast::TimePoint
绝对时间点
定义
TimePoint.hpp:108
ast::WeakPtr
弱引用指针
定义
WeakPtr.hpp:35
src
AstCore
Attitude
AttitudeTrajectoryRelated.hpp
制作者
1.12.0