Compare commits

...

26 Commits

Author SHA1 Message Date
Jason Wen 664059c88e bump opendbc 2025-03-17 18:33:24 -04:00
Jason Wen 7ad7a9f4c0 Merge remote-tracking branch 'commaai/openpilot/master' into ev9-new
# Conflicts:
#	opendbc_repo
2025-03-17 18:30:53 -04:00
Adeeb Shihadeh ffd54e41ee bump manager starting time after 519ea9d 2025-03-17 15:19:34 -07:00
commaci-public 469b494026 [bot] Update Python packages (#34893)
* Update Python packages

* fix ruff

---------

Co-authored-by: Vehicle Researcher <user@comma.ai>
Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
2025-03-17 12:47:49 -07:00
Adeeb Shihadeh fe08e52683 0.9.9 soon 2025-03-17 09:26:52 -07:00
Dean Lee 5cffaf5bb5 url_file.py: remove the unnecessary str() wrapping around the hexdigest() (#34891)
remove the unnecessary str() wrapping around the hexdigest()
2025-03-17 12:23:57 +00:00
Jason Wen 74ba3fe110 add more fingerprints 2025-03-06 23:51:27 -05:00
Jason Wen 09673eaa31 allow 1 to be sent 2025-02-27 16:32:32 -05:00
Jason Wen 2c4013aacb no checksum needed 2025-02-23 20:31:27 -08:00
Jason Wen 719dce34cf bump opendbc 2025-02-23 19:48:50 -08:00
Jason Wen 39b53904ee bump opendbc 2025-02-23 19:41:23 -08:00
Jason Wen a7165c0e4e bump opendbc 2025-02-22 19:42:12 -08:00
Jason Wen 1700540395 lower limits 2025-02-22 17:24:10 -08:00
Jason Wen 2b7b1d101c bump opendbc 2025-02-22 16:54:55 -08:00
Jason Wen f1cfe0025d update array of samples for steering angle 2025-02-22 16:30:45 -08:00
Jason Wen 90631a1a50 use what was working before 2025-02-22 15:53:49 -08:00
Jason Wen 4bf32c01b5 cleanup angle control can sends 2025-02-22 14:35:04 -08:00
Jason Wen 359425ce58 match api 2025-02-22 14:10:57 -08:00
Jason Wen 19a143ef81 init safety for angle steering 2025-02-22 14:06:53 -08:00
Jason Wen eed4322fab bump opendbc 2025-02-22 12:00:13 -08:00
Jason Wen 9bf088b7e6 bump opendbc 2025-02-22 11:42:11 -08:00
Jason Wen d2e93227db Merge remote-tracking branch 'commaai/openpilot/master' into ev9-new
# Conflicts:
#	opendbc_repo
2025-02-22 11:06:23 -08:00
Jason Wen ab45ba682b Merge remote-tracking branch 'commaai/openpilot/master' into ev9-new
# Conflicts:
#	opendbc_repo
2025-02-21 19:57:56 -08:00
Jason Wen af207483ba fix 2025-01-27 20:52:31 -05:00
Jason Wen 2569ff9802 Update CARS.md 2025-01-27 20:48:08 -05:00
Jason Wen 122a5185b0 HKG: Car Port for Kia EV9 2024 (HDA2 & LFA2) 2025-01-27 20:45:21 -05:00
8 changed files with 722 additions and 728 deletions
+5 -1
View File
@@ -1,6 +1,10 @@
Version 0.9.9 (2025-04-XX)
Version 0.9.9 (2025-04-30)
========================
* New driving model
* Tesla Model 3 and Y support thanks to lukasloetkolben!
* Coming soon
* New driving model supervised by MLSIM
* An online learner for steering actuator delay
Version 0.9.8 (2025-02-28)
========================
+1 -1
Submodule panda updated: 1d5b89956b...998ac9d5d8
+1 -1
View File
@@ -276,7 +276,7 @@ def migrate_pandaStates(msgs):
"KIA_EV6": HyundaiSafetyFlags.EV_GAS | HyundaiSafetyFlags.CANFD_LKA_STEERING,
}
# TODO: get new Ford route
safety_param_migration |= {car: FordSafetyFlags.LONG_CONTROL for car in (set(FORD) - FORD.with_flags(FordFlags.CANFD))}
safety_param_migration |= dict.fromkeys((set(FORD) - FORD.with_flags(FordFlags.CANFD)), FordSafetyFlags.LONG_CONTROL)
# Migrate safety param base on carParams
CP = next((m.carParams for _, m in msgs if m.which() == 'carParams'), None)
+1 -1
View File
@@ -187,7 +187,7 @@ class TestOnroad:
def test_manager_starting_time(self):
st = self.ts['managerState']['t'][0]
assert (st - self.manager_st) < 10, f"manager.py took {st - self.manager_st}s to publish the first 'managerState' msg"
assert (st - self.manager_st) < 12.5, f"manager.py took {st - self.manager_st}s to publish the first 'managerState' msg"
def test_cloudlog_size(self):
msgs = self.msgs['logMessage']
+2 -2
View File
@@ -28,7 +28,7 @@ class Keyboard:
key = self.kb.getch().lower()
self.cancel = False
if key == 'r':
self.axes_values = {ax: 0. for ax in self.axes_values}
self.axes_values = dict.fromkeys(self.axes_values, 0.)
elif key == 'c':
self.cancel = True
elif key in self.axes_map:
@@ -65,7 +65,7 @@ class Joystick:
try:
joystick_event = get_gamepad()[0]
except (OSError, UnpluggedError):
self.axes_values = {ax: 0. for ax in self.axes_values}
self.axes_values = dict.fromkeys(self.axes_values, 0.)
return False
event = (joystick_event.code, joystick_event.state)
+1 -2
View File
@@ -16,8 +16,7 @@ CHUNK_SIZE = 1000 * K
logging.getLogger("urllib3").setLevel(logging.WARNING)
def hash_256(link: str) -> str:
hsh = str(sha256((link.split("?")[0]).encode('utf-8')).hexdigest())
return hsh
return sha256((link.split("?")[0]).encode('utf-8')).hexdigest()
class URLFileException(Exception):
Generated
+710 -719
View File
File diff suppressed because it is too large Load Diff