|
|
@ -113,8 +113,7 @@ class CarInterfaceBase(ABC): |
|
|
|
ret = CarInterfaceBase.get_std_params(candidate) |
|
|
|
ret = CarInterfaceBase.get_std_params(candidate) |
|
|
|
|
|
|
|
|
|
|
|
if hasattr(candidate, "config"): |
|
|
|
if hasattr(candidate, "config"): |
|
|
|
print(candidate.config) |
|
|
|
if candidate.config.specs is not None: |
|
|
|
if type(candidate.config) != str and candidate.config.specs is not None: |
|
|
|
|
|
|
|
ret.mass = candidate.config.specs.mass |
|
|
|
ret.mass = candidate.config.specs.mass |
|
|
|
ret.wheelbase = candidate.config.specs.wheelbase |
|
|
|
ret.wheelbase = candidate.config.specs.wheelbase |
|
|
|
ret.steerRatio = candidate.config.specs.steerRatio |
|
|
|
ret.steerRatio = candidate.config.specs.steerRatio |
|
|
|