Skip to content

Commit 5a01295

Browse files
authored
Merge pull request #903 from JuliaRobotics/22Q3/enh/mmatrixicp
slightly faster mmatrix type
2 parents d72589e + 0439a0e commit 5a01295

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/3rdParty/_PCL/services/ConsolidateRigidTransform.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ const _SE3_MANI = SpecialEuclidean(3)
5454
function euler_angles_to_linearized_rotation_matrix(α1, α2, α3, rigid::Bool=true)
5555
dR = if rigid
5656
# TODO likely faster performance by using a retraction instead of expmap
57-
exp_lie(_SO3_MANI, hat(_SO3_MANI, Identity(_SO3_MANI), SA[α1, α2, α3]))
57+
exp_lie(_SO3_MANI, hat(_SO3_MANI, SMatrix{3,3, Float64}(I), SA[α1, α2, α3]))
5858
else
5959
SMatrix{3,3,Float64}(1.0,0,0,0,1,0,0,0,1) +
6060
hat(_SO3_MANI, Identity(_SO3_MANI), SA[α1, α2, α3])

0 commit comments

Comments
 (0)