Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

move downstream functions from TU #449

Merged
merged 2 commits into from
Jul 2, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Requires = "1.0"
Rotations = "0.13, 1"
StaticArrays = "1"
TensorCast = "0.3.3, 0.4"
TransformUtils = "0.2.10"
TransformUtils = "0.2.11"
julia = "1.4"

[extras]
Expand Down
9 changes: 9 additions & 0 deletions src/Deprecated.jl
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,15 @@ end
## Remove as part of Manifolds.jl consolidation, #244
##==============================================================================

export veePose3, veePose

function veePose3(s::SE3)
TransformUtils.veeEuler(s)
end
function veePose(s::SE3)
TransformUtils.veeEuler(s)
end


# getManifolds(fctType::InstanceType{Pose2Pose2}) = getManifolds(getDomain(fctType))
# getManifolds(fctType::InstanceType{Pose2Point2}) = getManifolds(getDomain(fctType))
Expand Down
12 changes: 12 additions & 0 deletions src/OdometryUtils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,18 @@ function extractDeltaOdo(XX, YY, TH)
end


# DX = [transx, transy, theta]
function addPose2Pose2!(retval::Array{<:Real,1}, x::Array{<:Real,1}, dx::Array{<:Real,1})
X = SE2(x)
DX = SE2(dx)
se2vee!(retval, X*DX)
nothing
end
function addPose2Pose2(x::Array{<:Real,1}, dx::Array{<:Real,1})
retval = zeros(3)
addPose2Pose2!(retval, x, dx)
return retval
end


## Previous methods
Expand Down
2 changes: 0 additions & 2 deletions src/RoME.jl
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,6 @@ export
addAutoLandmBR!,
projNewLandm!,
malahanobisBR,
veePose3,
veePose,
\,
RangeAzimuthElevation,

Expand Down