Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
sshane committed Oct 24, 2024
1 parent 693f02b commit 9e39946
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 9 deletions.
4 changes: 0 additions & 4 deletions opendbc/car/car.capnp
Original file line number Diff line number Diff line change
Expand Up @@ -324,10 +324,6 @@ struct RadarData @0x888ad6581cf0aacb {

# some radars flag measurements VS estimates
measured @6 :Bool;

flags @7 :Int32; # radar specific flags
flags2 @8 :Int32; # radar specific flags
flags3 @9 :Int32; # radar specific flags
}

# deprecated
Expand Down
2 changes: 1 addition & 1 deletion opendbc/car/ford/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def _get_params(ret: structs.CarParams, candidate, fingerprint, car_fw, experime
ret.carName = "ford"
ret.dashcamOnly = bool(ret.flags & FordFlags.CANFD)

ret.radarUnavailable = False
ret.radarUnavailable = True
ret.steerControlType = structs.CarParams.SteerControlType.angle
ret.steerActuatorDelay = 0.2
ret.steerLimitTimer = 1.0
Expand Down
4 changes: 0 additions & 4 deletions opendbc/car/ford/radar_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,10 +160,6 @@ def _update_delphi_mrr(self):
self.pts[i].yRel = yRel
self.pts[i].vRel = distRate

# self.pts[i].flags = look_index
self.pts[i].flags2 = scanIndex
# self.pts[i].flags3 = super_res

self.pts[i].measured = True

else:
Expand Down

0 comments on commit 9e39946

Please sign in to comment.