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

Measurements: Proof of Concept #17

Open
microbuilder opened this issue Jun 25, 2021 · 0 comments
Open

Measurements: Proof of Concept #17

microbuilder opened this issue Jun 25, 2021 · 0 comments

Comments

@microbuilder
Copy link
Member

microbuilder commented Jun 25, 2021

There is a desire to introduce a standard mechanism to represent measurements in zscilib, where the following information can be specified for one or more measurement values of the same 'type':

  • The specific measurement type (consisting of a base and extended type indicator)
  • The SI unit and scale that this measurement uses
  • The C type used to represent this measurement in memory
  • Any key meta-data required to accurately interpret the measurement value(s)

It should be as concise as possible, due to memory limitations on small embedded systems, but expressive enough to communicate all essential information about the measurement value(s).

Base and Extended Measurement Types

A system of 'base' and 'extended' data types have been added via: measurement/base.h. The base groupings in enum zsl_mes_type should be reviewed for clarity and coherence.

SI Units

A first pass at representing base, derived and compound SI units has been implemented via measurement/unit.h. This list requires further review and analysis.

@microbuilder microbuilder self-assigned this Jun 25, 2021
@microbuilder microbuilder added this to In Progress in v0.2.0 Development Jul 1, 2021
@microbuilder microbuilder changed the title datatypes: Review initial base type list measuremeent: Review initial base type list Jul 3, 2021
@microbuilder microbuilder changed the title measuremeent: Review initial base type list measurement: Review initial base type list Jul 3, 2021
@microbuilder microbuilder changed the title measurement: Review initial base type list Measurements: Review initial base types Jul 3, 2021
@microbuilder microbuilder changed the title Measurements: Review initial base types Measurements: Proof of Concept Implementation Jul 3, 2021
@microbuilder microbuilder changed the title Measurements: Proof of Concept Implementation Measurements: Proof of Concept Jul 3, 2021
@microbuilder microbuilder added this to v0.2.0 in Roadmap Jul 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
v0.2.0 Development
  
In Progress
Roadmap
  
v0.2.0
Development

No branches or pull requests

1 participant