Skip to content

Commit 8159c84

Browse files
fixed VehicleBase syntax error: ._accelMax -> _accel_max (typo) (#422)
1 parent b134a07 commit 8159c84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roboticstoolbox/mobile/Vehicle.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ def limits_va(self, v, v_prev):
400400
vp = v_prev[0]
401401
if self._accel_max is not None:
402402
if (v - vp) / self._dt > self._accel_max:
403-
v = vp + self._accelmax * self._dt
403+
v = vp + self._accel_max * self._dt
404404
elif (v - vp) / self._dt < -self._accel_max:
405405
v = vp - self._accel_max * self._dt
406406
v_prev[0] = v

0 commit comments

Comments
 (0)