vehicle model types (#1631)

old-commit-hash: 240041708450d916bb49ee229ee4cff0e5f5ab59
This commit is contained in:
Willem Melching
2020-06-03 13:47:47 -07:00
committed by GitHub
parent d035394ce7
commit dbdbef72d6
3 changed files with 132 additions and 128 deletions
+2 -1
View File
@@ -4,6 +4,7 @@
import numpy as np
import math
from tqdm import tqdm
from typing import cast
import seaborn as sns
import matplotlib.pyplot as plt
@@ -34,7 +35,7 @@ speeds = 10 * np.sin(2 * np.pi * ts / 200.) + 25
angle_offsets = math.radians(1.0) * np.ones_like(ts)
angle_offsets[ts > 60] = 0
steering_angles = np.radians(5 * np.cos(2 * np.pi * ts / 100.))
steering_angles = cast(np.ndarray, np.radians(5 * np.cos(2 * np.pi * ts / 100.)))
xs = []
ys = []