Skip to content

Commit 59430d6

Browse files
committed
Updated driving for FWS observer example
1 parent 41b6c32 commit 59430d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fws_beacons_observer.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,8 @@ def fws_observer(q, u, r, f_map):
179179
# Use the range measurements to estimate the robot's state
180180
x_hat[:, k] = fws_observer(x_hat[:, k - 1], u[:, k - 1], r, f_map)
181181
# Choose some new inputs
182-
u[0, k] = 5.0
183-
u[1, k] = -0.25 * np.sin(1.0 * t[k])
182+
u[0, k] = 2.0
183+
u[1, k] = -0.1 * np.sin(1 * t[k])
184184
# Simulate the robot's motion
185185
x[:, k] = rk_four(vehicle.f, x[:, k - 1], u[:, k - 1], T)
186186

0 commit comments

Comments
 (0)