We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f41b06f commit db9e433Copy full SHA for db9e433
2 files changed
src/conversions/crp_to_angle.jl
@@ -32,7 +32,7 @@ EulerAngles{Float64}:
32
R(Z) : 0.0 rad ( 0.0°)
33
```
34
"""
35
-function crp_to_angle(c::CRP, rot_seq::Symbol)
+function crp_to_angle(c::CRP, rot_seq::Symbol = :ZYX)
36
dcm = crp_to_dcm(c)
37
return dcm_to_angle(dcm, rot_seq)
38
end
src/conversions/mrp_to_angle.jl
@@ -11,7 +11,7 @@ export mrp_to_angle
11
12
Convert MRP `m` to Euler Angles with rotation sequence `rot_seq`.
13
14
-function mrp_to_angle(m::MRP, rot_seq::Symbol)
+function mrp_to_angle(m::MRP, rot_seq::Symbol = :ZYX)
15
dcm = mrp_to_dcm(m)
16
17
0 commit comments