From 656983c32576a288e8f30c2f74467c3e2e863886 Mon Sep 17 00:00:00 2001 From: dehann Date: Mon, 22 Jan 2024 11:15:24 -0800 Subject: [PATCH 1/4] fix and add missing docs --- src/canonical/GenerateHoneycomb.jl | 7 +++++++ src/factors/Pose2D.jl | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/canonical/GenerateHoneycomb.jl b/src/canonical/GenerateHoneycomb.jl index fdc0a821..2480bfde 100644 --- a/src/canonical/GenerateHoneycomb.jl +++ b/src/canonical/GenerateHoneycomb.jl @@ -170,6 +170,13 @@ function _offsetHexLeg( fgl::AbstractDFG, end +""" + $SIGNATURES + +Generate a graph with predetermined honeycomb structure. + +See also: [`generateGraph_Beehive!`](@ref), [`generateGraph_Hexagonal`](@ref) +""" function generateGraph_Honeycomb!(poseCountTarget::Int=36; graphinit::Bool = false, dfg::AbstractDFG = LocalDFG{SolverParams}(solverParams=SolverParams(graphinit=graphinit)), diff --git a/src/factors/Pose2D.jl b/src/factors/Pose2D.jl index ae254d7f..801026da 100644 --- a/src/factors/Pose2D.jl +++ b/src/factors/Pose2D.jl @@ -25,7 +25,7 @@ DevNotes Related -[`Pose3Pose3`](@ref), [`Point2Point2`](@ref), [`MutablePose2Pose2Gaussian`](@ref), [`DynPose2`](@ref), [`InertialPose3`](ref) +[`Pose3Pose3`](@ref), [`Point2Point2`](@ref), [`MutablePose2Pose2Gaussian`](@ref), [`DynPose2`](@ref), [`IMUDeltaFactor`](ref) """ Base.@kwdef struct Pose2Pose2{T <: IIF.SamplableBelief} <: IIF.AbstractManifoldMinimize Z::T = MvNormal(Diagonal([1.0; 1.0; 1.0])) From ecaa8abbd6257fffd35753eb8183ddc793252b14 Mon Sep 17 00:00:00 2001 From: dehann Date: Tue, 23 Jan 2024 04:30:18 -0800 Subject: [PATCH 2/4] minor typo fix --- NEWS.md | 2 +- src/factors/Pose2D.jl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/NEWS.md b/NEWS.md index 2e1a0ab1..44e15d0a 100644 --- a/NEWS.md +++ b/NEWS.md @@ -4,7 +4,7 @@ RoME.jl follows semver, with only a few case specific exceptions. Please see re ## v0.24 -- Manifolds based inertial odometry (preintegration). Replaces previous 2016-2016 generation `InertialPose3` variables and factors. +- Manifolds based inertial odometry (preintegration). Replaces previous 2015-2016 generation `InertialPose3` variables and factors. - Testing enhancements and fixes to restore tests for RoMEPlotting and Caesar Docs. - Minor code updates for standardized usage of new PyCaesar.jl. diff --git a/src/factors/Pose2D.jl b/src/factors/Pose2D.jl index 801026da..ccbc2bd6 100644 --- a/src/factors/Pose2D.jl +++ b/src/factors/Pose2D.jl @@ -25,7 +25,7 @@ DevNotes Related -[`Pose3Pose3`](@ref), [`Point2Point2`](@ref), [`MutablePose2Pose2Gaussian`](@ref), [`DynPose2`](@ref), [`IMUDeltaFactor`](ref) +[`Pose3Pose3`](@ref), [`Point2Point2`](@ref), [`MutablePose2Pose2Gaussian`](@ref), [`DynPose2`](@ref), [`IMUDeltaFactor`](@ref) """ Base.@kwdef struct Pose2Pose2{T <: IIF.SamplableBelief} <: IIF.AbstractManifoldMinimize Z::T = MvNormal(Diagonal([1.0; 1.0; 1.0])) From 3ba31561f96fe5a9944ac31d36cc5d6b81b6f4fb Mon Sep 17 00:00:00 2001 From: dehann Date: Tue, 23 Jan 2024 05:32:58 -0800 Subject: [PATCH 3/4] add docstring for IMUDeltaFactor --- src/factors/Inertial/IMUDeltaFactor.jl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/factors/Inertial/IMUDeltaFactor.jl b/src/factors/Inertial/IMUDeltaFactor.jl index ab48daae..ee0c20b6 100644 --- a/src/factors/Inertial/IMUDeltaFactor.jl +++ b/src/factors/Inertial/IMUDeltaFactor.jl @@ -309,6 +309,11 @@ struct IMUMeasurements Σy::SMatrix{6,6,Float64} end +""" +$TYPEDEF + +Factor type for inertial odometry (preintegration). +""" Base.@kwdef struct IMUDeltaFactor{T <: SamplableBelief} <: AbstractManifoldMinimize Z::T # NOTE dim is 9 as Δt is not included in covariance Δt::Float64 From 57b2b482f32817a1cf6414787076ace97ed25b63 Mon Sep 17 00:00:00 2001 From: Dehann Fourie <6412556+dehann@users.noreply.github.com> Date: Tue, 23 Jan 2024 17:38:10 -0800 Subject: [PATCH 4/4] bump v0.24.2 --- Project.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index e4f666f7..e8576522 100644 --- a/Project.toml +++ b/Project.toml @@ -2,7 +2,7 @@ name = "RoME" uuid = "91fb55c2-4c03-5a59-ba21-f4ea956187b8" keywords = ["SLAM", "state-estimation", "MM-iSAM", "MM-iSAMv2", "inference", "robotics"] desc = "Non-Gaussian simultaneous localization and mapping" -version = "0.24.1" +version = "0.24.2" [deps] ApproxManifoldProducts = "9bbbb610-88a1-53cd-9763-118ce10c1f89"