Commit e4ed3d22 authored by Andreas Rauschert's avatar Andreas Rauschert
Browse files

Add convencience ctor to Orientation3


Signed-off-by: Andreas Rauschert's avatarAndreas Rauschert <andreas.rb.rauschert@bmw.de>
parent bb393c4f
......@@ -56,6 +56,13 @@ template <typename T,
units::traits::is_angular_acceleration_unit<T>::value>>
struct Orientation3
{
Orientation3() = default;
Orientation3(T yaw_in, T pitch_in, T roll_in)
: yaw{yaw_in}, pitch{pitch_in}, roll{roll_in}
{
}
T yaw{};
T pitch{};
T roll{};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment