Converter of Vector3 representations. Instantiate it with any type of vector3 in constructor and convert it by assigning it to any other type of vector3 variable.
More...
#include <attitude_converter.h>
Converter of Vector3 representations. Instantiate it with any type of vector3 in constructor and convert it by assigning it to any other type of vector3 variable.
◆ Vector3Converter() [1/4]
mrs_lib::Vector3Converter::Vector3Converter |
( |
const tf2::Vector3 & |
vector3 | ) |
|
|
inline |
Constructor with tf2::Vector3.
- Parameters
-
◆ Vector3Converter() [2/4]
mrs_lib::Vector3Converter::Vector3Converter |
( |
const Eigen::Vector3d & |
vector3 | ) |
|
Constructor with Eigen::Vector3.
- Parameters
-
◆ Vector3Converter() [3/4]
mrs_lib::Vector3Converter::Vector3Converter |
( |
const geometry_msgs::Vector3 & |
vector3 | ) |
|
Constructor with geometry_msgs::Vector3.
- Parameters
-
◆ Vector3Converter() [4/4]
mrs_lib::Vector3Converter::Vector3Converter |
( |
const double & |
x, |
|
|
const double & |
y, |
|
|
const double & |
z |
|
) |
| |
Constructor with doubles: x, y, z.
- Parameters
-
◆ operator Eigen::Vector3d()
mrs_lib::Vector3Converter::operator Eigen::Vector3d |
( |
| ) |
const |
typecast overloaded for Eigen::Vector3
- Returns
- vector3
◆ operator geometry_msgs::Vector3()
mrs_lib::Vector3Converter::operator geometry_msgs::Vector3 |
( |
| ) |
const |
typecast overloaded for geometry_msgs::Vector3
- Returns
- vector3
◆ operator tf2::Vector3()
mrs_lib::Vector3Converter::operator tf2::Vector3 |
( |
| ) |
const |
typecast overloaded for tf2::Vector3
- Returns
- vector3
The documentation for this class was generated from the following files: