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

model = DubinsCar() ERROR: MethodError: Cannot convert an object of type #43

Open
humarobot opened this issue Jun 30, 2022 · 2 comments

Comments

@humarobot
Copy link

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 ?

@yj-Tang
Copy link

yj-Tang commented Oct 31, 2023

I have the same problem. Have you found the solution?

@whoareyou2333
Copy link

Have you solved it yet? I have also encountered this problem, what is the reason?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants