Phil
Phil
SKSignal K
Created by Hannes on 7/22/2024 in #questions
smoothing of apparent wind data
Also if you're dealing with wind angles, I do a similar thing but using vectors: https://github.com/philseeley/boatinstrument/blob/964c128049901ecabe7d1079f2bd8789fddacaf2/lib/data.dart#L7
28 replies
SKSignal K
Created by Hannes on 7/22/2024 in #questions
smoothing of apparent wind data
Not sure if this will work for you, but if you can store the last displayed value, you can do a simple weighted average with the new value. I've used this in my instrument code: https://github.com/philseeley/boatinstrument/blob/964c128049901ecabe7d1079f2bd8789fddacaf2/lib/data.dart#L18
28 replies