|
🛰️航天仿真算法库 SpaceAST 0.3.1
|
#include <KinematicRotation.hpp>
Public 成员函数 | |
| KinematicRotation ()=default | |
| KinematicRotation (const Rotation &rot, const Vector3d &angvel) | |
| KinematicRotation (const Matrix3d &mat, const Vector3d &angvel) | |
| _AST_DEF_KINEMATICROTATION_PROPERTIES KinematicRotation & | compose (const KinematicRotation &next) |
| KinematicRotation | composed (const KinematicRotation &next) const |
| KinematicRotation | operator* (const KinematicRotation &next) const |
| KinematicRotation & | operator*= (const KinematicRotation &next) |
| void | getInverse (KinematicRotation &inversed) const |
| KinematicRotation | inverse () const |
| void | transformVectorVelocity (const Vector3d &vector, const Vector3d &velocity, Vector3d &vectorOut, Vector3d &velocityOut) const |
| CartState | transformCartState (const CartState &state) const |
| void | transformVectorVelocityInv (const Vector3d &vector, const Vector3d &velocity, Vector3d &vectorOut, Vector3d &velocityOut) const |
静态 Public 成员函数 | |
| static KinematicRotation | Identity () |
Protected 属性 | |
| Rotation | rotation_ {} |
| Vector3d | angvel_ {} |
运动学坐标系旋转
在静态坐标系旋转的基础上,增加了坐标系旋转的角速度信息
| A_ALWAYS_INLINE ast::KinematicRotation::KinematicRotation | ( | const Rotation & | rot, |
| const Vector3d & | angvel ) |
运动学坐标系旋转构造函数
| rot | 旋转 |
| angvel | 旋转角速度 |
| A_ALWAYS_INLINE ast::KinematicRotation::KinematicRotation | ( | const Matrix3d & | mat, |
| const Vector3d & | angvel ) |
运动学坐标系旋转构造函数
| mat | 旋转矩阵 |
| angvel | 旋转角速度 |
| A_ALWAYS_INLINE KinematicRotation & ast::KinematicRotation::compose | ( | const KinematicRotation & | next | ) |
组合下一个坐标系旋转
| next | 下一个坐标系旋转 |
| A_ALWAYS_INLINE KinematicRotation ast::KinematicRotation::composed | ( | const KinematicRotation & | next | ) | const |
组合下一个旋转
| next | 下一个坐标系旋转 |
| A_ALWAYS_INLINE void ast::KinematicRotation::getInverse | ( | KinematicRotation & | inversed | ) | const |
获取逆旋转
| inversed | 逆旋转 |
| A_ALWAYS_INLINE KinematicRotation ast::KinematicRotation::inverse | ( | ) | const |
获取逆旋转
| A_ALWAYS_INLINE KinematicRotation ast::KinematicRotation::operator* | ( | const KinematicRotation & | next | ) | const |
组合下一个旋转
| next | 下一个坐标系旋转 |
| A_ALWAYS_INLINE KinematicRotation & ast::KinematicRotation::operator*= | ( | const KinematicRotation & | next | ) |
组合下一个坐标系旋转
| next | 下一个坐标系旋转 |
| A_ALWAYS_INLINE CartState ast::KinematicRotation::transformCartState | ( | const CartState & | state | ) | const |
变换状态向量和速度
| state | 状态向量 |
| A_ALWAYS_INLINE void ast::KinematicRotation::transformVectorVelocity | ( | const Vector3d & | vector, |
| const Vector3d & | velocity, | ||
| Vector3d & | vectorOut, | ||
| Vector3d & | velocityOut ) const |
变换向量和速度
| vector | 向量 |
| velocity | 速度 |
| vectorOut | 变换后的向量 |
| velocityOut | 变换后的速度 |
| A_ALWAYS_INLINE void ast::KinematicRotation::transformVectorVelocityInv | ( | const Vector3d & | vector, |
| const Vector3d & | velocity, | ||
| Vector3d & | vectorOut, | ||
| Vector3d & | velocityOut ) const |
变换位置和速度(逆变换)
inverse().transformVectorVelocity(...); | vector | 向量 |
| velocity | 速度 |
| vectorOut | 变换后的向量 |
| velocityOut | 变换后的速度 |