mirror of
https://github.com/AtsushiSakai/PythonRobotics.git
synced 2026-01-13 11:07:55 -05:00
fix bug
This commit is contained in:
@@ -105,6 +105,9 @@ def get_linear_model_matrix(v, phi, delta):
|
||||
|
||||
return A, B, C
|
||||
|
||||
|
||||
def plot_car(x, y, yaw, steer=0.0, cabcolor="-r", truckcolor="-k"): # pragma: no cover
|
||||
|
||||
outline = np.array([[-BACKTOWHEEL, (LENGTH - BACKTOWHEEL), (LENGTH - BACKTOWHEEL), -BACKTOWHEEL, -BACKTOWHEEL],
|
||||
[WIDTH / 2, WIDTH / 2, - WIDTH / 2, -WIDTH / 2, WIDTH / 2]])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user