Replies: 3 comments 4 replies
-
Have you ever used G5 with xDrip in non-native mode? |
Beta Was this translation helpful? Give feedback.
-
Ok, but there is at least one difference in whether the aged raw is used based on "calibration.check_in" between then and now. But, regardless of history I'm sure I don't want it on my g6 raw. I noticed today on a new sensor start during warmup that raw was about 300 but aged raw was 400, while actual BG was about 250. The g6 already bumps raw unfiltered on insertion, it doesn't need more bumping. I am hoping to do raw vs native over time studies soon and think this will show up clearly in them, but that will take quite a while, can you help me come up with a setting switch or other acceptable change until then? I'm willing to make a PR if I'm pointed in the right direction. |
Beta Was this translation helpful? Give feedback.
-
pull request #2140 |
Beta Was this translation helpful? Give feedback.
-
i see this in BgReading.java:
public void calculateAgeAdjustedRawValue(){
final double adjust_for = AGE_ADJUSTMENT_TIME - time_since_sensor_started;
if ((adjust_for > 0) && (!DexCollectionType.hasLibre())) {
age_adjusted_raw_value = ((AGE_ADJUSTMENT_FACTOR * (adjust_for / AGE_ADJUSTMENT_TIME)) * raw_data) + raw_data;
Log.i(TAG, "calculateAgeAdjustedRawValue: RAW VALUE ADJUSTMENT FROM:" + raw_data + " TO: " + age_adjusted_raw_value);
} else {
age_adjusted_raw_value = raw_data;
}
}
why are we scaling dexcom's raw_data by time since sensor started? this doesn't make sense to me - raw data is just that, raw. was this meant to fix the earlier floating point problem or for something else?
Beta Was this translation helpful? Give feedback.
All reactions