Skip to content

Commit

Permalink
Document that euler angles should be in radians for quaternion constr…
Browse files Browse the repository at this point in the history
…uctor

Signed-off-by: Ashton Larkin <[email protected]>
  • Loading branch information
adlarkin committed Dec 7, 2021
1 parent afd0b22 commit a1aeb21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/ignition/math/Quaternion.hh
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ namespace ignition
}

/// \brief Constructor
/// \param[in] _rpy euler angles
/// \param[in] _rpy euler angles, in radians
public: explicit Quaternion(const Vector3<T> &_rpy)
{
this->Euler(_rpy);
Expand Down

0 comments on commit a1aeb21

Please sign in to comment.