            'steerRatio': liveParameters.steerRatio,
            'stiffnessFactor': liveParameters.stiffnessFactor,
            'angleOffsetAverageDeg': liveParameters.angleOffsetAverageDeg,
          }
          params_reader.put_nonblocking("LiveParameters", json.dumps(params))
  
        pm.send('liveParameters', msg)
  
  
  if __name__ == "__main__":
 
</s> remove       params.put_bool_nonblocking("IsRhdDetected", driver_status.wheel_on_right)
 </s> add       put_bool_nonblocking("IsRhdDetected", driver_status.wheel_on_right) </s> remove   params = Params()

 </s> add  </s> remove         self.params.put_nonblocking("CarBatteryCapacity", str(int(self.car_battery_capacity_uWh)))
 </s> add         put_nonblocking("CarBatteryCapacity", str(int(self.car_battery_capacity_uWh))) </s> remove   driver_status = DriverStatus(rhd_saved=params.get_bool("IsRhdDetected"))
 </s> add   driver_status = DriverStatus(rhd_saved=Params().get_bool("IsRhdDetected"))
        put_nonblocking("LiveParameters", json.dumps(params))
            'steerRatio': liveParameters.steerRatio,
            'stiffnessFactor': liveParameters.stiffnessFactor,
            'angleOffsetAverageDeg': liveParameters.angleOffsetAverageDeg,
          }
        put_nonblocking("LiveParameters", json.dumps(params))
  
        pm.send('liveParameters', msg)
  
  
  if __name__ == "__main__":
keep keep keep keep replace keep keep keep keep keep
 Revert "params: safe and efficient async writing parameters (#25912)"

This reverts commit 0d797f4e8b2552192669d0329c14849f0a970066. 
selfdrive/locationd/paramsd.py