You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/src/examples/custom_factor_features.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,8 +20,8 @@ The MM-iSAMv2 algorithm relies on the Kolmogorov-Criteria as well as uncorrelate
20
20
21
21
At present `cfo` contains three main fields:
22
22
-`cfo.factor::MyFactor` the factor object as defined in the `struct` definition,
23
-
-`cfo.metadata::FactorMetadata`, which is currently under development and likely to change.
24
-
-This contains references to the connected variables to the factor and more, and is useful for large data retrieval such as used in Terrain Relative Navigation (TRN).
23
+
-`cfo.fullvariables`, which can be used for large data blob retrieval such as used in Terrain Relative Navigation (TRN).
24
+
-Also see [Stashing and Caching](@ref section_stash_and_cache)
25
25
-`cfo._sampleIdx` is the index of which computational sample is currently being calculated.
) where {T <:Union{<:PackedScatterAlignPose2,<:PackedScatterAlignPose3}}
441
+
#
415
442
cld1 = arp.align.cloud1
416
443
cld2 = arp.align.cloud2
417
444
418
445
# reconstitute full type during the preambleCache step
419
446
if arp.align.useStashing
420
-
@assertlength(arp.align.dataEntry_cloud1) !==0"packing of ScatterAlignPose2 asked to be `useStashing=true`` yet no `.dataEntry_cloud1` exists for later loading"
447
+
@assertlength(arp.align.dataEntry_cloud1) !==0"packing of ScatterAlignPose asked to be `useStashing=true`` yet no `.dataEntry_cloud1` exists for later loading"
421
448
cld1 = IIF.parchDistribution(arp.align.cloud1)
422
-
@assertlength(arp.align.dataEntry_cloud2) !==0"packing of ScatterAlignPose2 asked to be `useStashing=true`` yet no `.dataEntry_cloud2` exists for later loading"
449
+
@assertlength(arp.align.dataEntry_cloud2) !==0"packing of ScatterAlignPose asked to be `useStashing=true`` yet no `.dataEntry_cloud2` exists for later loading"
423
450
cld2 = IIF.parchDistribution(arp.align.cloud2)
424
451
end
425
452
426
453
cloud1 =packDistribution(cld1)
427
454
cloud2 =packDistribution(cld2)
428
455
429
-
PackedScatterAlignPose2(;
456
+
T(;
430
457
cloud1,
431
458
cloud2,
432
459
gridscale = arp.align.gridscale,
@@ -435,22 +462,29 @@ function convert(::Type{<:PackedScatterAlignPose2}, arp::ScatterAlignPose2)
0 commit comments