mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-06-29 18:42:07 +08:00
Update car_kf.py
old-commit-hash: a3071bf15b27907fe28e054b64ad45cdab38c25f
This commit is contained in:
@@ -87,6 +87,9 @@ class CarKalman(KalmanFilter):
|
||||
def generate_code(generated_dir):
|
||||
dim_state = CarKalman.initial_x.shape[0]
|
||||
name = CarKalman.name
|
||||
|
||||
# vehicle models comes from The Science of Vehicle Dynamics: Handling, Braking, and Ride of Road and Race Cars
|
||||
# Model used is in 6.15 with formula from 6.198
|
||||
|
||||
# globals
|
||||
global_vars = [sp.Symbol(name) for name in CarKalman.global_vars]
|
||||
|
||||
Reference in New Issue
Block a user