suryad
12e79761e1
Mazda: add 2017 CX-9 firmware ( #23742 )
4 years ago
Jafar Al-Gharaibeh
341f5a4ae0
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>
4 years ago
Shane Smiskol
61de3788ff
CANParser: remove rest of default values ( #23676 )
...
* forgot honda somehow!
* forgot some more signal defaults
4 years ago
Jafar Al-Gharaibeh
1c31c9b7a3
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>
4 years ago
Adeeb Shihadeh
72e00a0768
No actuation while in pre-enabled state ( #23658 )
...
* No actuation while in pre-enabled state
* update refs
4 years ago
Shane Smiskol
3645186d7c
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>
4 years ago
Adeeb Shihadeh
2c94f15584
linter: don't allow implicitly concatenated strings ( #23513 )
...
* linter: don't allow implicitly concatenated strings
* fix hyundai
4 years ago
Dean Lee
a653461dec
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>
4 years ago
Ewout ter Hoeven
332f568a82
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>
4 years ago
Adeeb Shihadeh
c92199ab1a
Revert "Mazda: alert when LKAS is disabled ( #23273 )"
...
This reverts commit f25121b736
.
4 years ago
Jafar Al-Gharaibeh
f25121b736
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>
4 years ago
Jafar Al-Gharaibeh
cd7db7f48e
Mazda CX-5 2021 FW ( #23270 )
...
dongle id: 661fdb17fa82339c
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
4 years ago
Jafar Al-Gharaibeh
fc7d152dca
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>
4 years ago
Willem Melching
4f1eb4278a
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
4 years ago
Willem Melching
e6180738fd
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
4 years ago
Adeeb Shihadeh
f0f7359f6a
mazda: capitalize CX9 like all others cars
4 years ago
Jafar Al-Gharaibeh
787dde003e
Mazda: fix typo in CX-5 fw ( #22957 )
4 years ago
Jafar Al-Gharaibeh
2492a11661
Mazda: add three new FW FP ( #22939 )
4 years ago
Jafar Al-Gharaibeh
b18661a3a6
Mazda: fix occasional main cruise disable ( #22807 )
...
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
4 years ago
Jafar Al-Gharaibeh
2621e5301d
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>
4 years ago
Jafar Al-Gharaibeh
8c38e9c49e
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>
4 years ago
Adeeb Shihadeh
2252c6bba7
Mazda: move CX-9 out of dashcam mode ( #22717 )
...
* move cx9 out of dashcam
* no alc below 28
* process replay route
4 years ago
Adeeb Shihadeh
40b7962b93
Mazda: fix up cruise cancellation ( #22750 )
...
* also cancel on cruiseControl.cancel
* set counter in button msg
4 years ago
Adeeb Shihadeh
1848fed6e2
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>
4 years ago
Adeeb Shihadeh
f9b6b03f5d
Mazda: car state cleanup + comments
4 years ago
Adeeb Shihadeh
4bbeb27f9b
Mazda: allow engaging below min LKAS speed ( #22737 )
...
* Mazda: allow engagement below minimum LKAS speed
* bump panda
* bump panda
4 years ago
Adeeb Shihadeh
2b4a655f36
Mazda: fix blinker states ( #22718 )
...
* Mazda: fix blinker states
* not lamp
* back to lamp to fix convenience blinkers
4 years ago
Jafar Al-Gharaibeh
ca1f96ac72
Mazda: Fix OP steer warning in cars with lockout ( #22612 )
...
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
4 years ago
Jafar Al-Gharaibeh
c898939423
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>
4 years ago
Jafar Al-Gharaibeh
d19ac7e49b
Mazda: Fix steer lockout issue in CX-9 2021 ( #22506 )
...
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
4 years ago
Jafar Al-Gharaibeh
2dff0597b7
Mazda: Add CX-9 2021 GT firmware ( #22509 )
...
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
4 years ago
Robbe Derks
91987f38d4
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
4 years ago
Jafar Al-Gharaibeh
b170c1f4e1
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>
4 years ago
Adeeb Shihadeh
649af76fd4
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
4 years ago
Jafar Al-Gharaibeh
cb63a89dd0
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>
4 years ago
Jafar Al-Gharaibeh
a949a49d5e
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>
4 years ago
Jafar Al-Gharaibeh
ff704e18b7
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>
4 years ago
Jafar Al-Gharaibeh
e0ed92c03f
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>
4 years ago
Adeeb Shihadeh
c72d163e14
deprecate CP.enableCamera ( #21509 )
...
* deprecate CP.enableCamera
* more removal
* one more
* update refs
4 years ago
Jafar Al-Gharaibeh
43ead46a46
Add Mazda CX-5 2018 fw ( #21403 )
...
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
4 years ago
Jafar Al-Gharaibeh
56fbf66c20
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>
4 years ago
Jason Young
83ca5a0d29
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!
4 years ago
Willem Melching
0f13a80e0b
Mazda: remove CAN fingerprints ( #21067 )
4 years ago
Jafar Al-Gharaibeh
824f93303d
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>
4 years ago
ShaneSmiskol
551091bcfa
Deprecate brakeLights field ( #20954 )
...
* remove all references to CS.brakeLights
* unused red
* update refs
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
4 years ago
Jafar Al-Gharaibeh
426faa02f0
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>
4 years ago
Adeeb Shihadeh
312b681a46
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
5 years ago
Willem Melching
e4cf43c6fc
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
5 years ago
Igor
093456cc40
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>
5 years ago
Adeeb Shihadeh
47c21f10f5
grey panda is unsupported ( #2458 )
5 years ago