Closed yixjia closed 2 years ago
This may happen because version of FiniteDiff updates from 2.12 to 2.13 (now is 2.14). For this time, to normally use TrajectoryOptimization.jl
, you can try ]add FiniteDiff@2.12
and then ]pin FiniteDiff
. For future use, it needs maintainers to fix the issue.
This may happen because version of FiniteDiff updates from 2.12 to 2.13 (now is 2.14). For this time, to normally use
TrajectoryOptimization.jl
, you can try]add FiniteDiff@2.12
and then]pin FiniteDiff
. For future use, it needs maintainers to fix the issue.
Thanks!! This indeed solves my problem.
Hello, I'm trying to discretize the continuous model of the quadrotor and I got this error:
Here's the code that can reproduce this error:
I also tried to follow the tutorial and add
@autodiff
beforestruct One_QuadRotor
, but then this same error occurs when callingOne_QuadRotor() = One_QuadRotor(mass,J,Jinv,gravity,motor_dist,kf,km)