Skip to content

Commit

Permalink
Fix Issue #333
Browse files Browse the repository at this point in the history
  • Loading branch information
petercorke committed Apr 21, 2023
1 parent b4bc53f commit f27b70d
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions roboticstoolbox/mobile/Vehicle.py
Expand Up @@ -1197,10 +1197,7 @@ def __init__(self, W=1, steer_max=np.inf, **kwargs):
def __str__(self):

s = super().__str__()
s += (
f"\n W={self._W}, steer_max={self._steer_max}, vel_max={self._vel_max},"
f" accel_max={self.accel_max}"
)
s += f"\n W={self._W}, vel_max={self._speed_max}, accel_max={self._accel_max}"
return s

def deriv(self, x, u):
Expand Down Expand Up @@ -1284,7 +1281,6 @@ def __init__(self, W=1, **kwargs):
def __str__(self):

s = super().__str__()
s += f"\n W={self._W}, vel_max={self._vel_max}, accel_max={self.accel_max}"
return s

def deriv(self, x, u):
Expand Down

0 comments on commit f27b70d

Please sign in to comment.