noos::object::orientation< value_type > Struct Template Reference
encapsulate euler angles (roll, pitch, yaw) More...
#include <orientation.hpp>
Public Member Functions | |
orientation ()=default | |
Default constructor. | |
orientation (value_type roll, value_type pitch, value_type yaw) | |
Constructor taking roll, pitch and yaw (in radians) | |
orientation (const json::const_iterator &it) | |
Construct using library "json for modern c++". | |
json::object_t | to_json () const |
bool | operator== (const noos::object::orientation< value_type > &rhs) const |
Equality operator. | |
Public Attributes | |
value_type | roll = 0 |
roll angle in radians | |
value_type | pitch = 0 |
pitch angle in radians | |
value_type | yaw = 0 |
yaw angle in radians | |
Detailed Description
template<class value_type>
struct noos::object::orientation< value_type >
encapsulate euler angles (roll, pitch, yaw)
- Version
- 0.7.3
- Date
- 12.07.2017
Inheritance diagram for noos::object::orientation< value_type >:
Collaboration diagram for noos::object::orientation< value_type >:
Member Function Documentation
template<class value_type >
json::object_t noos::object::orientation< value_type >::to_json | ( | ) | const |
- Returns
- a JSON object
The documentation for this struct was generated from the following file:
- noos/objects/orientation.hpp