ARCS SDK API  0.24.0
| 命名空间 | 宏定义 | 类型定义
math.h 文件参考

数学方法接口,如欧拉角与四元数转换、位姿的加减运算 更多...

#include <vector>
#include <memory>
#include <aubo/type_def.h>
#include <aubo/global_config.h>
math.h 的引用(Include)关系图:
此图展示该文件直接或间接的被哪些文件引用了:

浏览源代码.

class  arcs::common_interface::Math
 

命名空间

 arcs
 
 arcs::common_interface
 

宏定义

#define Math_DECLARES
 

类型定义

using arcs::common_interface::MathPtr = std::shared_ptr< Math >
 

详细描述

数学方法接口,如欧拉角与四元数转换、位姿的加减运算

在文件 math.h 中定义.

宏定义说明

#define Math_DECLARES
值:
_FUNC(Math, 2, poseAdd, p1, p2) \
_FUNC(Math, 2, poseSub, p1, p2) \
_FUNC(Math, 3, interpolatePose, p1, p2, alpha) \
_FUNC(Math, 2, poseTrans, pose_from, pose_from_to) \
_FUNC(Math, 2, poseTransInv, pose_from, pose_to_from) \
_FUNC(Math, 1, poseInverse, pose) \
_FUNC(Math, 2, poseDistance, p1, p2) \
_FUNC(Math, 2, poseAngleDistance, p1, p2) \
_FUNC(Math, 3, poseEqual, p1, p2, eps) \
_FUNC(Math, 3, transferRefFrame, F_b_a_old, V_in_a, type) \
_FUNC(Math, 2, poseRotation, pose, rotv) \
_FUNC(Math, 1, rpyToQuaternion, rpy) \
_FUNC(Math, 1, quaternionToRpy, quant) \
_FUNC(Math, 1, tcpOffsetIdentify, poses) \
_FUNC(Math, 2, calibrateCoordinate, poses, type) \
_FUNC(Math, 4, calculateCircleFourthPoint, p1, p2, p3, mode) \
_FUNC(Math, 2, forceTrans, pose_a_in_b, force_in_a) \
_FUNC(Math, 4, getDeltaPoseBySensorDistance, distances, position, radius, track_scale) \
_FUNC(Math, 2, deltaPoseTrans, pose_a_in_b, ft_in_a) \
_FUNC(Math, 2, deltaPoseAdd, pose_a_in_b, v_in_b)

在文件 math.h391 行定义.