Toyota: add TODO comment for TSS-P BSM (#28396)

* Toyota: enable BSM on C-Hr

* Update selfdrive/car/toyota/carstate.py

Co-authored-by: Cameron Clough <cameronjclough@gmail.com>

* remove duplicate block

* Remove useless addition

* make this a comment for now

* remove extra bit

* clean up

* clean up

---------

Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
This commit is contained in:
Irene
2023-08-24 13:52:01 +10:00
committed by GitHub
parent 8b7004e68d
commit cb342461f0
+3
View File
@@ -199,6 +199,9 @@ class CarInterface(CarInterfaceBase):
ret.mass = 4305. * CV.LB_TO_KG
ret.centerToFront = ret.wheelbase * 0.44
# TODO: Some TSS-P platforms have BSM, but are flipped based on region or driving direction.
# Detect flipped signals and enable for C-HR and others
ret.enableBsm = 0x3F6 in fingerprint[0] and candidate in TSS2_CAR
# Detect smartDSU, which intercepts ACC_CMD from the DSU (or radar) allowing openpilot to send it