From ea7296ced1334969b3308dd4a941af36796321b4 Mon Sep 17 00:00:00 2001 From: matssteinweg Date: Sat, 23 Nov 2019 22:55:20 +0100 Subject: [PATCH] Update spatial_bicycle_models.py fix bug in function calling convention --- spatial_bicycle_models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spatial_bicycle_models.py b/spatial_bicycle_models.py index 247de5b..60bd642 100644 --- a/spatial_bicycle_models.py +++ b/spatial_bicycle_models.py @@ -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 """