#include <myahrs_plus.hpp>
Public Member Functions | |
Quaternion | conj () |
void | normalize () |
Quaternion (double _x=0, double _y=0, double _z=0, double _w=1) | |
Quaternion (std::string str_xyzw, char delimiter=' ') | |
void | reset () |
void | set (double _x, double _y, double _z, double _w) |
void | set (std::string str_xyzw, char delimiter=' ') |
void | set (std::vector< std::string > &str_array) |
DirectionCosineMatrix | to_dcm () |
EulerAngle | to_euler_angle () |
std::string | to_string () |
Static Public Member Functions | |
static Quaternion | product (Quaternion &q, Quaternion &r) |
Public Attributes | |
double | w |
double | x |
double | y |
double | z |
Definition at line 1338 of file myahrs_plus.hpp.
WithRobot::Quaternion::Quaternion | ( | double | _x = 0 , |
double | _y = 0 , |
||
double | _z = 0 , |
||
double | _w = 1 |
||
) | [inline] |
Definition at line 1342 of file myahrs_plus.hpp.
WithRobot::Quaternion::Quaternion | ( | std::string | str_xyzw, |
char | delimiter = ' ' |
||
) | [inline] |
Definition at line 1343 of file myahrs_plus.hpp.
Quaternion WithRobot::Quaternion::conj | ( | ) | [inline] |
Definition at line 1389 of file myahrs_plus.hpp.
void WithRobot::Quaternion::normalize | ( | ) | [inline] |
Definition at line 1381 of file myahrs_plus.hpp.
static Quaternion WithRobot::Quaternion::product | ( | Quaternion & | q, |
Quaternion & | r | ||
) | [inline, static] |
Definition at line 1400 of file myahrs_plus.hpp.
void WithRobot::Quaternion::reset | ( | ) | [inline] |
Definition at line 1347 of file myahrs_plus.hpp.
void WithRobot::Quaternion::set | ( | double | _x, |
double | _y, | ||
double | _z, | ||
double | _w | ||
) | [inline] |
Definition at line 1351 of file myahrs_plus.hpp.
void WithRobot::Quaternion::set | ( | std::string | str_xyzw, |
char | delimiter = ' ' |
||
) | [inline] |
Definition at line 1355 of file myahrs_plus.hpp.
void WithRobot::Quaternion::set | ( | std::vector< std::string > & | str_array | ) | [inline] |
Definition at line 1365 of file myahrs_plus.hpp.
DirectionCosineMatrix WithRobot::Quaternion::to_dcm | ( | ) | [inline] |
Definition at line 1431 of file myahrs_plus.hpp.
EulerAngle WithRobot::Quaternion::to_euler_angle | ( | ) | [inline] |
Definition at line 1411 of file myahrs_plus.hpp.
std::string WithRobot::Quaternion::to_string | ( | ) | [inline] |
Definition at line 1375 of file myahrs_plus.hpp.
double WithRobot::Quaternion::w |
Definition at line 1340 of file myahrs_plus.hpp.
double WithRobot::Quaternion::x |
Definition at line 1340 of file myahrs_plus.hpp.
double WithRobot::Quaternion::y |
Definition at line 1340 of file myahrs_plus.hpp.
double WithRobot::Quaternion::z |
Definition at line 1340 of file myahrs_plus.hpp.