mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-08-03 08:41:47 +08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user