Open dxmnkd316 opened 4 months ago
According to chat gpt we're both wrong:
https://chat.openai.com/share/32ab4ad6-181a-4974-9868-a5a9abfa5b1e
0.65 has the fix. Doesn't seem too different to me, but lmk.
Just wanted to circle back on this. I recently added a bunch of new base stations around the house. I've been playing with the gaussian weighting a bit more and I'm finding a couple things:
Edit: May have spoken too soon. I had to drop the sigma back down. It just started pushing my devices outside of the house. I probably need to also dial back the max distances.
Is the Gaussian function written correctly? Maybe I missed something but it looks like it's missing a power in the first sigma term? var y = 1d / Math.Sqrt(_sigma 2d Math.PI) Math.Exp(-(Math.Pow(x, 2d) / (2d Math.Pow(_sigma, 2d))))
should this be:
var y = 1d / Math.Sqrt(Math.Pow(_sigma, 2d) 2d Math.PI) Math.Exp(-(Math.Pow(x, 2d) / (2d Math.Pow(_sigma, 2d))))