We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8dee32 commit 26c6e9aCopy full SHA for 26c6e9a
examples/unicycle_backstepping.jl
@@ -45,7 +45,7 @@ Kψ = 3
45
qd = [0.0, 0.0]
46
k0norm(x) = normalize(k0(x)) # Convert safe velocity into safe speed
47
ψ0(x) = atan(k0norm(x)[2], k0norm(x)[1]) # Convert safe velocity into safe heading
48
-kd(x) = [Kp * norm(x[1:2] - qd), -Kψ * (sin(x[3]) - sin(ψ0(x[1:2])))]
+kd(x) = [Kp * norm(x[1:2] - qd), -Kψ * (sin(x[3] - ψ0(x[1:2])))]
49
50
# Safety filter for unicycle
51
k = ExplicitSafetyFilter(cbf, Σ, kd);
0 commit comments