Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pitot sensor fixes and improvements #3977

merged 2 commits into from Jan 7, 2019


None yet
2 participants
Copy link

commented Nov 1, 2018

  • Refactor pitot tube sensor
  • Change filtering and defaults
  • Change I2C driver code to handle 0xFF register address
  • Better MS4525 sensor driver
  • Validate default calibration for MS4525 and ADC sensors

@digitalentity digitalentity added this to the 2.1 milestone Nov 1, 2018

@digitalentity digitalentity self-assigned this Nov 1, 2018

@digitalentity digitalentity force-pushed the de_pitot_fixes branch from f5ec6bd to 7d80d4e Nov 7, 2018

float dP = (10 * (int32_t)(dp_raw)) * 0.1052120688f;
float T = (float)(200 * (int32_t)dT_raw - 102350) / 2047 + 273.15f;
//float dP = ctx->ms4525_up * 10.0f * 0.1052120688f;
const float dP_psi = -((ctx->ms4525_up - 0.1f * 16383) * (P_max - P_min) / (0.8f * 16383) + P_min);

This comment has been minimized.

Copy link

junwoo091400 Dec 5, 2018


Is the Negative Sign('-') Intentional? Seems redundant anyway, but I wondered if that had any physical meaning :/

digitalentity added some commits Nov 1, 2018

Refactor pitot tube sensor; Change filtering and defaults; Change I2C…
… driver code to handle 0xFF register address; Better MS4525 sensor

@digitalentity digitalentity force-pushed the de_pitot_fixes branch from 4558d62 to 30463dc Jan 7, 2019

@digitalentity digitalentity merged commit 1df1d97 into development Jan 7, 2019

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed

@digitalentity digitalentity deleted the de_pitot_fixes branch Jan 7, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.