Jason Wen
d35cdb510d
Sync: commaai/msgq:master into sunnypilot/msgq:master
...
Sync: `commaai/opendbc:master` into `sunnypilot/opendbc:master`
Sync: `commaai/panda:master` into `sunnypilot/panda:master`
2024-08-03 21:22:09 -04:00
Jason Wen
09d1604b84
MADS: Honda: Fix PCM ACC disengage fault ( #363 )
...
* MADS: Honda: Fix PCM ACC disengage fault
* try this out
* honda only
2024-08-02 11:41:20 -04:00
Shane Smiskol
7c112341c3
Reapply "update to new opendbc API ( #32009 )" ( #33151 )
...
This reverts commit ac130001cc .
2024-07-31 15:37:39 -07:00
Shane Smiskol
ac130001cc
Revert "update to new opendbc API ( #32009 )"
...
This reverts commit 0dddc97dca .
2024-07-31 02:38:44 -07:00
Dean Lee
0dddc97dca
update to new opendbc API ( #32009 )
...
* use new opendbc api
* export pandad_python
* merge master
* merge master
* bump opendbc
* bump opendbc
* improve func
* keep interface unchanged
* fix test_car_interfaces
* bump opendbc
* bump opendbc
* fix test_models
* the interface now has to convert from can capnp to list, so we should include this time
* goes from ~210 to ~240 mean ms real time
* remoe busTime
* lowercase sendcan
* consistent msgtype
* bump
* bump
* not used in lat_mpc
* space
* bump to master
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com >
2024-07-31 00:24:46 -07:00
Shane Smiskol
42f2601416
deprecate busTime ( #33146 )
...
* deprecate busTime
* bump
* do car can + more
* forgot some
* bump opendbc
* fix that too
* bump
2024-07-30 21:26:58 -07:00
Shane Smiskol
0739d79a51
cars: remove some external imports ( #33133 )
...
* ford and gm
* clean that up
* also this
* honda
* temp fix
* move into selfdrive.car
* clean up
* more
2024-07-30 14:27:27 -07:00
Maxime Desroches
9536dd07c6
unpin numpy ( #33132 )
...
* unlock numpy
* remove old cache
* sheel
* lock
* remove temp
* depends
* export
* put this back
* use __version__
* move this
---------
Co-authored-by: quebec <quebec@quebec.attlocal.net >
2024-07-30 13:11:05 -07:00
Maxime Desroches
01c0756974
Remove control usage ( #33103 )
...
* manual matrix exp
* remove control
2024-07-29 11:52:33 -07:00
Jason Wen
be72a8ed06
Revert "Toyota: Auto Brake Hold"
...
This reverts commit 15d94a01
2024-07-29 06:40:34 -04:00
Harald Schäfer
3bc1b173d2
Longcontrol: engage into stopped state when needed ( #33042 )
...
test stay stopped
2024-07-23 13:55:30 -07:00
Jason Wen
a654e5bd05
espActive: IMMEDIATE_DISABLE -> SOFT_DISABLE ( #33003 )
...
* espActive: `IMMEDIATE_DISABLE` -> `SOFT_DISABLE`
* only stock long
* just soft disable for now
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com >
2024-07-22 13:09:00 -07:00
Greg Hogan
4b794773b0
use rounded constant instead of hard-coded value for incrementing set speed ( #32992 )
...
* use rounded constant instead of hard-coded value for incrementing set speed
* better comment
2024-07-16 18:24:01 -07:00
Shane Smiskol
35a4a773f1
Revert "selfdrive/car: ban imports from external modules" ( #32993 )
...
Revert "selfdrive/car: ban imports from external modules (#32973 )"
This reverts commit 83d4623590 .
2024-07-15 11:14:04 -07:00
Dean Lee
83d4623590
selfdrive/car: ban imports from external modules ( #32973 )
...
* lint import
* Update selfdrive/car/__init__.py
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com >
2024-07-15 11:12:24 -07:00
Jason Wen
1a8170e839
Speed Limit Control: Gate behind longitudinal
2024-07-11 23:51:17 -04:00
Shane Smiskol
71dd1e2ff6
long planner: formatting
2024-07-11 14:06:51 -07:00
Dean Lee
12d729a0a0
CarParams: set no traversal limit ( #32929 )
...
* Increase traversal_limit_in_words to Fix Traversal Limit Errors
* just use log_from_bytes
* come on pycharm
* no free lunch
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com >
2024-07-08 13:50:31 -07:00
Jason Wen
b5227c0a06
Driving Model Selector v5
2024-07-07 17:53:26 -04:00
Adeeb Shihadeh
d3cb0d24c4
Sync: sunnypilot/sunnypilot:master into sunnypilot/openpilot-special:master-priv
2024-07-07 10:15:50 -04:00
rav4kumar
6f9401d902
Merge remote-tracking branch 'comma/master' into sync-20240706
2024-07-06 22:18:32 -04:00
Shane Smiskol
c95b58401a
controlsd: no mutable carParams ( #32381 )
...
* no as builder
* fix car int test
* more
2024-07-02 13:27:45 -07:00
rav4 kumar
e8df8fad00
Longitudinal: Acceleration Personality
2024-07-02 04:45:18 +00:00
rav4 kumar
ca202c3c4a
Longitudinal: Dynamic Personality
2024-07-02 04:15:20 +00:00
rav4 kumar
15d94a017d
Toyota: Auto Brake Hold
2024-07-01 19:45:30 +00:00
Jason Wen
de8da6f41f
Driving Personality: Use controlsStateSP properly
2024-07-01 15:42:29 -04:00
Dean Lee
649e7a6d55
radard: readable KalmanParams initialization ( #32848 )
...
fix kalmanparams initialization bug
2024-06-27 14:43:21 -07:00
James
046ed7e9f8
Cleanup "longitudinalPlan" fields ( #32845 )
2024-06-26 14:51:27 -07:00
Jason Wen
36eafc0dc6
Hyundai CAN: Log ABS/ESP Activation to espActive ( #32743 )
...
* Hyundai CAN: Log active ABS to accFaulted
* Add comments
* `espActive` to CarState and CarEvent.EventName
* re-order
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com >
2024-06-24 20:14:57 -07:00
Jason Wen
6c429dca06
Sync: sunnypilot/sunnypilot:master into sunnypilot/openpilot-special:master-priv
2024-06-24 16:29:37 -04:00
Harald Schäfer
442e9f4ae4
Long planner: small cleanup ( #32804 )
2024-06-20 16:33:06 -07:00
Jason Wen
8de2399680
Merge branch 'upstream/openpilot/master' into SP-157-sync-20240614
...
# Conflicts:
# cereal/services.py
# msgq_repo
# selfdrive/car/hyundai/interface.py
# selfdrive/car/toyota/interface.py
# selfdrive/controls/lib/longcontrol.py
# selfdrive/controls/plannerd.py
2024-06-16 22:34:35 -04:00
Jason Wen
d870eb2a27
Lateral Plan: Desire cereal fixes
2024-06-14 07:45:11 -04:00
Harald Schäfer
bc303df6a0
long control: new API ( #32706 )
...
* Simplify long control
* Seperate
* Rename
* Try new api for toyota
* rm v_pid everywhere
* No speed in reset
* 0 is better default
* unassigned variable
* Update other cars
* Update gm
* SIMPLIFY
* simplify more
* fix API boundry
* Fix stopping bug
* Small fixes
* Update ref
2024-06-14 00:08:58 -07:00
Jason Wen
c55d11a865
Sync: sunnypilot/sunnypilot:master into sunnypilot/openpilot-special:master-priv
2024-06-12 21:43:05 -04:00
Jason Wen
9e63be9ba2
Sync: commaai/opendbc:master into sunnypilot/opendbc:master
...
Sync: `commaai/panda:master` into `sunnypilot/panda:master`
2024-06-12 21:09:05 -04:00
Shane Smiskol
7dbf60b4bc
controlsd: exit on any exception ( #32730 )
...
* exit on any exception
* finally so we don't catch
2024-06-12 17:16:30 -07:00
Jason Wen
524d7b73f9
Sync: sunnypilot/panda:master into sunnypilot/panda-special:master-priv
2024-06-12 16:21:36 -04:00
Shane Smiskol
684209e077
remove uiPlan ( #32721 )
...
* remove uiPlan from ui
* remove publishing
* Update log.capnp
* Update services.py
* no uiPlan here
* Update ref_commit
2024-06-11 21:31:10 -07:00
Harald Schäfer
965415135a
Long control: Double delay is super complicated ( #32694 )
...
* Double delay is super complicated
* No more upper bound
* DEAD
* Update ref
2024-06-10 22:29:17 -07:00
Harald Schäfer
1b2bd205b8
MSGQ refactor: cleanup outstanding issues ( #32685 )
...
* Rm sim dockerfile from bad merge
* Add watch back
* Fix watch3 compilation
2024-06-10 13:18:47 -07:00
Harald Schäfer
e70dc90a45
Restructure msgq ( #32652 )
...
* Update ref
* Compiles
* compiles
* Refactor rest of libs
* import all
* small fiex
* cleanup import
* Need msgq simlink too
* Add to openpilot docker too
* try repo
* Updates
* Fix lint
* fix docs
* Try blank slate
* Revert "Try blank slate"
This reverts commit f078ce04acacfe115c19e23e86038b01e2b84a6d.
* Maybe scons needs this to clear cache
* fix tests
* Disable test for now
* Update SConstruct
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
* Fix whitespace
* Write skip normal
* small fixes
* add test path
* Revert repo
* linting
* whitespace
* Bump msgq
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
2024-06-09 17:44:34 -07:00
Jason Wen
1ffc59f65a
Merge branch 'upstream/openpilot/master' into sync-20240608
...
# Conflicts:
# cereal
# opendbc
# panda
# release/files_common
# selfdrive/monitoring/dmonitoringd.py
# selfdrive/ui/translations/main_zh-CHS.ts
# selfdrive/ui/translations/main_zh-CHT.ts
2024-06-08 23:08:33 -04:00
Adeeb Shihadeh
a7ed190df4
controlsd: remove last mention of CAN ( #32646 )
2024-06-06 16:46:27 -07:00
Harald Schäfer
e71ec4e8d7
Split cereal into cereal/msgq ( #32631 )
...
* squash
* fix doc
* compile device
* compile device
* Update ref
* add msgq to precommit exclusions
* No service ports
* fix compile
* address comments
* More comments
* Delete logger
* Update opendbc
* Linting
* bump msgq
2024-06-06 14:31:56 -07:00
Dean Lee
983063c3e6
events.py: rename event counters ( #32596 )
...
* improve prev event counters
* just rename
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com >
2024-06-06 00:13:57 -07:00
Adeeb Shihadeh
34e329649d
boardd is pandad ( #32628 )
...
* boardd is pandad
* rename tests
2024-06-04 19:16:55 -07:00
Dean Lee
23fcd68707
LongControl: storing T_IDXS[:CONTROL_N] in a variable for reuse ( #32599 )
...
Improve Control Trajectory Interpolation Efficiency
2024-06-04 17:04:50 -07:00
Adeeb Shihadeh
c59887c810
test_*.py files are no longer executable ( #32610 )
...
* test_*.py files are no longer executable
* cleanup empty lines
* update precommit
* fixme
* enable
* build
2024-06-03 15:48:56 -07:00
Dean Lee
1e70b23855
LongitudinalPlanner: replace hardcoded length with ModelConstants.IDX_N ( #32597 )
...
replace hardcoded length
2024-06-02 22:52:45 -07:00