|
🛰️航天仿真算法库 SpaceAST 0.0.1
|
#include <KinematicTransform.hpp>
类 ast::KinematicTransform 继承关系图:Public 成员函数 | |
| A_ALWAYS_INLINE | KinematicTransform (const CartState &translate, const KinematicRotation &rot) |
| A_ALWAYS_INLINE | KinematicTransform (const Vector3d &translation, const Vector3d &velocity, const KinematicRotation &rot) |
| const Transform & | getTransform () const |
| const Vector3d & | getRotationRate () const |
| Vector3d & | getRotationRate () |
| void | setTransform (const Transform &transform) |
| const KinematicRotation & | getKinematicRotation () const |
| KinematicRotation & | getKinematicRotation () |
| void | setKinematicRotation (const KinematicRotation &rot) |
| const Vector3d & | getVelocity () const |
| Vector3d & | getVelocity () |
| void | setVelocity (const Vector3d &vel) |
| KinematicTransform & | compose (const KinematicTransform &next) |
| KinematicTransform | composed (const KinematicTransform &next) const |
| KinematicTransform | operator* (const KinematicTransform &next) const |
| KinematicTransform & | operator*= (const KinematicTransform &next) |
| KinematicTransform | inverse () const |
| void | getInverse (KinematicTransform &inversed) const |
| void | setIdentity () |
| void | transformPositionVelocity (const Vector3d &position, const Vector3d &velocity, Vector3d &positionOut, Vector3d &velocityOut) |
| CartState | transformPositionVelocity (const CartState &state) |
| const Vector3d & | getTranslation () const |
| Vector3d & | getTranslation () |
| void | setTranslation (const Vector3d &translation) |
静态 Public 成员函数 | |
| static KinematicTransform | Identity () |
Protected 属性 | |
| Vector3d | angvel_ |
| Vector3d | velocity_ |
Protected 属性 继承自 ast::Transform | |
| Vector3d | translation_ |
| Rotation | rotation_ |
额外继承的成员函数 | |
Protected 成员函数 继承自 ast::Transform | |
| Transform ()=default | |
| Transform (const Vector3d &trans, const Rotation &rot) | |
| const Rotation & | getRotation () const |
| Rotation & | getRotation () |
| void | setRotation (const Rotation &rotation) |
| const Vector3d & | getTranslation () const |
| Vector3d & | getTranslation () |
| void | setTranslation (const Vector3d &translation) |
| const Matrix3d & | getMatrix () const |
| Transform & | compose (const Transform &next) |
| Transform | composed (const Transform &next) const |
| Transform | operator* (const Transform &next) const |
| Transform & | operator*= (const Transform &next) |
| void | getInverse (Transform &inversed) const |
| Transform | inverse () const |
| void | setIdentity () |
| void | transformPosition (const Vector3d &position, Vector3d &positionOut) const |
| Vector3d | transformPosition (const Vector3d &position) const |
静态 Protected 成员函数 继承自 ast::Transform | |
| static Transform | Identity () |
运动学变换
在静态变换的基础上,添加了旋转角速度和平移速度。
|
inline |
从旋转和平移状态构造变换
| translate | 平移量 |
| rot | 旋转量 |
| A_ALWAYS_INLINE KinematicTransform & ast::KinematicTransform::compose | ( | const KinematicTransform & | next | ) |
组合下一个变换
| next | 下一个变换 |
| A_ALWAYS_INLINE KinematicTransform ast::KinematicTransform::composed | ( | const KinematicTransform & | next | ) | const |
获取组合变换
| next | 下一个变换 |
| A_ALWAYS_INLINE void ast::KinematicTransform::getInverse | ( | KinematicTransform & | inversed | ) | const |
获取逆变换
| inversed | 逆变换 |
|
inline |
获取旋转
|
inline |
获取旋转角速度
|
inline |
获取变换
|
inline |
获取坐标系平移
|
inline |
获取平移速度
|
static |
获取单位变换
| A_ALWAYS_INLINE KinematicTransform ast::KinematicTransform::inverse | ( | ) | const |
获取逆变换
| A_ALWAYS_INLINE KinematicTransform ast::KinematicTransform::operator* | ( | const KinematicTransform & | next | ) | const |
组合下一个变换
| next | 下一个变换 |
| A_ALWAYS_INLINE KinematicTransform & ast::KinematicTransform::operator*= | ( | const KinematicTransform & | next | ) |
组合下一个变换
| next | 下一个变换 |
|
inline |
设置旋转
| rot | 旋转 |
|
inline |
设置变换
| transform | 变换 |
|
inline |
设置坐标系平移
| translation | 坐标系平移 |
|
inline |
设置平移速度
| vel | 平移速度 |
| A_ALWAYS_INLINE CartState ast::KinematicTransform::transformPositionVelocity | ( | const CartState & | state | ) |
变换位置和速度
| position | 位置 |
| velocity | 速度 |
| A_ALWAYS_INLINE void ast::KinematicTransform::transformPositionVelocity | ( | const Vector3d & | position, |
| const Vector3d & | velocity, | ||
| Vector3d & | positionOut, | ||
| Vector3d & | velocityOut ) |
变换位置和速度
| position | 位置 |
| velocity | 速度 |
| positionOut | 变换后的位置 |
| velocityOut | 变换后的速度 |
先进行坐标系平移,再进行坐标系旋转。