(robot.x)
y_trajectory.append(robot.y)
return x_trajectory, y_trajectory
x_trajectory..., y_trajectory = run(robot, 0.3, 3.0)
n = len(x_trajectory)
fig, (ax1, ax2) = plt.subplots(2, 1, figsize...=(8, 8))
ax1.plot(x_trajectory, np.zeros(n), 'r', label='reference')
ax1.plot(x_trajectory, y_trajectory...(robot.x)
y_trajectory.append(robot.y)
return x_trajectory, y_trajectory
x_trajectory,...y_trajectory = run(robot, 0.2, 3.0, 0.004)
n = len(x_trajectory)
plt.plot(x_trajectory, y_trajectory