Skip to content

Commit

Permalink
fixing tests, issue on set SA
Browse files Browse the repository at this point in the history
  • Loading branch information
dehann committed Jul 15, 2023
1 parent ee2cb0e commit 70128b3
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 9 deletions.
2 changes: 2 additions & 0 deletions ext/CaesarImagesExt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ import IncrementalInference: getSample, preambleCache, _update!, getManifold
import Caesar: applyMaskImage, makeMaskImage, makeMaskImages, imhcatPretty, toImage
import Caesar: writevideo, csmAnimationJoinImgs, csmAnimateSideBySide, makeVideoFromData
import Caesar: overlayScanMatcher
import Caesar: overlayScatter, overlayScatterMutate

import Caesar: ScanMatcherPose2, PackedScanMatcherPose2
import Caesar: _PARCHABLE_PACKED_CLOUD
import Caesar: ScatterAlign, ScatterAlignPose2, ScatterAlignPose3
Expand Down
17 changes: 9 additions & 8 deletions ext/Images/ScanMatcherPose2.jl
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,8 @@ Base.show(io::IO, ::MIME"text/plain", arp::ScanMatcherPose2) = show(io, arp)
Base.show(io::IO, ::MIME"application/juno.inline", arp::ScanMatcherPose2) = show(io, arp)


"""
$SIGNATURES
Overlay the two images from `AlignRadarPose2` with the first (red) fixed and transform the second image (blue) according to `tf`.

Notes:
- `tf` is a Manifolds.jl type `::ProductRepr` (or newer `::ArrayPartition`) to represent a `SpecialEuclidean(2)` manifold point.
"""
function overlayScanMatcher(sm::ScanMatcherPose2,
function overlayScanMatcherOLD(sm::ScanMatcherPose2,
trans::Vector{Float64}=Float64[0;0],
rot::Real=0.0;
score=Ref(0.0),
Expand All @@ -72,6 +65,14 @@ end

#

"""
$SIGNATURES
Overlay the two images from `AlignRadarPose2` with the first (red) fixed and transform the second image (blue) according to `tf`.
Notes:
- `tf` is a Manifolds.jl type `::ProductRepr` (or newer `::ArrayPartition`) to represent a `SpecialEuclidean(2)` manifold point.
"""
function overlayScanMatcher(sm::ScanMatcherPose2,
tf::ArrayPartition = Manifolds.identity_element(SpecialEuclidean(2));
kw... )
Expand Down
3 changes: 2 additions & 1 deletion ext/WeakdepsPrototypes.jl
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ export ScatterAlignPose2, PackedScatterAlignPose2
export ScatterAlignPose3, PackedScatterAlignPose3

export overlayScanMatcher
export overlayScanMatcherOLD
export overlayScatter, overlayScatterMutate



function applyMaskImage end
function makeMaskImage end
function makeMaskImages end
Expand All @@ -40,6 +40,7 @@ function csmAnimateSideBySide end
function makeVideoFromData end

function overlayScanMatcher end
function overlayScanMatcherOLD end

function overlayScatter end
function overlayScatterMutate end
Expand Down

0 comments on commit 70128b3

Please sign in to comment.