Skip to content
Snippets Groups Projects
Commit 3d5452fc authored by Andreas Rauschert's avatar Andreas Rauschert
Browse files

Merge branch 'feature/add_convenience_ctor_to_orientation' into 'master'

Add convencience ctor to Orientation3

See merge request eclipse/simopenpass/scenario_api!23
parents bb393c4f e4ed3d22
No related branches found
No related tags found
1 merge request!23Add convencience ctor to Orientation3
...@@ -56,6 +56,13 @@ template <typename T, ...@@ -56,6 +56,13 @@ template <typename T,
units::traits::is_angular_acceleration_unit<T>::value>> units::traits::is_angular_acceleration_unit<T>::value>>
struct Orientation3 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 yaw{};
T pitch{}; T pitch{};
T roll{}; T roll{};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment