|
|
@ -34,7 +34,7 @@ class CarController(): |
|
|
|
|
|
|
|
|
|
|
|
def update(self, CC, CS): |
|
|
|
def update(self, CC, CS): |
|
|
|
if len(CC.orientationNED) == 0 or len(CC.angularVelocity) == 0: |
|
|
|
if len(CC.orientationNED) == 0 or len(CC.angularVelocity) == 0: |
|
|
|
return [], CC.actuators.copy() |
|
|
|
return CC.actuators.copy(), [] |
|
|
|
|
|
|
|
|
|
|
|
# /////////////////////////////////////// |
|
|
|
# /////////////////////////////////////// |
|
|
|
# Steer and accel mixin. Speed should be used as a target? (speed should be in m/s! now it is in RPM) |
|
|
|
# Steer and accel mixin. Speed should be used as a target? (speed should be in m/s! now it is in RPM) |
|
|
|