Commit Graph

1257 Commits

Author SHA1 Message Date
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: eee7dd082f
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: 03eb02906d
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: 922b09de96
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: d59bfa5519
2023-04-17 19:05:16 -07:00
Adeeb Shihadeh
5df915f197 ci: locationd cpu has increased a bit
old-commit-hash: cddb7c37e6
2023-04-01 16:05:51 -07:00
Harald Schäfer
f6e3dc289c Locationd qcom retune (#27739)
old-commit-hash: eca3838237
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: 15b880c0ea
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: 85908f7e2b
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: 42449b482d
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: 26541d9e7a
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: e05e7850e1
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: aefe636cc1
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: aeb905a2bf
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: 7319afbd51
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: ee36c106af
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: 204f7d8623
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: 4cff94366f
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: 95216de591
2023-03-16 17:00:54 -07:00
Harald Schäfer
10c2efc2bd Bump laika (#27605)
* bump laika

* Update ref_commit
old-commit-hash: 719901b57c
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: 5c70482761
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: 17b71b477e
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: c97911dbad
2023-03-08 16:11:18 -08:00
Adeeb Shihadeh
3a968c67e1 loggerd: move to system/ (#27534)
old-commit-hash: 94eb215980
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: 3892c60980
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: e729f5b763
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: 3ab8645d3a
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: b688122042
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: d5688ae49f
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: b00eb57bb7
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: f2982340f8
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: 1504c10760
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: dff054d4df
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: eb8bdc0026
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: 04fe6c4ec7
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: b2453d55c1
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: 89934b35d0
2023-02-15 16:27:00 -08:00
Shane Smiskol
96f7c01b07 process replay: fix hang
old-commit-hash: 2bc2dbfb70
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: 00513f1001
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: e49748d571
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: 1cdf80003d
2023-02-14 13:22:49 -08:00
Shane Smiskol
f258edae73 Hyundai: detect LFA HDA message (#27323)
* detect lfa message

* comment

* ?

* fix

* Update ref_commit
old-commit-hash: 65a9843ff9
2023-02-13 21:12:13 -08:00
Adeeb Shihadeh
caaa104d64 Chrysler: revert torque tuning (#27327)
* Chrysler: revert torque tuning

* update refs

* update refs + route
old-commit-hash: e3de6b8834
2023-02-13 16:15:59 -08:00
Adeeb Shihadeh
7279f7d615 update chrysler test segment with new flag
old-commit-hash: ed52916d55
2023-02-10 23:47:47 -08:00
Shane Smiskol
698c6e6624 GM: add hysteresis to cluster speed (#27301)
* add cluster hysteresis

* Update ref_commit
old-commit-hash: 5831a83c90
2023-02-10 16:14:53 -08:00
Shane Smiskol
58e6704a6f GM: split steering speeds (#27277)
* split steering speeds

* update docs

* Update ref_commit
old-commit-hash: 29ca52bc48
2023-02-09 16:53:16 -08:00
Shane Smiskol
acc8e38111 GM: enforce steering command message timing (#27250)
* draft

* bump opendbc

* still draft

* that's not right

* superset of the changes, 33hz

* cleanup

* this should work

* remove line

* pass it in again

* actually no need to check updated now

* now_nanos

* consistent name

* fix replay

* one line isn't that bad

switch

switch

* fix CarController tests

* Update ref_commit
old-commit-hash: 8f5057ff2d
2023-02-09 15:37:39 -08:00
Shane Smiskol
2e78f89e74 GM: increase min steer speed to avoid temporary faults (#27274)
* increase min steer speed to avoid temp volt faults

* actually 10.15 is safe

* Update ref_commit
old-commit-hash: 9aac0806e3
2023-02-09 13:24:52 -08:00
YassineYousfi
542e915982 new model: improved height estimation (#27234)
* 07a3a2b2-6dbe-43c3-9bb9-a8023932e054/449 c3d7d18a-6207-42e7-84d9-601ecb3c6f0e/700

* 07a3a2b2-6dbe-43c3-9bb9-a8023932e054/449 db92e7f3-3f4b-4f0f-95ff-76cb6ed6894a/700

* update ref commit
old-commit-hash: 1e49c54ffb
2023-02-08 22:21:31 -08:00
Shane Smiskol
503fea8e12 GM: reduce steering message rate (#27201)
* Lower active rate and raise limits to compensate

* bump panda

* bump panda

* Update ref_commit

* bump panda to master
old-commit-hash: 86d86fa9da
2023-02-07 23:38:05 -08:00
Kurt Nistelberger
466f83cba5 GPS: add tow to gps ephemeris (#27246)
* add tow to gps ephemeris

* bump cereal

* update refs

---------

Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
old-commit-hash: 6330cdd885
2023-02-07 17:49:06 -08:00