Commit Graph

199 Commits

Author SHA1 Message Date
Shane Smiskol
39cbdbfecf add accFaulted to carState (#295)
better location
2022-05-02 17:51:17 -07:00
Shane Smiskol
c9cdd7e398 Deprecate uint32 safetyParam (#289) 2022-05-02 12:50:58 -07:00
Keyvan Fatehi
8e9e9d3cee add fuelGauge to CarState (#292)
A Float32 "fuelGauge" represents the fuel gauge value from
0.0 to 1.0. It should be generic enough for whatever power
source we call fuel be it gas, electric or something else.
2022-05-01 08:51:51 -07:00
Adeeb Shihadeh
a057aed167 add controlsdLagging alert 2022-04-28 14:10:11 -07:00
Shane Smiskol
29f4fe89ef Make safetyParam unsigned (#276)
* make safety param unsigned

new ordinal

safety config as well

* fix dup ordinal
2022-04-20 23:25:41 -07:00
Adeeb Shihadeh
932c44c6bd add carState.canTimeout (#280) 2022-04-12 15:13:30 -07:00
Adeeb Shihadeh
aa52e6dfbe fix duplicate ordinal 2022-04-06 22:27:21 -07:00
Adeeb Shihadeh
0eea83d34b add canBusMissing event 2022-04-06 22:20:13 -07:00
Willem Melching
24c34d7bc0 add cameraFrameRate alert (#275) 2022-04-06 17:10:17 -07:00
Willem Melching
1620ce54ee add SubMaster.freq_ok (#274)
* add SubMaster.freq_ok

* actually check freq_ok

* include freq ok into alive again

* revert those changes

* split out from alive
2022-04-06 16:07:18 -07:00
HaraldSchafer
947166f04c Torque control (#272)
* Add new controller

* Craycray now torque

* Add proper logging

* Fix and add rate

* No kd needed
2022-04-05 16:22:05 -07:00
Adeeb Shihadeh
3d5e778425 add debug ecu 2022-04-05 11:26:19 -07:00
Shane Smiskol
1a1e03e451 controlsState: add overriding state (#268)
* add gasPressedPreEnable and override AlertStatus

* add state machine fields

* just rename for now

* add gasPressedOverride

* pedalPressedPreEnable includes brake in the future
2022-04-01 18:43:28 -07:00
Adeeb Shihadeh
f05953e72a add carState.notCar (#271) 2022-04-01 15:17:04 -07:00
Igor Biletskyy
c7c22aacfc add safety mode for comma body(#270) 2022-03-30 19:05:01 -07:00
Adeeb Shihadeh
a818779f1a deprecate carParams.steerMax* (#266)
Co-authored-by: Harald Schafer <harald.the.engineer@gmail.com>
2022-03-25 19:03:13 -07:00
Shane Smiskol
e94649e0ed rename unsafeMode to alternativeExperience (#260)
* update unsafeMode name

* Update car.capnp

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2022-03-24 13:55:49 -07:00
Jason Young
694dd63d0f FAW: Add safety mode (#261) 2022-03-21 08:45:11 -07:00
HaraldSchafer
447d8b8a7a Add angular rates (#259) 2022-03-16 21:31:03 -07:00
Adeeb Shihadeh
ad2fe885da add carState.parkingBrake 2022-03-14 16:08:33 -07:00
Shane Smiskol
84a1793eb4 Add carControl.latActive & carControl.longActive (#255) 2022-03-13 20:29:45 -07:00
Willem Melching
1217cad445 Revert "Fields for active actuators (#248)"
This reverts commit 3a313f364d.
2022-03-08 13:48:36 +01:00
Shane Smiskol
3a313f364d Fields for active actuators (#248)
* move active to actuators packet

* add back

* carControl->long/latActive
2022-03-07 15:14:28 -08:00
Adeeb Shihadeh
df60d9da00 better steer fault names (#249) 2022-03-01 22:35:38 -08:00
Willem Melching
32eae5e80d LongitudinalPIDTuning.kf 2022-02-16 15:00:00 +01:00
Shane Smiskol
5c64eaab78 Add unsafeMode to carParams (#242)
doesn't vary by panda

add to pandaState for health packet as well
2022-01-25 11:20:26 +01:00
Adeeb Shihadeh
e2868d85ae deprecate carParams.communityFeature 2022-01-24 14:21:30 -08:00
Adeeb Shihadeh
102638623c actually deprecate 2022-01-24 13:40:10 -08:00
Adeeb Shihadeh
d3805815d9 deprecate community features event 2022-01-24 13:37:27 -08:00
Diego Tellez
d61741abed fix typo (#241)
fixed a small typo
2022-01-14 07:19:52 -08:00
Shane Smiskol
70aeecf093 deprecate some fields (#238) 2022-01-04 15:24:59 -08:00
Jafar Al-Gharaibeh
e83ec3be7d Add event for LKAS disabled (#235)
Signed-off-by: Jafar Al-Gharaibeh <to.jafar@gmail.com>
2021-12-20 14:41:21 -08:00
Willem Melching
f1c5c8ef7c Log actual actuator command that was sent (#233)
* un-deprecate gas/brake

* log processed actuators

* add speed for honda

* rename and add comment
2021-12-16 12:21:25 +01:00
Adeeb Shihadeh
f45cd59d78 deprecate minSpeedCan 2021-12-14 12:14:44 -08:00
Adeeb Shihadeh
e5a04ab458 add carParams.flags (#225) 2021-12-05 13:22:16 -08:00
Willem Melching
c4a1c9fa00 add CarParams.wheelSpeedFactor (#228) 2021-12-03 14:01:56 +01:00
Adeeb Shihadeh
596d34e77a add promptDistracted alert sound 2021-12-01 11:51:28 -08:00
Adeeb Shihadeh
9ce45916c6 new sounds (#219)
* new sounds

* refuse

* deprecate distracted warning

* refuse
2021-11-30 17:47:32 -08:00
Adeeb Shihadeh
819ecdaec9 Revert "deprecated old safety modes", doesn't make sense to deprecate this
This reverts commit 5a5968c53c.
2021-11-25 22:32:13 -08:00
Adeeb Shihadeh
032aca6ca3 only harness now 2021-11-21 14:19:39 -08:00
Adeeb Shihadeh
5a5968c53c deprecated old safety modes 2021-11-19 14:25:34 -08:00
HaraldSchafer
78ded8f860 need this sometimes (#218) 2021-11-12 12:25:03 -08:00
Willem Melching
c2761bdbd8 add cruiseMismatch event (#217)
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2021-11-10 12:59:35 -08:00
Willem Melching
4d93775f7e Revert "add cruiseMismatch event"
This reverts commit c453f307e9.
2021-11-10 16:22:55 +01:00
Adeeb Shihadeh
c453f307e9 add cruiseMismatch event 2021-11-09 17:37:19 -08:00
Adeeb Shihadeh
12162ac4de add chimeWarningRepeat + chimeWarningRepeatInfinite audible alerts 2021-11-09 15:52:31 -08:00
Adeeb Shihadeh
aa349f6c31 add brake hold to carState 2021-11-07 16:37:54 -08:00
Robbe Derks
5168470661 Convert pandaState and safetyParam to lists (#206)
* list of pandaStates

* fix last commit

* safetyParams is now also a list

* move to list(SafetyMode)

* safetyMode to safetyConfig
2021-10-08 17:52:41 +02:00
Adeeb Shihadeh
99e2733dc9 deprecate carParams.hasStockCamera 2021-10-05 14:27:06 -07:00
Willem Melching
bbcc8eea73 deprecate fuzzy fingerprint startup alert (#200) 2021-09-23 17:14:54 -07:00