skunkforce / OmniView

This Repository contains the OmnAIView Software, which is used in the AW4null Research Projects
https://www.autowerkstatt40.org/
MIT License
3 stars 4 forks source link

Adjusting scales #61

Closed MaxClerkwell closed 6 months ago

MaxClerkwell commented 1 year ago

As of now, the X- and Y-axis are labeled as samples in X and counts in Y axis. The X-axis should be written in seconds, while the Y-axis should display volts. Currently OmniView is only supporting one type of input device - the AI OmniScope. Each Device comes with a fixed sample rate and two individual calibration-values: offset and scaling. In the near furture @NP199 will make sure, that these informations can be read from the device itself. Until then, we will use one set of fixed values that should be read from the config-file.

{
    "calibration":{
             "samples_per_second": 50000,
             "counts_offset": 45,
             "counts_per_volt": 100
     }
}

Even though these values don't make sense at the moment, they shall be used to scale the X- and Y-axis.

R-Abbasi commented 1 year ago

Capture x and y axes ranges are [0, 10], [-10, 200] as Seconds and Volts respectively.

Will try to change/enhance it if needed.

AKMaily commented 6 months ago

As it is implemented in the software and the calibration will be implemented in the next week, this issue will be closed.