Update spatial_bicycle_models.py

fix bug in function calling convention
master
matssteinweg 2019-11-23 22:55:20 +01:00
parent 53d30d46b4
commit ea7296ced1
1 changed files with 2 additions and 2 deletions

View File

@ -295,11 +295,11 @@ class SimpleBicycleModel(SpatialBicycleModel):
return s_dot, psi_dot, v_dot
def get_spatial_derivatives(self, delta, D):
def get_spatial_derivatives(self, D, delta):
"""
Compute spatial derivatives of all state variables for update.
:param delta: steering angle | [rad]
:param D: duty-cycle of DC motor | [-1, 1]
:param delta: steering angle | [rad]
:return: numpy array with spatial derivatives for all state variables
"""