Closed pattacini closed 4 years ago
Hi @pattacini, I am doing it.
I have spotted another change required to make it compile.
I have changed
with:
case MAP_Transfer_Standard:
{
parameters.respiratory_rate_Value = outputs.knobs_out[0];
parameters.PIP_Gain = outputs.knobs_out[1];
parameters.IE_ratio_Value = outputs.knobs_out[2];
- parameters.TidalVolume_Gain = outputs.knobs_out[3] / 1000.F;
+ parameters.tidal_volume_Value = outputs.knobs_out[3] / 1000.F;
} break;
Do you reckon it is correct?
Correct 👍🏻 Nice catch!
ok. i'll commit and push then
Thanks!
Hi @marcoaccame 👋🏻
Because I've developed a new functionality regarding the
TV Correction
in VCV mode (see #70 and #71), I'd like to ask you to integrate the enclosed generated code (see the archives below) in the latest FW version. This will also allow us to churn out a new overall release.⚠Be careful since one more parameter (i.e.
TV_correction_gain_Value
) can be now tuned as the 4th element of theMAP_Transfer_Advanced
Map (formerMAP_Transfer_AutoTrigger
): for details, please look over https://github.com/icub-tech-iit/ventilator-FI5/pull/71/files.In particular, you have to replace the following snippet https://github.com/icub-tech-iit/ventilator-FI5/blob/37436da61d062aea663ea967e673d40a26284160/application/code/app/fi5app_theController2.cpp#L263-L268 with:
📦 Generate Code