Namespaces | Functions
quaternion_operation.cpp File Reference

implementation of quaternion operation More...

#include <quaternion_operation/quaternion_operation.h>
Include dependency graph for quaternion_operation.cpp:

Go to the source code of this file.

Namespaces

 quaternion_operation
 namespace of quaternion_operation ROS package
 

Functions

geometry_msgs::Quaternion quaternion_operation::conjugate (geometry_msgs::Quaternion quat1)
 get conjugate Quaternion More...
 
geometry_msgs::Quaternion quaternion_operation::convertEulerAngleToQuaternion (geometry_msgs::Vector3 euler)
 convert Euler angles to Quaternion More...
 
geometry_msgs::Vector3 quaternion_operation::convertQuaternionToEulerAngle (geometry_msgs::Quaternion quat)
 convert Quaternion to the Euler angle More...
 
Eigen::MatrixXd quaternion_operation::convertToEigenMatrix (geometry_msgs::Quaternion quat)
 convert geometry_msgs::Quaternion to Eigen::MatrixXd More...
 
bool quaternion_operation::equals (double a, double b)
 checke 2 double values are equal or not More...
 
bool quaternion_operation::equals (geometry_msgs::Quaternion quat1, geometry_msgs::Quaternion quat2)
 check 2 Quaternion values are equal or not More...
 
geometry_msgs::Quaternion quaternion_operation::getRotation (geometry_msgs::Quaternion from, geometry_msgs::Quaternion to)
 Get the Rotation from 2 Quaternions. More...
 
Eigen::Matrix3d quaternion_operation::getRotationMatrix (geometry_msgs::Quaternion quat)
 Get the Rotation Matrix from geometry_msgs::Quaternion. More...
 
geometry_msgs::Quaternion operator* (geometry_msgs::Quaternion quat1, geometry_msgs::Quaternion quat2)
 
  • Operator overload for geometry_msgs::Quaternion (Multiplication)
More...
 
geometry_msgs::Quaternion operator+ (geometry_msgs::Quaternion quat1, geometry_msgs::Quaternion quat2)
 
  • Operator overload for geometry_msgs::Quaternion (Addition)
More...
 
geometry_msgs::Quaternion quaternion_operation::rotation (geometry_msgs::Quaternion from, geometry_msgs::Quaternion rotation)
 rotate Quaternion More...
 
geometry_msgs::Quaternion quaternion_operation::slerp (geometry_msgs::Quaternion quat1, geometry_msgs::Quaternion quat2, double t)
 Spherical linear interpolation function for geometry_msgs::Quaternion. More...
 

Detailed Description

implementation of quaternion operation

Author
Masaya Kataoka (ms.ka.nosp@m.taok.nosp@m.a@gma.nosp@m.il.c.nosp@m.om)
Version
0.1
Date
2019-05-04

Definition in file quaternion_operation.cpp.

Function Documentation

◆ operator*()

geometry_msgs::Quaternion operator* ( geometry_msgs::Quaternion  quat1,
geometry_msgs::Quaternion  quat2 
)

  • Operator overload for geometry_msgs::Quaternion (Multiplication)

Parameters
quat1
quat2
Returns
geometry_msgs::Quaternion result of Multiplication

Definition at line 24 of file quaternion_operation.cpp.

◆ operator+()

geometry_msgs::Quaternion operator+ ( geometry_msgs::Quaternion  quat1,
geometry_msgs::Quaternion  quat2 
)

  • Operator overload for geometry_msgs::Quaternion (Addition)

Parameters
quat1
quat2
Returns
geometry_msgs::Quaternion result of Addition

Definition at line 14 of file quaternion_operation.cpp.



quaternion_operation
Author(s):
autogenerated on Mon Feb 28 2022 23:20:03