Skip to content

Commit

Permalink
Ford radar: add information about the Doppler coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
sshane committed Oct 24, 2024
1 parent b2339c5 commit f0f28a4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions opendbc/car/ford/radar_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ def _update_delphi_mrr(self):

# SCAN_INDEX rotates through 0..3 on each message for different measurement modes
# Indexes 0 and 2 have a max range of ~40m, 1 and 3 are ~170m (MRR_Header_SensorCoverage->CAN_RANGE_COVERAGE)
# Indexes 0 and 1 have a Doppler coverage of +-71 m/s, 2 and 3 have +-60 m/s
# TODO: can we group into 2 groups?
scanIndex = msg[f"CAN_SCAN_INDEX_2LSB_{ii:02d}"]
i = (ii - 1) * 4 + scanIndex
Expand Down

0 comments on commit f0f28a4

Please sign in to comment.