Skip to content

Commit

Permalink
Merge pull request #470 from JuliaRobotics/tk/point-jac-dep
Browse files Browse the repository at this point in the history
Add depwarn for PointJacobian change.
  • Loading branch information
tkoolen authored Aug 3, 2018
2 parents 163aa89 + 45f6d4a commit 9c96a44
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/spatial/spatialmotion.jl
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ struct PointJacobian{M <: AbstractMatrix}
J::M
end

Base.@deprecate PointJacobian{M}(J::M, frame::CartesianFrame3D) where {M<:AbstractMatrix} PointJacobian(frame, J)
Base.@deprecate PointJacobian(J::AbstractMatrix, frame::CartesianFrame3D) PointJacobian(frame, J)

Base.Array(Jp::PointJacobian) = Matrix(Jp.J)

function point_velocity(Jp::PointJacobian, v::AbstractVector)
Expand Down

0 comments on commit 9c96a44

Please sign in to comment.