Jafar Al-Gharaibeh
5b2973b308
Mazda CX-5 2022 Car port ( #23704 )
...
* Mazda CX5 2022 FW
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
* CX-5 2022: No lockout and steer down to zero
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
* CX-5 2022: No dashcam!
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
* CX-5 2022: add to supported cars
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
* Mazda: stick with 800 max torque for now
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
* Update docs/CARS.md
* Apply suggestions from code review
* Mazda: set car models where needed
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
* Mazda: set minSteerSpeed per car
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
* unused
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
* cleanup
* Update selfdrive/car/mazda/interface.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 341f5a4ae0
3 years ago
Shane Smiskol
4864a65f5e
CANParser: remove rest of default values ( #23676 )
...
* forgot honda somehow!
* forgot some more signal defaults
old-commit-hash: 61de3788ff
3 years ago
Jafar Al-Gharaibeh
055b8b06e6
Mazda: alert when LKAS is disabled ( #23288 )
...
* Mazda: alert when LKAS is disabled
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
* update refs
* revert that
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 1c31c9b7a3
3 years ago
Adeeb Shihadeh
71da8d1250
No actuation while in pre-enabled state ( #23658 )
...
* No actuation while in pre-enabled state
* update refs
old-commit-hash: 72e00a0768
3 years ago
Shane Smiskol
fadba4b34d
CANParser: remove default values ( #23642 )
...
* draft
* remove rest
* bump
* update radar interfaces
* do rest and formatting
* bump
* fix mising check
* try this
* Revert "try this"
This reverts commit 0d26d9a072
.
* update refs
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 3645186d7c
3 years ago
Adeeb Shihadeh
597535c014
linter: don't allow implicitly concatenated strings ( #23513 )
...
* linter: don't allow implicitly concatenated strings
* fix hyundai
old-commit-hash: 2c94f15584
3 years ago
Dean Lee
98de810849
check in tuple instead of list ( #23477 )
...
* check in tuple instead of list
* Update selfdrive/car/toyota/carcontroller.py
Co-authored-by: Willem Melching <willem.melching@gmail.com>
* Update selfdrive/car/mazda/interface.py
Co-authored-by: Willem Melching <willem.melching@gmail.com>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: a653461dec
3 years ago
Ewout ter Hoeven
f206ebd054
Pyupgrade 3.6: Update syntax with Python 3.6+ features ( #23305 )
...
Updated Python code with Python 3.6+ features:
- utf-8 encoding is now the default (PEP 3120)
- Replace list comprehensions by Generator Expressions (PEP 289)
- Replace yield loop by yield from (PEP 380)
- Remove the (object) subclass when defining a class
- Replace the IOError alias by OSError (PEP 3151)
- Define sets with curly braces {} instead of set()
- Remove "r" parameter from open function, which is default
Co-Authored-By: Adeeb Shihadeh <8762862+adeebshihadeh@users.noreply.github.com>
Co-Authored-By: GregorKikelj <96022003+GregorKikelj@users.noreply.github.com>
Co-authored-by: Adeeb Shihadeh <8762862+adeebshihadeh@users.noreply.github.com>
Co-authored-by: GregorKikelj <96022003+GregorKikelj@users.noreply.github.com>
old-commit-hash: 332f568a82
3 years ago
Adeeb Shihadeh
55d6972d08
Revert "Mazda: alert when LKAS is disabled ( #23273 )"
...
This reverts commit e67713edb1f62957974f20a0f7eceb2fc9efb1f4.
old-commit-hash: c92199ab1a
3 years ago
Jafar Al-Gharaibeh
9b7dd754c4
Mazda: alert when LKAS is disabled ( #23273 )
...
* Mazda: alert when LKAS is disabled
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
* Update selfdrive/controls/lib/events.py
* Update selfdrive/car/mazda/interface.py
* bump cereal
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: f25121b736
3 years ago
Jafar Al-Gharaibeh
5f92847cfa
Mazda CX-5 2021 FW ( #23270 )
...
dongle id: 661fdb17fa82339c
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
old-commit-hash: cd7db7f48e
3 years ago
Jafar Al-Gharaibeh
241392b370
Mazda: CX-5 and 3 FW ( #23267 )
...
* Mazda 3 2017 fw
dongle id: f7fec643f5178df8
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
* Mazda CX-5 2020 FW
dongle id: f4b488f06d3b7711
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
old-commit-hash: fc7d152dca
3 years ago
Willem Melching
7b3e330def
Log actuators after applying rate limits in CarController ( #23230 )
...
* return actuators from carcontroller
* log it
* pass to latcontrol
* chrysler
* gm
* honda
* more brands
* rest of the brands
* gm cleanup
* hyundai cleanup
* update ref
* rename field
* fix subaru
* add types
* more subaru fixes #23240
* consistent whitespace
* bump cereal
old-commit-hash: 4f1eb4278a
3 years ago
Willem Melching
b8ab21bd64
add CarParams.wheelSpeedFactor ( #23079 )
...
* add CarParams.wheelSpeedFactor
* Fudge speed for Lexus RX
* should have been the TSS2 model
* bump cereal
* refactor into function
* update refs
old-commit-hash: e6180738fd
4 years ago
Adeeb Shihadeh
ed75e6600d
mazda: capitalize CX9 like all others cars
...
old-commit-hash: f0f7359f6a
4 years ago
Jafar Al-Gharaibeh
da895353a0
Mazda: fix typo in CX-5 fw ( #22957 )
...
old-commit-hash: 787dde003e
4 years ago
Jafar Al-Gharaibeh
e8717f23de
Mazda: add three new FW FP ( #22939 )
...
old-commit-hash: 2492a11661
4 years ago
Jafar Al-Gharaibeh
29528bdcb0
Mazda: fix occasional main cruise disable ( #22807 )
...
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
old-commit-hash: b18661a3a6
4 years ago
Jafar Al-Gharaibeh
6c74dc1366
Mazda: disable hud alerts until we find a way to silence audible alerts ( #22808 )
...
* Mazda: disable hud alerts for now until we find a way to silence audible warnings
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
* Mazda: add hud alert for steer lockout
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
* show when above min steer speed
* update refs
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 2621e5301d
4 years ago
Jafar Al-Gharaibeh
24d1105a2a
Mazda: fix occasional steer fault at initial lkas enable ( #22806 )
...
* Mazda: fix occasional steer fault at initial lkas enable
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
* update refs
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 8c38e9c49e
4 years ago
Adeeb Shihadeh
e0456c4989
Mazda: move CX-9 out of dashcam mode ( #22717 )
...
* move cx9 out of dashcam
* no alc below 28
* process replay route
old-commit-hash: 2252c6bba7
4 years ago
Adeeb Shihadeh
3f94d894a1
Mazda: fix up cruise cancellation ( #22750 )
...
* also cancel on cruiseControl.cancel
* set counter in button msg
old-commit-hash: 40b7962b93
4 years ago
Adeeb Shihadeh
7a777b2b49
Mazda: send dash alerts ( #22730 )
...
* Mazda: send dash alerts
* no actuators
* ldw
* send alerts
* test
* use cam parser
* add generic toggle
* wip
* revert some stuff
* try that
* steer required works
* cleanup
* bump panda
* little more cleanup
* no lane lines
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 1848fed6e2
4 years ago
Adeeb Shihadeh
57e92b9284
Mazda: car state cleanup + comments
...
old-commit-hash: f9b6b03f5d
4 years ago
Adeeb Shihadeh
14ede5d6cd
Mazda: allow engaging below min LKAS speed ( #22737 )
...
* Mazda: allow engagement below minimum LKAS speed
* bump panda
* bump panda
old-commit-hash: 4bbeb27f9b
4 years ago
Adeeb Shihadeh
67b42fc1a8
Mazda: fix blinker states ( #22718 )
...
* Mazda: fix blinker states
* not lamp
* back to lamp to fix convenience blinkers
old-commit-hash: 2b4a655f36
4 years ago
Jafar Al-Gharaibeh
febe8bf636
Mazda: Fix OP steer warning in cars with lockout ( #22612 )
...
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
old-commit-hash: ca1f96ac72
4 years ago
Jafar Al-Gharaibeh
b17b840093
Mazda: fix disabling cruise main on after cancelling cruise ( #22193 )
...
On some disengagement events (brake/gas/etc) OP may occasionally
ends up disabling the main cruise control where the driver has
to press the main cruise button before they can engage ACC again.
Try to detect this situation and automatically turn on cruise
when that happens.
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
old-commit-hash: c898939423
4 years ago
Jafar Al-Gharaibeh
db1ffcb8a6
Mazda: Fix steer lockout issue in CX-9 2021 ( #22506 )
...
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
old-commit-hash: d19ac7e49b
4 years ago
Jafar Al-Gharaibeh
d6a4bbc2f6
Mazda: Add CX-9 2021 GT firmware ( #22509 )
...
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
old-commit-hash: 2dff0597b7
4 years ago
Robbe Derks
58c99158a1
Make pandaState and safetyMode a list ( #22454 )
...
* wip: move to pandaStates
* bump cereal
* wip: SafetyMode struct
* move to safetyMode
* fix typo
* this can be None
* fix potential empty pandaStates list
* fix thermald
* fix controlsd
* rename safetyModes to safetyConfigs
* update process_replay
* fix test_models
* bump cereal
old-commit-hash: 91987f38d4
4 years ago
Jafar Al-Gharaibeh
0ccdb8e68b
Mazda: use cruise speed signal from PCM ( #22345 )
...
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: b170c1f4e1
4 years ago
Adeeb Shihadeh
821f1f6cb6
remove community supported cars from community features ( #22330 )
...
* remove community supported cars from community features
* remove bosch and hkg long
* remove test case
* update refs
old-commit-hash: 649af76fd4
4 years ago
Jafar Al-Gharaibeh
e6f91750cd
Mazda 3/CX-5 FW ( #22087 )
...
* Mazda 3 2017 FW
dongle-id: 2f26dfe847d7c138
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
* CX-5 fw
dongle id: 769d87694463b543
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
old-commit-hash: cb63a89dd0
4 years ago
Jafar Al-Gharaibeh
3e093adc60
Batch of Mazda FW ( #22037 )
...
* Mazda CX-9 2021 fw
dongle-id: 09190764dd71c810
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
* Mazda CX-5 2017 FW
dongle-id: ec9d14ccafd6a5bd
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
* Mazda 6 2021 FW
dongle-id: afdcf7eee0222886
* Mazda CX-5 2019 Diesel FW
dongle-id: a90d564521cb048e
Co-authored-by: Shubham Arora <shubhama1903@gmail.com>
Co-authored-by: srbaumruk205 <72043516+srbaumruk205@users.noreply.github.com>
old-commit-hash: a949a49d5e
4 years ago
Jafar Al-Gharaibeh
26990b19b9
Car Port: Mazda CX-9 2021 ( #20864 )
...
* Mazda CX-9 no steer lockout, and newer cars can use more torque
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
* Mazda CX-9 2021 test route
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
* cleanup
* more cleanup
* don't show community features alert if dashcam only
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: ff704e18b7
4 years ago
Jafar Al-Gharaibeh
b7a9a4fb83
Mazda: Latest FP2 FW roundup ( #21529 )
...
* Mazda CX-5 2020 FW
dongle-id: 7158b1c81c34b73a
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
* Mazda CX-9 2018 fw
dongle-id: b7ac84ce9191f3cb
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
* Mazda CX-9 2019 fw
dongle id: 30453440af4c0a5a
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
* Mazda CX-5 2019 FW
dongle-id: a9a9badda9265c17
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
old-commit-hash: e0ed92c03f
4 years ago
Adeeb Shihadeh
691ea8553f
deprecate CP.enableCamera ( #21509 )
...
* deprecate CP.enableCamera
* more removal
* one more
* update refs
old-commit-hash: c72d163e14
4 years ago
Jafar Al-Gharaibeh
e89adbdf7f
Add Mazda CX-5 2018 fw ( #21403 )
...
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
old-commit-hash: 43ead46a46
4 years ago
Jafar Al-Gharaibeh
67f6bb5c9b
Add Mazda 6 and new FW for other models ( #21167 )
...
* Add support for Mazda6
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
* New FWs and Mazda 6 test route
Change Mazda to MAZDA
Mazda6 test route
CX-5 2018 FW
CX-5 2019 Australia FW
CX-9 2016 FW
Mazda3 2014 FW
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
old-commit-hash: 56fbf66c20
4 years ago
Jason Young
51db9216f2
Cleanup carstate quoting styles ( #21109 )
...
* carstate quoting style: VW
* carstate quoting style: Chrysler
* carstate quoting style: Ford
* carstate quoting style: GM
* carstate quoting style: Honda
* carstate quoting style: Hyundai
* carstate quoting style: Mazda
* carstate quoting style: Nissan
* carstate quoting style: Subaru
* carstate quoting style: Soulless Appliances
* Sorry Honda!
old-commit-hash: 83ca5a0d29
4 years ago
Willem Melching
921aa1f0a4
Mazda: remove CAN fingerprints ( #21067 )
...
old-commit-hash: 0f13a80e0b
4 years ago
Jafar Al-Gharaibeh
f108d93bc0
Mazda FP 2.0 support ( #20879 )
...
* Mazda FP 2.0 support
ECU FW for CX-5 2017 and Mazda3 2017
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
* Use standard UDS request/reponse, fix missing arg.
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
* Add CX-5 FW test
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
* update/add FW FP
Current suported models:
CX-5 2017/2021
CX-9 2019/2020
Mazda3 2017/2018
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
* Add Cx-9 2019 FW FP
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
* Remove comments, remove TESTER_PRESENT_REQUEST from Mazda
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
* add transmission ecu to startup test
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
old-commit-hash: 824f93303d
4 years ago
ShaneSmiskol
0d45e6885a
Deprecate brakeLights field ( #20954 )
...
* remove all references to CS.brakeLights
* unused red
* update refs
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 551091bcfa
4 years ago
Jafar Al-Gharaibeh
c5484e5f6f
Mazda 3 2014 Fingerprint ( #20735 )
...
* mazda: don't passthrough unused signals
Some older models do have these, newer models don't.
Either way, they all work just fine if set to zero.
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
* mazda: improve auto resume after full stop. Thanks number1pete
Auto resume doesn't always work after a full stop.
sending RES presses at a higher rate fixes the issue.
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
* Add Mazda 3 2014 fingerprint
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
* Merge mazda 3 fingerprints
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
old-commit-hash: 426faa02f0
4 years ago
Adeeb Shihadeh
05eb44115e
cereal cleanup part 2 ( #20092 )
...
* car stuff
* thermal
* Revert "car stuff"
This reverts commit 77fd1c65eb
.
* panda state
* camera stuff
* start deg
* most is building
* builds
* planner + controls run
* fix up paramsd
* cleanup
* process replay passes
* fix webcam build
* camerad
* no more frame
* thermald
* ui
* paramsd
* camera replay
* fix long tests
* fix camerad tests
* maxSteeringAngle
* bump cereal
* more frame
* cereal master
old-commit-hash: 312b681a46
4 years ago
Willem Melching
4daa6f05cf
Move all CarControllerParams into values.py ( #19663 )
...
* toyota
* use scale from values.py
* nissan
* subaru
* honda
* gm
* toyota combine into CarControllerParams
* nissan refactor
* chrysler refactor
* mazda refactor
* hyundai refactor
* subaru refactor
old-commit-hash: e4cf43c6fc
4 years ago
Igor
95bb79c51c
Parametrize MIN_CAN_SPEED in car interfaces ( #2684 )
...
* Parametrize MIN_CAN_SPEED in car interfaces
* fixed instance in planner.py
* fix typo
* var name change
* changed var name to minSpeedCan for consistency with other uses of CAN in the capnproto files
* added default value to get_std_params, removed unneeded instances from car interface files
* Revert PEP8 autoformat corrections
* update refs
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 093456cc40
5 years ago
Adeeb Shihadeh
f25cec394e
grey panda is unsupported ( #2458 )
...
old-commit-hash: 47c21f10f5
5 years ago
Adeeb Shihadeh
8221c26fab
type hints for alerts and fix community feature alert ( #2196 )
...
* fix startup alert for community features
* type hints for alerts
* more type hints
* fix dashcam only alerts
* more type hints
old-commit-hash: a81a18205e
5 years ago