Commit Graph

1267 Commits

Author SHA1 Message Date
Shane Smiskol e56c2f6ee4 Ford: remove from dashcam (#28103)
* no dashcam 🎉

* update docs

* not these

* update refs

* bump panda
old-commit-hash: d05d9dac045221baeda9c6db398a182f304c8ea6
2023-05-04 06:55:09 +00:00
Vivek Aithal 1bdb1407f9 RAM 1500 5TH GEN: Update offline params (#28099)
* add fric

* no 0 friction offline value

* update refs
old-commit-hash: 3aadad24f0e43b7d1e39286239c3408485d4c2a9
2023-05-03 20:01:48 -07:00
Adeeb Shihadeh e631d24d77 Jenkins tuneup (#28095)
* tuneup

* use service messages

* logmono

* not passive
old-commit-hash: d5a0a4b3e8a52b5a0e1da325c15cdb99d2a71350
2023-05-03 16:52:20 -07:00
Harald Schäfer c8de368187 Laikad: blocking raw_gnss receive (#28083)
* Blocking receive

* redundant

* rm clocks

* timeout irrelevant now
old-commit-hash: bb3388f9d2f573ddd85d8b29a39c2bce472ca7b5
2023-05-03 13:03:25 -07:00
Adeeb Shihadeh a25d2f95de test_onroad: enforce CPU usage test for all procs (#28024)
* cleanup

* add missing procs

* ugh not systemd

* floor

* unused

* handle laikad

* continue

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 64df41c9afbfb19fd527eb107af5c83691db3202
2023-05-01 21:35:10 -07:00
YassineYousfi fa6e10b739 new model: trained with augmented turn desire pulses (#28063)
* df733db3-fad2-4485-abe9-59a6a47f2233/449 85f20e13-dd4d-49a8-ba33-98e6afc161d9/700

* update ref commit
old-commit-hash: f80c1087fc022207c252e5b4411fc0f514fb7514
2023-05-01 16:03:16 -07:00
Harald Schäfer 08be43fe49 New process_replay segment with latest ublox logs (#28038)
* Add new segment

* Update ref_commit
old-commit-hash: 06756f4533fa1a83c0ac4e7456720ba00c726bf8
2023-04-30 18:24:20 -07:00
Kacper Rączy 46e075aa36 regen: whitelist-proc (#27980)
* Add support for whitelist-procs to toggle on/off specific processes during regen

* Use process CONFIGS from process_replay to generate fake processes instead of hard-coded values

* Add rawgpsd to fake_daemons. Remove duplicates from replayable_messages.

* Remove duplicate block of code from setup_env

* Remove rawgpsd comment
old-commit-hash: ba4a1c1b8749f67e264bfb6f2bfd0c3faac284de
2023-04-28 19:36:31 -07:00
Bruce Wayne a6b4940c8b Revert "LaikaD: new proc_replay segment and no internet laikad (#28029)"
This reverts commit 1341b59160ffa9db29d589f3fe4dd38691361165.

old-commit-hash: 613bbcd62661eecda609cfa32be2e31a6bb490ca
2023-04-26 19:20:05 -07:00
Harald Schäfer bd9b02915f LaikaD: new proc_replay segment and no internet laikad (#28029)
* no internet in CI

* add new segment

* new ref
old-commit-hash: fbb7dcb19c2d864f951068e1a45b7293a6b4fd92
2023-04-26 16:01:39 -07:00
Kacper Rączy 650ed84920 regen: ecamera support (#27999)
* Add wideRoadCameraState support in regen

* Fix for ecam FrameReader when use_route_meta

* Pylint fixes
old-commit-hash: eee7dd082fe235be188052c6943cab5d8b4ddbb9
2023-04-22 02:43:04 +00:00
Shane Smiskol c8cf77b7a7 locationd: log time to first fix (#27990)
* locationd ttff

* log time to first fix

* rename

* max it like laikad

* Update selfdrive/locationd/locationd.cc

* Update ref_commit

* Log when gpsOK first becomes true

* don't forget to update current time!

* stash

* make it deterministic (no proc replay cur time)

* Update ref_commit

* rename to make this clear
old-commit-hash: 03eb02906d9f43799fc93f71ef32331bcf090157
2023-04-21 16:15:13 -07:00
Harald Schäfer fc6a779d12 Laikad: fix bad init elevation incorrect (#27974)
* Laikad: fix bad init elevation incorrect

* update ref
old-commit-hash: 922b09de96201e4c0d1cdf6027dc07b1d76902d0
2023-04-19 14:04:24 -07:00
Justin Newberry da2f2114d6 Subaru: infotainment status intercept and rewrite (#27829)
* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* remove compiler flag stuff

* force error for testing

* bump panda and fix mistake

* wip

* bump panda

* wip

* wip

* forgot checksum and stuff

* add to signals

* rename

* test

* test

* bump panda and opendbc

* bump cereal

* add blank filler

* test

* add steer required to infotainment

* fix missing bit

* fix missing bit

* cleanup for PR

* cleanup for PR

* bump submodules

* wip

* wip

* i wonder what 1 is

* seemed to also be obstacle detected?

* bumppanda

* only if global

* only global gen 2

* fix order

* detect and send

* detect in rest of places

* update refs

* bumpopendbc

* copy whole message (camera sometimes sets these signals)

* bumppanda

* update refs!

* bumppanda

* let's not change this

* same as all the other functions

* Revert "same as all the other functions"

This reverts commit e86dbb695ef84a18f3123720fed37a6b81391cc4.

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: d59bfa551955c481fd3762170d483a44251122f7
2023-04-17 19:05:16 -07:00
Adeeb Shihadeh 5df915f197 ci: locationd cpu has increased a bit
old-commit-hash: cddb7c37e6a3e267d568725f6ed70a1dd24ff3b7
2023-04-01 16:05:51 -07:00
Harald Schäfer f6e3dc289c Locationd qcom retune (#27739)
old-commit-hash: eca3838237463fe34c6abd0e6592a935008d8ff6
2023-03-29 16:35:30 -07:00
Vivek Aithal b6909a65e7 Bolt EUV: Non-linear torque function (#27696)
* add erf based ff

* silly bug; diff of nonlinear != nonlinear of diff

* add sigmoid based ff, ensure slope at 0 > 1

* reduce steer down limit and increase driver allowance

* rebase panda

* atry without friction, and with tanh nonlinear

* finalize the nonlinear function

* do not disable friction compensation in the ff

* bump panda

* bump panda

* update refs

* update refs

* resolve comments

* Add type hints

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 15b880c0ea6fb306e916a2ec015b5f03cec22b20
2023-03-29 15:10:39 -07:00
Adeeb Shihadeh 6f52cc09f4 process replay: fix socket-ful replay flakiness (#27721)
* process replay: fix socket-ful replay flakiness

* bump up laikad timeout

* bump

* bump again

* revert that
old-commit-hash: 85908f7e2bd96cb52ad7a52e3b9a1cf94b5b197b
2023-03-28 17:48:16 -07:00
Shane Smiskol cdcf06e9e2 boardd: ability to switch between ELM safety params (#27656)
* indecisive

* rename to generic FW query

* remove code and update comment

* we need this to start off, unless we set multiplexing immediately

* draft

* draft 2

* try that

* can't do this either, boardd might read Enabled after removing, but before setting new Request param

* this should work

* use one less param

* fix params

* match behavior (set all pandas to safety param of 1, disabling multiplexing for fingerprinting

* clean up (some tests may temp break)

* fix param name and sort

* time it

* yes it does matter

* add to hyundai's bus 5 query

* remove hyundai for now

* this should work

* clean up

* clean up

* flip argument around, clean up

* fix test_startup

* some clean up

* rm line

* comment makes more sense

* required typing

* clean up common type

* comments

* Update selfdrive/car/car_helpers.py

* line

* whoops, need to set before vin!

* fix debug

* annoying

* more debugging

* bug fix (needs both keys always)

* debuGG

debuGG

* Revert "debuGG"

This reverts commit 55b2f429324c0b92d5cfb2cabf8b20db1e166248.

* Revert "more debugging"

This reverts commit 02934c3403ad5270f03093508b704c151d1ccb2a.

* Revert "annoying"

This reverts commit 8b4e5e09989f9a0217e3ec1c0ba68735929b7366.

* clean that up

* bumpback

* bumpback

* every second write param

* flip

* stuff

* move up?

* fix timing out in CI

* rm
old-commit-hash: 42449b482d46565242341ca2d7e3a7255572f6a2
2023-03-23 00:14:31 -07:00
YassineYousfi cde221ba7c new model: trained on new dataset (#27637)
* df733db3-fad2-4485-abe9-59a6a47f2233/449 946c0f55-247d-4790-a407-c07e4364b340/700

* fix reducel2 df733db3-fad2-4485-abe9-59a6a47f2233/449 946c0f55-247d-4790-a407-c07e4364b340/700

* update ref commit
old-commit-hash: 26541d9e7aa30b1705873e8360b806b52712fde7
2023-03-22 20:19:46 -07:00
Harald Schäfer ae7ce5368c Laika cleaner flow (#27633)
* laika flow

* test fixes

* unexpected type

* unexpected type

* explicit type

* ref commit

* back to prev val

* ref 2
old-commit-hash: e05e7850e176c4a229608c3972c665b11510d9e3
2023-03-22 19:10:19 -07:00
Shane Smiskol f20e33a2c5 GM: common longitudinal actuator delay (#27357)
* common longitudinal actuator delay

* comment

* remove dup

* move

* clean up

* Update ref_commit
old-commit-hash: aefe636cc1b415f4ebf63f71ae9ae298461e37ac
2023-03-22 00:23:51 -07:00
Shane Smiskol e83edd554a Toyota LTA: allow no torque (#27646)
* no torque

* Update ref_commit

* Update ref_commit
old-commit-hash: aeb905a2bf64475d3d33b70da6e8a60e4b0985c9
2023-03-21 19:21:11 -07:00
Adeeb Shihadeh c2fc5175fc process replay: prep for laikad subsock + QCOM GPS (#27632)
* process replay: prep for laikad subsock

* cleanup

* fix for qcomGnss

* detect ublox

* more debug info in err

* wip

* cleanup
old-commit-hash: 7319afbd516ea1b32736d67d8c5be7663dce9ae3
2023-03-21 16:43:40 -07:00
Adeeb Shihadeh cec2edfca4 process replay: update after laika publish policy change (#27647)
* laika pubs all

* lr for locationd

* fix locationd qcom

* update refs
old-commit-hash: ee36c106af73b34819764ac7d23721981d387d88
2023-03-21 16:14:22 -07:00
Harald Schäfer 6d0116ae80 Ttff logs (#27610)
* ttff in logs

* More meta info

* cleanup

* passess tests

* unused import

* fix linting

* ttff of 0 is invalid

* ref commit

* bump cereal

* Update ref_commit

* sort ephem status list

* sort ephem status list

* update ref
old-commit-hash: 204f7d862390d86ab958275cd887b8cbc3e66f66
2023-03-16 22:09:05 -07:00
Adeeb Shihadeh 869a9af32d Revert "LAIKAD: TTFF, and ephemeris statuses in logs (#27591)"
This reverts commit 8324a349b4c267a83d96ff3f3c9d25f0b5bd7fcf.

old-commit-hash: 4cff94366f751e53363c811a129f0d2dd93b4655
2023-03-16 19:01:45 -07:00
Harald Schäfer af464f3b94 LAIKAD: TTFF, and ephemeris statuses in logs (#27591)
* ttff in logs

* More meta info

* cleanup

* passess tests

* unused import

* fix linting

* ttff of 0 is invalid

* ref commit

* bump cereal
old-commit-hash: 95216de5910c62bf81a7bf6053b5917de98dc825
2023-03-16 17:00:54 -07:00
Harald Schäfer 10c2efc2bd Bump laika (#27605)
* bump laika

* Update ref_commit
old-commit-hash: 719901b57c1b21183c6208fa8142c56c7a18c61d
2023-03-16 13:06:30 -07:00
Harald Schäfer 20dfe96afa Use structs in laika (#27585)
* doesnt crash

* New cacher

* unused import

* help linter

* Annotate list

* print error

* fix caching bugs

* wrong name

* small fixes

* fix sum

* wrong brackets

* fix tests

* update ref

* bump submodules
old-commit-hash: 5c704827619e774c9877b4598af06d1c6bca80d2
2023-03-15 00:02:56 -07:00
Adeeb Shihadeh e2acf6ab14 plannerd: add frameId to uiPlan (#27573)
* plannerd: add frameId to uiPlan

* update refs
old-commit-hash: 17b71b477e596529d36dc7f95e3fa42697adfadc
2023-03-13 15:30:38 -07:00
Adeeb Shihadeh de9a100719 ubloxd: move to system/ (#27536)
* ubloxd: move to system/

* more fixes

* add missing sconscript

* fix valgrind tests

* uncomment
old-commit-hash: c97911dbad15c3cc7dc577b305ab9aed775e021f
2023-03-08 16:11:18 -08:00
Adeeb Shihadeh 3a968c67e1 loggerd: move to system/ (#27534)
old-commit-hash: 94eb2159802d3dba99620db0b08731c68a7e4733
2023-03-08 11:20:49 -08:00
George Hotz 2fe836f158 tinygrad: bump to 0.5 (#27505)
* bump tinygrad to 0.5

* update release files

* ref commit + bump tinygrad

* save 220 mW

---------

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 3892c6098085ad05878f78aef0afefac55e38306
2023-03-06 15:50:28 -08:00
Shane Smiskol 71fed2384d Remove dashcam override param (#27509)
* remove dashcam override

* sort

* remove ford from segments
old-commit-hash: e729f5b763a98f4156c1761f1511135cc32121d3
2023-03-06 15:36:39 -08:00
Shane Smiskol 827c5678f0 uiPlan: add planned acceleration field (#27484)
* add accel

* bump cereal

* Update ref_commit

---------

Co-authored-by: Bruce Wayne <harald.the.engineer@gmail.com>
old-commit-hash: 3ab8645d3af948a35ac410ad7f841ab670091e32
2023-03-02 20:11:24 -08:00
Kurt Nistelberger 7ad3a3fd42 laikad: reduce min satellite number (#27440)
* bump laika

* update laikad tests

* update refs

* bump laika

* update refs

---------

Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
old-commit-hash: b6881220426ac231215bbf4476f6fedd11e3e540
2023-02-28 21:40:54 -08:00
Shane Smiskol a55f8d65cd Angle control: fix limiting bug (#27428)
* fix steer up bug

* Update ref_commit
old-commit-hash: d5688ae49fd8652bf500ec145f2f3aa711c6bbf3
2023-02-23 16:18:32 -08:00
Shane Smiskol 854314765c Ford: adjust curvature rate limits (#27427)
* fix up

* Update ref_commit
old-commit-hash: b00eb57bb735a8c533a28a22ee3aed534afd4a7c
2023-02-22 15:59:07 -08:00
Shane Smiskol 59ff270456 Ford: adjust curvature rate limits (#27423)
* Update values.py

* Update values.py

* make consistent

* Update ref_commit
old-commit-hash: f2982340f8aed49559713f573b751e6095e51504
2023-02-22 14:09:16 -08:00
Adeeb Shihadeh 5da2a5fa05 GM: revert steering limits update (#27413)
* Revert " GM: update steering limits (#27331)"

This reverts commit b8740c4d6c5bad5ac947d9eefeb38a5b47876ca3.

* update refs

* bump panda
old-commit-hash: 1504c10760627406ce26478bcb98957c64deafac
2023-02-21 15:48:10 -08:00
Shane Smiskol 3aad76f8fd Ford: filter steering pressed (#27123)
* ford steering pressed filter

* raise to 1.0

* Update ref_commit
old-commit-hash: dff054d4dfb6c08a471315778dadf6c0dc24207d
2023-02-20 16:13:01 -08:00
Harald Schäfer 0ac73f2a81 MPC path in UI (#27380)
* 10s lat

* Full length MPC

* redfine N

* Leave controls the same for now

* Updates

* use long plan in lat plan

* interp plan

* simplergit add selfdrive/controls/plannerd.py selfdrive/controls/

* expand to 10s

* revert this

* fix linter

* vizualize

* fix long test

* typo

* cleanup

* compiles

* unused

* unused

* bump cereal

* bump cereal

* use model if no uiplanm

* update replay

* update ref commit

* bump cereal to master
old-commit-hash: eb8bdc0026b49de2fc5107746baeadbd42f58550
2023-02-17 19:58:30 -08:00
Harald Schäfer 73561f01e0 Expand lateral MPC to 10s (#27343)
* 10s lat

* Full length MPC

* redfine N

* Leave controls the same for now

* Updates

* use long plan in lat plan

* interp plan

* add new interp

* simplergit add selfdrive/controls/plannerd.py selfdrive/controls/

* expand to 10s

* revert this

* fix linter

* Update sconscripts

* fix test

* fix test

* fix test

* Revert "Update sconscripts"

This reverts commit 6e23c69dcebd5ed003e37e01921f6af7c31de0db.

* Dont import drive helpers

* better compile deps

* fix compile

* comment

* update replay

* Update plannerd time
old-commit-hash: 04fe6c4ec72dfcf89456a484d03f85502c237701
2023-02-17 15:28:26 -08:00
Shane Smiskol 9a293d2944 Hyundai: detect FCA feature (#27322)
* detect fca

* use value

* it will be from camera on camera acc cars

* Update ref_commit
old-commit-hash: b2453d55c12e4e6e8e5115ef7c8daf0f60205fdb
2023-02-16 21:52:32 -08:00
Shane Smiskol 45996b2c65 Car interfaces: assert reasonable centerToFront range (#27356)
* assert reasonable centerToFront values

* comment

* fix Bolt centerToFront

* Update ref_commit
old-commit-hash: 89934b35d04291384b7a287a41ce49905f321167
2023-02-15 16:27:00 -08:00
Shane Smiskol 96f7c01b07 process replay: fix hang
old-commit-hash: 2bc2dbfb700e71588c998cf1dfaef10ac9d852ce
2023-02-15 15:55:08 -08:00
Adeeb Shihadeh 5128ca0dd9 locationd: adjust GPS alive check for QCOM GPS (#27339)
* locationd: adjust GPS alive check for QCOM GPS

* update refs

* update refs
old-commit-hash: 00513f10011ad6ad693fbbc9b4b5dc7df36f9a79
2023-02-15 11:28:47 -08:00
Vivek Aithal 5edcf1380e Chevrolet Bolt: Non-linear torque tune (#27344)
* add non linear tune

* update refs

* rerun tests
old-commit-hash: e49748d571d06a65a4361dde1f2f63c7294da13a
2023-02-14 16:20:28 -08:00
Vivek Aithal 474e072c02 GM: update steering limits (#27331)
* reduce steer down limit, driver allowance

* update refs

* update refs
old-commit-hash: 1cdf80003dcaea79375cf398ec65849424f2f44b
2023-02-14 13:22:49 -08:00