Closed victorsowa12 closed 6 months ago
@russelldeguzman I've got an outstanding comment for turbidityReadingPeriodMs
in notion. I believe this config is for the bridge not the turbidity app, since it most closely reflects other configs on the bridge. (I left it as STS app scope for the notion table filtered view) I'll triple check with Evan.
I beleive bm_node_id,node_position,node_app_name,timestamp(ticks/UTC),reading_count
is the correct header for the SENS_AGG file. the new columns are unlabelled since it can be shared with rbr/soft/aanderaa data. Is there something else that needs to change in the header?
@russelldeguzman I got some clarification from @evanShap. The turbidityReadingPeriodMs
is going to be a variable set by tooling on the mote to document the settings of the turbidity sensor, but not used by the app. So the idea would be if anyone ever manually removes the turbidity sensor and configures it to sample at a different rate, they also need to manually change the config so it is matches.
At the same time a config like turbidityReadingPeriodMs
is also needed on the bridge to calculate buffer sizes for its aggregations. Evan and I discussed using the same config name for both. Do you or @towynlin have any thoughts on using the same name for both?
okay everything previosly named spt_sts (or something similar) should now be renamed to seapoint_turbidity (or similar)
readingIntervalMs
whereas the bridge config for buffer allocation is currentReadingPeriodMs
.softReadingPeriodMs
.rbrCodaReadingPeriodMs
, and there is no config on the mote.🤦
I think it makes sense in this case to follow the SOFT example and keep them both named turbidityReadingPeriodMs
. 👍
Functionality looks good. 👍
I believe the app name
spt_sts
is confusing and would prefer to change it toturbidity
orseapoint_turbidity
.Questions about the spec, more for @evanShap:
- Do we never write to the sensor?
- Do we not need FTL mitigations?
Seapoint turbidity app. Spec sheet: https://www.notion.so/sofarocean/SM-product-spec-Seapoint-STS-Adapter-3f7ada5bb1dc4834875efdd45407d257
printf output from the mote serial
SENS_AGG.csv output:
SENS_IND.csv output: