I try to use the branch of Pkg,but actually stuck in this trouble. It is a problem of the Pkg itself?
I definitely guess that global variable causes the mistake .
Any tips? Thank u

I saw that you already reported an issue at TrajectoryOptimisation, that’s good.
A few things you could do:
import Pkg; Pkg.status()
. It seems like your TrajectoryOptimisation package is not up-to-date. At least <= v0.2. Can you install a newer version?I tried v0.3 of the package and it worked on my machine. I think the bug is already fixed in the new versions.
yeap! I found that the version of Rotations causes the bug.An older version can avoid this issue with “Quats”.
Thank u for reply!