feat(filter): constrain particles to rooms, not bounding box

This commit is contained in:
2026-06-05 13:19:54 +02:00
parent 036002cf46
commit d3b823087c
4 changed files with 65 additions and 11 deletions
-6
View File
@@ -129,12 +129,6 @@ defmodule Localiser.Domain.Sensors do
end
end
def enroll_sensor(%Sensor{} = sensor, room_id) do
sensor
|> Sensor.changeset(%{room_id: room_id})
|> Repo.update()
end
def add_calibration(%Sensor{} = sensor, attrs) do
attrs = Map.put(attrs, :sensor_id, sensor.id)