Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
H
HEV - High Energy Ventilator
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
5
Issues
5
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
HEV - High Energy Ventilator
Commits
e4645480
Commit
e4645480
authored
Feb 12, 2021
by
Emigdio Jimenez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Test_Dynamic_compliance
parent
0ace01ae
Pipeline
#915
failed with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
BreathingLoop.cpp
arduino/hev_prototype_v1/src/BreathingLoop.cpp
+1
-3
No files found.
arduino/hev_prototype_v1/src/BreathingLoop.cpp
View file @
e4645480
...
...
@@ -321,10 +321,8 @@ void BreathingLoop::updateCycleReadings()
_cycle_readings
.
inhaled_tidal_volume
=
mvi_sum
/
CYCLE_AVG_READINGS
;
_cycle_readings
.
exhaled_tidal_volume
=
mve_sum
/
CYCLE_AVG_READINGS
;
_cycle_readings
.
lung_compliance
=
_cycle_readings
.
tidal_volume
/
(
_cycle_readings
.
peak_inspiratory_pressure
-
_peep
);
_cycle_readings
.
lung_compliance
=
_cycle_readings
.
tidal_volume
;
/
(
_cycle_readings
.
peak_inspiratory_pressure
-
_peep
);
_cycle_readings
.
static_compliance
=
_cycle_readings
.
tidal_volume
/
(
_cycle_readings
.
plateau_pressure
-
_peep
);
//_cycle_readings.dynamic_compliance = _cycle_readings.inhaled_tidal_volume / (_cycle_readings.peak_inspiratory_pressure -_peep);
_cycle_readings
.
mean_airway_pressure
=
_airway_pressure
;
_cycle_readings
.
inhalation_pressure
=
_airway_pressure
;
_cycle_readings
.
apnea_index
+=
(
_apnea_event
==
true
)
?
1
:
0
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment