Commit Graph

551 Commits

Author SHA1 Message Date
Shane Smiskol
8f5057ff2d 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
2023-02-09 15:37:39 -08:00
Shane Smiskol
9aac0806e3 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
2023-02-09 13:24:52 -08:00
Shane Smiskol
86d86fa9da 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
2023-02-07 23:38:05 -08:00
Kurt Nistelberger
6330cdd885 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>
2023-02-07 17:49:06 -08:00
Cameron Clough
b1e744987f Ford: add Lincoln Aviator 2021 to Ford Explorer platform (#27095)
* add Lincoln Aviator 2021 to Ford Explorer platform

Based on the Ford Explorer, the Aviator has very similar firmware
versions. Add these to the Explorer platform and create a new CarInfo
for the Aviator.

f0709d2bc6ca451f|2022-12-10--12-36-59--0

VIN: 5LM5J7XC8MGL09541

* Ford: new gear shifter signal to support Aviator

* probably don't need these

* don't need to pass None here, it defaults to None

* will rename in DBC

* bump opendbc

* bump process replay ref
2023-02-02 22:00:49 -08:00
Kurt Nistelberger
4e27a7f22a Glonass support, ubloxd add ephemeris parsing (#27119)
* add glonass kaitai parsing

* add kaita generated files

* remove glonass from build

* add string non immediate type

* fix kaitai bug

* cleanUp

* add patch file

* fix scons order

* make lookup const

* remove comments

* rename

* add to release files

* add signs

* final ublox parsing

* bump cereal

* update ref

---------

Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
2023-02-02 19:29:45 -08:00
Adeeb Shihadeh
b3b35b23fa controlsd: don't show steer saturated if recently overriding (#27191)
* controlsd: don't show steer saturated if recently overriding

* 2s

* update refs
2023-02-02 17:12:13 -08:00
Adeeb Shihadeh
444df54a70 Chrysler: disable radar parsing (#27190)
* Chrysler: disable radar parsing

* update refs
2023-02-02 13:46:44 -08:00
Kurt Nistelberger
3d98cb72c0 Ubloxd: gps add iodc check (#27162)
* gps add iodc check

* add test

* simplify

* update ref

---------

Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
2023-02-01 14:19:40 -08:00
Vivek Aithal
519b3c8847 paramsd: Check if roll from the localizer is actually valid (#27105)
* add roll_valid check, use localizer roll when it is valid

* increase std to 1.5

* btter check

* avoid numpy

* update refs

* update refs
2023-02-01 11:21:51 -08:00
Shane Smiskol
022ef679e6 GM camera ACC: reliable relay closing (#27164)
* Reliable relay open

* Reliable relay close

* ign in a loop

* fixes

* we need this

* log

* comment to remind me tmrw

* ign fix

* this makes it 2x more reliable, but messyyy

* Revert "this makes it 2x more reliable, but messyyy"

This reverts commit 03401dc4a705cfacbe5a7048d95dccb6fa80d57f.

* revert non-related stuff

* comments, spaces

* a stands for indefinite article

* not applicable for non-camera acc

* something...

* Revert "something..."

This reverts commit de8a158488efd5ef257434fbc3c55aefff800cb7.

* Update ref_commit
2023-01-31 20:26:33 -08:00
cydia2020
1ba590e043 Toyota: make LKAS message 5hz (#26830)
* Toyota: make LKAS message 5hz

* update refs

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-01-31 15:12:31 -08:00
Vivek Aithal
8d447e8a08 [RAM 1500 5TH GEN] Disable Live Torque (#27121)
* revert ram on live torque

* update refs

* update refs
2023-01-27 15:20:59 -08:00
Shane Smiskol
cb62a5397e process replay: add Ford Bronco Sport segment (#27112)
* Add Ford segment to process replay

* fix dashcam cars

* clean up

* fix NotImplementedError

* Update refs
2023-01-27 14:14:04 -08:00
Shane Smiskol
ad5b3ea410 controls: add curvature to actuators (#27108)
* Add curvature to actuators

* Use it in CC

* revert ford stuff

* Update ref_commit
2023-01-26 20:02:23 -08:00
Vivek Aithal
7ba8e56e87 [RAM 1500 5TH GEN] Update offline torque parameters and enable torqued (#27072)
* make run torque learnable

* update ram offline values

* add ram 1500 to torqued

* update refs
2023-01-24 19:22:13 -08:00
Kurt Nistelberger
9131da9103 Revert "Add low Gnss laikad test (#26987)"
This reverts commit b7ce77b3aa.
2023-01-19 11:46:22 -08:00
Kurt Nistelberger
b7ce77b3aa Add low Gnss laikad test (#26987)
* add low gnss test

* enable laikad

* temp fix for cache

* update replay

* save LaikadEphemeris for testing

* rem

* update refs

* add comment

Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
2023-01-18 22:29:12 -08:00
Kurt Nistelberger
669becadde Ublox tow continuity check (#27001)
* add continuity check

* simplify

* remove pair

* update refs

* bump laika update refs

Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
2023-01-18 18:57:54 -08:00
Harald Schäfer
4c33d94d3f Revert locationd to gpsLocation (#26963)
* revert locationd laika change

* switch msg

* change proc replay

* back to gpslocation

* update ref

* no np floats in msg

* Ignore empty laikad messages in mapos

* more tolerance

* c++ doesnt work like that
2023-01-14 16:56:14 -08:00
Vivek Aithal
2e36d07106 paramsd: Remove one active condition (#26922)
* remove one active condition

* update refs

* remove unused vars

* update refs

* update refs
2023-01-13 13:23:06 -08:00
Kurt Nistelberger
88423e25df Laikad: set active (#26850)
* laikad update, renaming

* update locationd

* fix naming

* address PR comments

* upsi

* .

* draft to fix replay

* fix process relay to allow no response for messages

* final fix for process replay

* .

* bump cereal

* update process replay ref commit

* reduce wait time

* .

* last ref change

* move laikad helpers to laika

* .

* fix ublox test

* update refs

* add proper qcom replay support

* fix gnss support if both is available

* update refs

* remove left over

* revert laikad msg

* move laika back to master

* init

* fix gps valid flag

* change time

* add gnss to ignore

* remove gps_valid flag

* .

* adopt orientation reset threshold

* .

* update laikad

* .

* fix stanstill KF resets

* test orienation reset count

* update laika

* bump cereal

* fix process replay

* update laika repo

* remove handle gps

* add extra logging for cache

* .

* add more log

* .

* .

* update laika

* dont remove gps code

* inc min satellite count

* update magic vals and add acc drop

* update laika

* upsi

* rem

* bump laika

* use nav and correct

* more fixes

* use sftp

* No more glonass

* Revert "No more glonass"

This reverts commit a76124da50a1e25f423ad1137c7a046e1d57811d.

* nump laika

* back support old ephemeris cache

* add health to ephemeris message

* bump laika

* remove print

* fix laikad tests

* clean

* remove extra log

* bump laika

* inc timeout for plotjuggler build

* rem cache clear

* .

* enable gps after checks

Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
Co-authored-by: Bruce Wayne <harald.the.engineer@gmail.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-01-13 11:37:38 -08:00
Shane Smiskol
257a45dd18 HKG: filter on steering pressed (#26924)
* filter on can steering pressed

* Update ref_commit
2023-01-11 20:25:01 -08:00
Shane Smiskol
f0d0d99981 process replay: test body with joystick mode (#26916)
* no need to check sm

* fix

* Update ref_commit

* revert
2023-01-10 19:59:39 -08:00
Shane Smiskol
b45dda2d0a Longitudinal tests: test forceDecel (#26765)
* test with forceDecel

* test all combos

* fix

* fix

* fix

* ...

* remove print

* clean up

* just set cruise to 0

* update ref commit

Co-authored-by: Bruce Wayne <harald.the.engineer@gmail.com>
2023-01-10 14:46:43 -08:00
Tim Wilson
a40efbdfcc GM camera ACC: always set long tune (#26892)
* GM: set long tune for camera car w/o exp. mode

* same tuning

* update refs

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-01-09 15:01:55 -08:00
Kurt Nistelberger
981532f0c3 Laikad preperation (#26800)
* laikad update, renaming

* update locationd

* address PR comments

* draft to fix replay

* fix process relay to allow no response for messages

* bump cereal

* update process replay ref commit

* move laikad helpers to laika

* fix ublox test

* update refs

* add proper qcom replay support

* fix gnss support if both is available

* update refs

* move laika back to master

* move cereal back to master

Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
2022-12-29 16:56:35 -08:00
Harald Schäfer
8744384a4f Sonata less starting state accel (#26363)
* Sonata less start accel

* Update ref_commit
2022-12-16 17:21:42 -08:00
royjr
9743b37cf2 Honda: set MINI_CAR when engaged (#26797)
* Update hondacan.py

* update refs

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-12-14 15:51:24 -08:00
cydia2020
2f80580fee Toyota: keep Lane Sway Warning system (#24782)
* Toyota: pass through sway warning system signals

* signal doesn't seem to exist on the Prius V

bad log?

* remove duplicated checks

* syntax

* Revert "syntax"

This reverts commit 6c30c30d46e55a3595d7e2519b448d49c2f08a66.

* Revert "remove duplicated checks"

This reverts commit 6a364984eb8adfb0ee61b87452730da389dd5ff1.

* Revert "signal doesn't seem to exist on the Prius V"

This reverts commit 57fa571fde79336a48c50b617755fb2f68b2f124.

* Revert "Revert "signal doesn't seem to exist on the Prius V""

This reverts commit 9b1c3f6cacea74aa12a472bf02c469ffcd88eb24.

* Revert "Revert "remove duplicated checks""

This reverts commit 38bc7f3de6011e81c8e5f825a15dc9ec2fdcf5b0.

* Revert "Revert "syntax""

This reverts commit f81f93631f9a04406f818a2528680017635f229c.

* hard code values for Prius V

* send ui once every 25 frames

remove send ui logic

* send UI immediately on pcm_cancel_cmd

* draft

* clean that up

* same order as toyotacan

* update refs

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-12-13 15:42:54 -08:00
Shane Smiskol
9be7e527a9 HKG CAN-FD: steering pressed filter (#26789)
* steering pressed filter

* use a counter

* parameterize

* double

* filter doesn't instantly reset on falling edge of true steering pressed

* Update selfdrive/car/interfaces.py

* Update selfdrive/car/interfaces.py

* Update selfdrive/car/hyundai/carstate.py

* add comment

* the pain of committing without pycharm

* more like a filter

* Update ref_commit
2022-12-13 14:33:20 -08:00
Jason Wen
c954634ac0 HKG CAN-FD: common distance unit signal (#26758)
* Check DISTANCE_UNIT on CRUISE_BUTTONS for all CAN-FD HKG

* update refs

* move down

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2022-12-12 20:33:16 -08:00
Adeeb Shihadeh
7bfb63b93c update refs for GM checksum change 2022-12-12 19:10:03 -08:00
Adeeb Shihadeh
151e0d8c39 controlsd: add blinkers to carControl (#26773)
* controlsd: add blinkers to carControl

* not actuators

* update refs
2022-12-12 14:03:09 -08:00
Adeeb Shihadeh
7548160dcd update refs for max lat accel change 2022-12-11 14:19:07 -08:00
Shane Smiskol
ba7a474765 Toyota: lower stopping speed (#26274)
* lower toyota stopping speed

* order

* Update selfdrive/car/toyota/interface.py

* Update ref_commit
2022-12-10 02:25:16 -08:00
Shane Smiskol
f36a3664b0 CarController: log steer sent to the car (#26743)
* log value sent to the car

* rename

* bump

* Update ref_commit
2022-12-10 02:03:40 -08:00
Shane Smiskol
dbe512d167 controlsd: preEnable on brake at a standstill (#26273)
* pre-enable on brake at standstill

* test by getting rid of noTarget

* Update events.py

* rename

* stash what we got so far

* cmt

* not sure if best way to fix, but enabled with current states defs is fine

* no noEntry in preEnabled

* bumpcereal

* uncomment

* Update ref_commit

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-11-29 17:34:10 -08:00
Vivek Aithal
0706b03e8c [controlsd] Toyota Prius 2017 (#26455)
* increase lag on prius

* better offline values computation

* split prius ecu more, set deadzone to 0

* add deadzone back

* replace deadzone with slack

* reduce deadzone to 0.2

* update refs
2022-11-29 10:47:13 -08:00
Jason Young
636ff5979f VW MQB: Redundant brake pressed signals (#26401)
* VW MQB: Redundant brake pressed signals

* retry CI

* update refs

* update refs

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-11-22 16:18:42 -08:00
Shane Smiskol
9fdbe9f397 GM Cam: log when cruise not adaptive (#26581)
* bump opendbc

* log when nonAdaptive

* Update ref_commit
2022-11-22 15:18:10 -08:00
Harald Schäfer
fbf3ef0895 More Honda rate limit (#26509)
* More Honda rate limit

* Update ref_commit
2022-11-15 14:21:00 -08:00
Harald Schäfer
e58f6fbc11 Rate limit honda steer (#26500)
* Rate limit honda steer

* Update ref_commit
2022-11-15 00:46:47 -08:00
Shane Smiskol
15383d3016 GM: match stock enabling behavior (#26442)
* add first draft enable button timeout

* use allow_enable

* it doesn't count if brakePressed

* enable on rising edge of resume (matches stock)

* not today

* add comment describing the fault this avoids

* cleaner

* handle incrementing speed

* rename

* add test for not changing speed if enabled changes mid-press

* spacey

* ugh

* bumpo

* need this to fix a fault (draft)

* already have

* this should be cancel

* fine to do for all

* fine to do for all

* bump

* bumpo

* bump to master

* Update selfdrive/car/gm/interface.py

* Update selfdrive/car/gm/interface.py

* Update ref_commit
2022-11-13 21:13:46 -08:00
Shane Smiskol
ca37d0c8cc interfaces: disable on falling edge of cancel button (#26493)
* both

* Update ref_commit
2022-11-13 20:50:28 -08:00
Shane Smiskol
89b88fc7a2 Hyundai: fix button enable controls mismatch (#26471)
* bump panda

* buttonCancel needs to be a noEntry

* bompo

* Update ref_commit
2022-11-11 14:49:38 -08:00
Shane Smiskol
74b6e22a7d controls: disengage on regen paddle independently (#26453)
* add regen braking field that's just used to add a pedalPressed

* bump

* bump

* Update ref_commit

* we want the standstill check

we want the standstill check

* see what diff is now

* Update ref_commit
2022-11-10 19:06:31 -08:00
Shane Smiskol
e1001a3036 Toyota: factor on cluster speed to match dash (#26408)
* add a minimum factort

* Update ref_commit
2022-11-09 18:27:30 -08:00
Shane Smiskol
191b8081b2 GM Camera: use ECM brake pressed bit (#26400)
* GM camera: use ECM brake pressed bit

* bump panda and use more reliable bit

* bump panda

* back to ECMEngineStatus

* bump

* Update selfdrive/car/gm/carstate.py

* bump panda

* Update ref_commit
2022-11-08 20:52:35 -08:00
Shane Smiskol
52a644e656 Toyota: add hysteresis to cluster speed (#26386)
* add hysteresis to cluster speed

* add minimum cluster scaling

* fix

* Update ref_commit
2022-11-08 00:03:23 -08:00