mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-08-06 08:46:11 +08:00
flip that
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user