Skip to content

Commit abc9708

Browse files
committed
Pose2Pos2 Allow different meas type
1 parent 4d218d0 commit abc9708

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/factors/Pose2D.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ end
5151

5252
# function calcPose2Pose2(
5353
function (cf::CalcFactor{<:Pose2Pose2})(
54-
X::ArrayPartition{T, Tuple{SVector{2, T}, SMatrix{2, 2, T, 4}}},
54+
X::ArrayPartition{XT, Tuple{SVector{2, XT}, SMatrix{2, 2, XT, 4}}},
5555
p::ArrayPartition{T, Tuple{SVector{2, T}, SMatrix{2, 2, T, 4}}},
56-
q::ArrayPartition{T, Tuple{SVector{2, T}, SMatrix{2, 2, T, 4}}}) where T<:Real
56+
q::ArrayPartition{T, Tuple{SVector{2, T}, SMatrix{2, 2, T, 4}}}) where {XT<:Real,T<:Real}
5757

5858
M = getManifold(Pose2)
5959
ϵ0 = ArrayPartition(zeros(SVector{2,T}), SMatrix{2, 2, T}(I))

0 commit comments

Comments
 (0)