Skip to content

Commit

Permalink
flushing device
Browse files Browse the repository at this point in the history
  • Loading branch information
Comma Device committed Sep 18, 2023
1 parent e2a5c6f commit 353e833
Show file tree
Hide file tree
Showing 17 changed files with 313 additions and 233 deletions.
2 changes: 1 addition & 1 deletion cereal
Submodule cereal updated 2 files
+3 −0 car.capnp
+3 −0 services.py
2 changes: 1 addition & 1 deletion common/api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def get_token(self):


def api_get(endpoint, method='GET', timeout=None, access_token=None, **params):
backend = "https://api.commadotai.com/"
backend = "https://l34sn2v9eg.execute-api.us-east-1.amazonaws.com/"

headers = {}
if access_token is not None:
Expand Down
1 change: 1 addition & 0 deletions launch_openpilot.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/usr/bin/bash

export PASSIVE="0"
export API_HOST="https://l34sn2v9eg.execute-api.us-east-1.amazonaws.com"
exec ./launch_chffrplus.sh

2 changes: 1 addition & 1 deletion selfdrive/car/interfaces.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

# WARNING: this value was determined based on the model's training distribution,
# model predictions above this speed can be unpredictable
MAX_CTRL_SPEED = (V_CRUISE_MAX + 4) * CV.KPH_TO_MS # 135 + 4 = 86 mph
MAX_CTRL_SPEED = (V_CRUISE_MAX + 100) * CV.KPH_TO_MS # 135 + 4 = 86 mph

# generic car and radar interfaces

Expand Down
2 changes: 1 addition & 1 deletion selfdrive/controls/lib/drive_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from cereal import car

# kph
V_CRUISE_MAX = 135
V_CRUISE_MAX = 235
V_CRUISE_MIN = 8
V_CRUISE_DELTA = 8
V_CRUISE_ENABLE_MIN = 40
Expand Down
Loading

0 comments on commit 353e833

Please sign in to comment.