Skip to content
Snippets Groups Projects
Verified Commit 4c8e29e2 authored by Tobias Triffterer's avatar Tobias Triffterer :house_with_garden:
Browse files

Add Parameter for Valve Opening to ExperimentState

This was still missing from the collection of the state variables.
parent ec06e567
No related branches found
No related tags found
No related merge requests found
Pipeline #2922 passed with stage
in 32 seconds
......@@ -56,6 +56,7 @@ public:
using PressureTorr = UInt32BoundedDouble<0, 1130>; // 1500 hPa ≈ 1125 Torr, so 1130 Torr as upper limit should make sure that the conversion from hPa to Torr never fails
using TargetPositionMilliMeter = UInt32BoundedDouble<14, 200>;
using AdcConversion = GenericBoundedNumeral<uint16_t, uint16_t, 0, NumberOfAdcChannels - 1>;
using VacuumValveOpening = GenericBoundedNumeral<uint8_t, uint8_t, 0, 10>;
uint64_t id = 0;
AdcState adcState = AdcState::Stopped;
......@@ -63,6 +64,7 @@ public:
PressureHectoPascal pressure = PressureHectoPascal::minimum ;
TargetPositionMilliMeter targetPosition = TargetPositionMilliMeter::minimum;
AdcConversion adcThreshold = AdcConversion::minimum;
VacuumValveOpening vacuumValve = VacuumValveOpening::minimum;
static PressureTorr convertHectoPascalToTorr(const PressureHectoPascal& pressure);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment