use neogen for docstrings

master
mcarfagno 2023-10-25 14:46:06 +01:00
parent 1f22d8a786
commit 98977302e5
1 changed files with 13 additions and 12 deletions

View File

@ -3,20 +3,21 @@ import numpy as np
class VehicleModel: class VehicleModel:
""" """
Helper class that contains the parameters of the vehicle to be controlled
Attributes: Attributes:
wheelbase: wheelbase: [m]
max_speed: max_speed: [m/s]
max_acc: max_acc: [m/ss]
max_d_acc: max_d_acc: [m/sss]
max_steer: max_steer: [rad]
max_d_steer: max_d_steer: [rad/s]
""" """
def __init__(self): def __init__(self):
self.wheelbase = 0.3 # vehicle wheelbase [m] self.wheelbase = 0.3
self.max_speed = 1.5 # [m/s] self.max_speed = 1.5
self.max_acc = 1.0 # [m/ss] self.max_acc = 1.0
self.max_d_acc = 1.0 # [m/sss] self.max_d_acc = 1.0
self.max_steer = np.radians(30) # [rad] self.max_steer = np.radians(30)
self.max_d_steer = np.radians(30) # [rad/s] self.max_d_steer = np.radians(30)