ERROR: MethodError: Cannot `convert` an object of type FiniteDiff.JacobianCache{Vector{Float64}, Vector{Float64}, Vector{Float64}, Vector{Float64}, UnitRange{Int64}, Nothing, Val{:forward}(), Float64} to an object of type FiniteDiff.JacobianCache{Vector{Float64}, Vector{Float64}, Vector{Float64}, UnitRange{Int64}, Nothing, Val{:forward}(), Float64} Closest candidates are: convert(::Type{T}, ::T) where T at D:\Programs\Julia-1.7.3\share\julia\base\essentials.jl:218 Stacktrace: [1] DubinsCar() @ Main C:\Users\94052\.julia\packages\RobotDynamics\xW4Xp\src\jacobian_gen.jl:763 [2] top-level scope @ d:\Desktop\using Altro.jl:48
When I was following the Get Started Tutorial and running model = DubinsCar(), I encountered this error. It seems like a type converting error. I have tried different versions of Altro, but still get this error. Sorry I'm not familiar with julia, maybe the cause is my miss operation ?
ERROR: MethodError: Cannot `convert` an object of type FiniteDiff.JacobianCache{Vector{Float64}, Vector{Float64}, Vector{Float64}, Vector{Float64}, UnitRange{Int64}, Nothing, Val{:forward}(), Float64} to an object of type FiniteDiff.JacobianCache{Vector{Float64}, Vector{Float64}, Vector{Float64}, UnitRange{Int64}, Nothing, Val{:forward}(), Float64} Closest candidates are: convert(::Type{T}, ::T) where T at D:\Programs\Julia-1.7.3\share\julia\base\essentials.jl:218 Stacktrace: [1] DubinsCar() @ Main C:\Users\94052\.julia\packages\RobotDynamics\xW4Xp\src\jacobian_gen.jl:763 [2] top-level scope @ d:\Desktop\using Altro.jl:48
When I was following the Get Started Tutorial and running
model = DubinsCar()
, I encountered this error. It seems like a type converting error. I have tried different versions of Altro, but still get this error. Sorry I'm not familiar with julia, maybe the cause is my miss operation ?