Commit Graph

8898 Commits

Author SHA1 Message Date
Cameron Clough d659243648 UI: cleanup OffroadHome layout (#28284) 2023-05-24 15:41:14 -07:00
Cameron Clough 94937e0694 UI: reduce margin around software version (#28283) 2023-05-24 15:00:17 -07:00
Kacper Rączy ac0272d0cc process_replay: use PARAMS_ROOT (#28282)
Use PARAMS_ROOT in process_replay
2023-05-24 13:16:22 -07:00
Adeeb Shihadeh 9f3c0a7781 update loggerd and ui cpu 2023-05-24 10:04:53 -07:00
Harald Schäfer 2c65b843a5 Calibrationd: allow more pitch angle (#28255)
* Calibrationd: allow more pitch angle

* Update ref_commit
2023-05-24 11:41:01 +02:00
Kacper Rączy e6ac6320ac process_replay: universal replay mechanism using cereal fake sockets (#28115)
* replay_process_with_fake_sockets implementation

* add missing polled_pubs to configs

* drained_pubs field

* updated cereal

* Remove python/native variations of process replay. Replace with universal one using cereal fake sockets

* Replace old py FakeSocket with DummySocket

* Invalidate and deregister fake sockets after replay is done

* Remove unused import

* Set up new prefix for each replay

* Fixes for radard

* Refactor ReplayContext and ProcessConfig

* Minor fixes

* Reimplement controlsd fingerprinting callback

* time.sleep for sockets to safely reconnect

* Fix fingerprinting for controlsd

* Fixes for regen to work

* Fix replay loop to respect submaster frames

* Fix profiler to use new ProcessConfig fields

* Remove tqdm

* Refactor tests to use new ProcessConfig

* Add FrequencyBasedRcvCallback

* Make tolerance None by default

* Update cereal

* Add get_process_config utility func

* Update cereal. Simplify sync procedure

* Chain context managers

* New sub-socket reconnection procedure

* Fix linter issues

* Revert chaining of context managers

* Init controlsState only when replaying controlsd. Update cereal

* Update cereal

* Update process_replay to use new cereal API

* Update cereal

* Update cereal

* Update cereal

* Simplify radard recv callback

* Update release/files_common
2023-05-23 17:24:16 -07:00
YassineYousfi d0a8b3780c fix input order in onnxmodel (#28274) 2023-05-23 16:11:51 -07:00
Jason Young 84886e28df VW MQB: Start documenting FtS cars (#28268)
* specify auto_resume

* format

* car compat

* VW MQB: Start documenting FtS cars

* retry CI

---------

Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
2023-05-23 14:07:21 -07:00
Kacper Rączy 12b3ffcc49 process_replay: drain sockets instead recv_one (#28161)
* Drain the sockets until the next cycle in python process replay

* Add waiting mechanism to native process replay, which mimics the syncing

* Sort logs when comparing them. Drain all the sockets instead of only recv_socks.

* Reverse the retrieval order of FakeSocket

* Change pub order for torqued

* Update ref commit
2023-05-23 12:59:09 -07:00
Maxime Desroches 3785e161f0 car docs: allow auto_resume override (#28264)
* specify auto_resume

* format

* car compat

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-05-23 01:40:23 -07:00
Shane Smiskol eee8a7a4b4 car docs: fix diff bot (#28266)
* test bot

* fix docs bot

* revert

* use dataclass

* sad this doesn't work
2023-05-23 00:36:42 -07:00
Maxime Desroches 715d7f9e3d car docs: keep similar naming (#28262)
better name
2023-05-22 19:30:04 -07:00
Adeeb Shihadeh ea1e0a16dd boardd: set min spi timeout 2023-05-22 19:00:45 -07:00
Maxime Desroches d433dc693d car docs: pass all car parts + types to template (#28260)
add car parts + types to template
2023-05-22 18:43:57 -07:00
Mitchell Goff 328b5d9d47 Nicki Minaj Model (#28218)
* New model: 2ff7490f-8a2f-4c0d-87a8-b0fa3a4a6a71

* Updated model_replay_ref_commit
2023-05-22 15:11:04 -07:00
Adeeb Shihadeh a3d5913228 adjust uploader cpu usage 2023-05-22 10:48:15 -07:00
Maxime Desroches 9f5f8b603c car docs: list all needed hardware (#28212)
* generic car parts

* better carparts

* add part type

* more tests

* multiple enums

* unit tests

* just check isinstance

* better name

* remove _connector suffix

* remove those hyundai lines

* remove default arg

* Revert "remove default arg"

This reverts commit 139650a3b6b94358c3b9b12bb5fbe0a326d7abad.

* cleaner code structure

* use fingerprint

* review

* abstrac data class + common

* no more dataclass

* conflict

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-05-22 10:17:33 -07:00
Adeeb Shihadeh 1b12f17ee3 test onroad: add gpsLocationExternal to gps proc list 2023-05-22 01:10:24 -07:00
Comma Device 18559f4135 boardd: lower timeout for getting serial 2023-05-22 00:45:52 -07:00
eFini b2e32a7ef8 pandad: app_path -> app_fn (#28253)
* Fix pandad.py

Should be `app_fn` instead of `app_path`?

* fw path

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2023-05-22 00:06:39 -07:00
Mejty38 b977e1a4e9 Skoda: add fw for Superb 2020 (#28229)
* Update values.py

* sort and remove duplicate

---------

Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
2023-05-21 22:18:37 -07:00
Jason Young e0a2607eee VW MQB: Extend Touran supported model-year range (#28247)
VW MQB: Extend Touran model-year range
2023-05-21 19:28:12 -07:00
Jason Young dee611a9bc VW MQB: Add FW for 2020 Volkswagen Arteon (#28251)
* VW MQB: Add FW for 2020 Volkswagen Arteon

* mechanical sort
2023-05-21 12:35:30 -07:00
Adeeb Shihadeh 038d2264aa spi: handle timeout more like usb (#28249) 2023-05-20 23:35:14 -07:00
Jason Young 24579949c1 VW: A little less signal pass-through (#28246) 2023-05-20 22:31:12 -07:00
Shane Smiskol 37eb9f900c Mazda: explicitly copy signals to forward (#28244)
mazda
2023-05-20 18:25:19 -07:00
Jason Young f951390dda VW: Explicit signal pass-through (#28179)
* VW: Explicit signal copy

* normalize whitespace
2023-05-20 18:20:57 -07:00
Adeeb Shihadeh 9160faf8e5 remove unused import 2023-05-20 18:11:16 -07:00
Shane Smiskol 3d94423108 GM: explicitly copy signals to forward (#28243)
* gm

* same order as DBC
2023-05-20 18:09:57 -07:00
Adeeb Shihadeh 39c5d492bf time to onroad test (#28242)
* time to onroad test

* run few times

* test on stripped builds

* manager

* cleanup

* split those out

* run first

---------

Co-authored-by: Comma Device <device@comma.ai>
2023-05-20 17:59:41 -07:00
Adeeb Shihadeh e4a37620ee boardd: handle nack on tx buffer full (#28241)
* boardd: handle nack on tx buffer full

* print pandaStates

* rx buffer too small

* connect timeout

---------

Co-authored-by: Comma Device <device@comma.ai>
2023-05-19 23:24:52 -07:00
Kyle Greenlaw 7a684da47f Subaru: Add fw for 2020 Subaru Outback (#28240)
Route: a4e8e925930fce2c|2023-05-19--20-47-32
2023-05-19 22:49:46 -07:00
johangithub 184e224a6a HKG: add 2017 Genesis G90 Fingerprint (#28230) 2023-05-19 18:30:43 -07:00
Adeeb Shihadeh 2014b10ec3 boardd: longer loopback test (#28239)
Co-authored-by: Comma Device <device@comma.ai>
2023-05-19 17:36:30 -07:00
YassineYousfi bda0d6ac77 update dm model README (#28238)
add calib dm input in readme
2023-05-19 15:20:43 -07:00
Mitchell Goff d528481d8d Offset topdown map by 128 meters (#28216)
We drive forward :)
2023-05-18 15:30:58 -07:00
Cameron Clough d4dec3ba5e Ford: longitudinal behind alpha toggle (#28196)
* bump panda

* set safety config/configure experimental longitudinal

* send inactive signals

* bump

* just calculate in function

* already in the variable

* clean that up

* add comment, on ford stock long, prchg seems to be set from the possible future accel

* comment

* this signal didn't have an impact on engaging

* add comment and fix

* worst case while AEB

* and kill ACCDATAs

* this could be dangerous

* need to test this too

* Revert "need to test this too"

This reverts commit 09bba75950fa55d90a82f0109e3138ffe5a1d08c.

* Revert "this could be dangerous"

This reverts commit 323143e84727f1a780bbb600be5f7ceb763516b1.

* Revert "and kill ACCDATAs"

This reverts commit 15f6804bf64d01145daf57a592c2f3fd44ceba27.

* Revert "worst case while AEB"

This reverts commit 85e1aaa8e1af90373c688d1973dbfbb07b1fb8b2.

* bump panda

* Update selfdrive/car/ford/fordcan.py

* move around

* was already here

* rm

* use variable

* update docs

* Update ref_commit

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-05-18 15:25:24 -07:00
Shane Smiskol c7d3b28b93 Ford: longitudinal clean up (#28231)
clean ups
2023-05-18 14:30:07 -07:00
Shane Smiskol 902cc891a8 Ford: log stock AEB (#28228)
log AEB
2023-05-18 03:56:35 -07:00
Harald Schäfer 703fe85cf5 QCOM laikad: add glonass support (#28217)
* QCOM laikad: add glonass support

* reject garbage timestamps

* update ref
2023-05-18 00:19:40 -07:00
Adeeb Shihadeh 885e1edf96 boardd: match panda python lib ack bytes (#28225) 2023-05-17 23:28:46 -07:00
Shane Smiskol 041ab5bb7f disable_ecu: log retries as errors (#28223)
* log ecu disable retries as errors

* and here if it totally failsd
2023-05-17 22:19:49 -07:00
Shane Smiskol c722120a88 boardd: log when sendcan is dropped (#28224)
* log when we drop sendcan

* log both

* i don't want to touch that

* llu

* noo
2023-05-17 22:19:35 -07:00
Dean Lee 781a6fcc5f ui/settings: fixed button overlap in sidebar. (#28220)
fix button overlap
2023-05-17 20:16:39 -07:00
Kacper Rączy 7b68a13048 lateral_planner: init missing variables (#28222)
Init missing variables in LateralPlanner constructor
2023-05-17 14:04:17 -07:00
Cameron Clough 66abfb933d Ford: add Explorer 2020 ST FW (#28205)
4458bd61cf193dab|2023-05-17--01-45-39

VIN: 1FM5K8GC7LGA15147
2023-05-16 20:11:05 -07:00
Kacper Rączy 504768f922 process_replay: sort logs before comparing them (#28201)
* Sort logs before comparing them in process replay

* Simplify
2023-05-16 15:30:28 -07:00
Dean Lee fe6ce429c5 ui/drawDriverState: don't draw circle bg twice (#28168)
do not draw circle bg twice
2023-05-16 14:01:06 -07:00
YassineYousfi 2d4558d5cf update DM model README (#28211)
* update DM model readme

* rename + permalink + correct types and ranges
2023-05-16 13:40:49 -07:00
Shane Smiskol 22ce4e17ba manager: initialize onroad params before starting processes (#28198)
* initialize to off on startup

* params

* better

* better

* move to helpers

* rm
2023-05-16 12:45:05 -07:00