mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-08-21 00:03:45 +08:00
vehicle model types (#1631)
old-commit-hash: 240041708450d916bb49ee229ee4cff0e5f5ab59
This commit is contained in:
@@ -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 = []
|
||||
|
||||
Reference in New Issue
Block a user