gauteh / sfy

🌊 A lightweight wave buoy for near-shore deployments.
MIT License
39 stars 6 forks source link

transmit data as uint16's + min/max f32s #106

Closed gauteh closed 1 year ago

jerabaul29 commented 1 year ago

My 2 cents on this:

https://github.com/jerabaul29/OpenMetBuoy-v2021a/blob/754e84098409607f0cd39af3f9588810210aaf35/legacy_firmware/firmware/standard_gps_waves_drifter/wave_analyzer.h#L44-L52

https://github.com/jerabaul29/OpenMetBuoy-v2021a/blob/754e84098409607f0cd39af3f9588810210aaf35/legacy_firmware/firmware/standard_gps_waves_drifter/wave_analyzer.cpp#L247-L252

and the decoder:

https://github.com/jerabaul29/OpenMetBuoy-v2021a/blob/754e84098409607f0cd39af3f9588810210aaf35/legacy_firmware/decoder/decoder.py#L139-L153

https://github.com/jerabaul29/OpenMetBuoy-v2021a/blob/754e84098409607f0cd39af3f9588810210aaf35/legacy_firmware/decoder/decoder.py#L291-L418

https://github.com/jerabaul29/OpenMetBuoy-v2021a/blob/754e84098409607f0cd39af3f9588810210aaf35/legacy_firmware/firmware/standard_gps_waves_drifter/imu_manager.h#L58-L76

https://github.com/jerabaul29/OpenMetBuoy-v2021a/blob/754e84098409607f0cd39af3f9588810210aaf35/legacy_firmware/firmware/standard_gps_waves_drifter/data_manager.h#L11-L13

https://github.com/jerabaul29/OpenMetBuoy-v2021a/blob/754e84098409607f0cd39af3f9588810210aaf35/legacy_firmware/firmware/standard_gps_waves_drifter/data_manager.h#L26-L27