DG-DEN-7091

RESOLVED in CODE WALKTHROUGH.

RESOLVED in CODE WALKTHROUGH.

RESOLVED in CODE WALKTHROUGH.

RESOLVED in CODE WALKTHROUGH.

RESOLVED in CODE WALKTHROUGH.

RESOLVED in CODE WALKTHROUGH.

Checked with Nick. The DG does not expose motors to the user. The straw door switch should be open in Fill Mode to allow access to straw connection. The straw door switch should be closed in modes ...

Checked with Nick. The DG does not expose motors to the user.
The straw door switch should be open in Fill Mode to allow access to straw connection.
The straw door switch should be closed in modes such as (heat disinfection, chem disinfection) to prevent user from exposure to hot water or chemical.

Added TODO.

Changed rate to 4 Hz.

Changed rate to 4 Hz.

Added timeout.

Added timeout.

Should we send DG modes more often? UI and HD stacks are keying off of these a lot and I worry 1 Hz will not be very responsive. I also worry there may be some modes/states that do not last 1 secon...

Should we send DG modes more often? UI and HD stacks are keying off of these a lot and I worry 1 Hz will not be very responsive. I also worry there may be some modes/states that do not last 1 second and HD may miss it.
If we speed this up, we should also speed up the HD modes broadcast as well.

Do we need to know if concentrates door is closed before turning on pumps?

Do we need to know if concentrates door is closed before turning on pumps?

Should we have a timeout on this?

Should we have a timeout on this?

RESOLVED in CODE WALKTHROUGH.

RESOLVED in CODE WALKTHROUGH.

Quang to address temperature in future branch. RESOLVED in CODE WALKTHROUGH.

Quang to address temperature in future branch. RESOLVED in CODE WALKTHROUGH.

RESOLVED in CODE WALKTHROUGH.

RESOLVED in CODE WALKTHROUGH.

RESOLVED in CODE WALKTHROUGH.

RESOLVED in CODE WALKTHROUGH.

RESOLVED in CODE WALKTHROUGH.

RESOLVED in CODE WALKTHROUGH.

Updated.

Updated.

Moved valves config to standby mode transition.

Moved valves config to standby mode transition.

Let's update to v0.5.0.

Let's update to v0.5.0.

This init is called from main at startup. This seems to work, but I'd prefer to select initial active reservoir and set reservoir valves accordingly after POST - maybe in transition to standby mode...

This init is called from main at startup. This seems to work, but I'd prefer to select initial active reservoir and set reservoir valves accordingly after POST - maybe in transition to standby mode. This way, if POST does something to the valves to test, we will set them afterward. Also gives valve driver and FPGA interface a chance to get started before we start giving actuator commands.

Fixed.

Fixed.

Fixed.

Fixed.

conver should be convert. Flow is in L/min.

conver should be convert. Flow is in L/min.

The return of this function includes a call to isWaterQualityGood(), which checks for inlet temp and conductivity, reject ratio, and temperature. For the dialysate temperature, it will be done once...

The return of this function includes a call to isWaterQualityGood(), which checks for inlet temp and conductivity, reject ratio, and temperature.
For the dialysate temperature, it will be done once I work on dialysate generation again and remove TODO.

Ok, yes, I see that now. But I still don't see any check for dialysate temperature (after heating).

Ok, yes, I see that now. But I still don't see any check for dialysate temperature (after heating).

Don't we need to check other things here as well? Inlet temp and conductivity, reject ratio, and dialysate temperature.

Don't we need to check other things here as well? Inlet temp and conductivity, reject ratio, and dialysate temperature.

I think there are now 7 incoming CAN msg buffers (8 if counting the 1 serial port buffer).

I think there are now 7 incoming CAN msg buffers (8 if counting the 1 serial port buffer).

RESOLVED in CODE WALKTHROUGH.

RESOLVED in CODE WALKTHROUGH.

RESOLVED in CODE WALKTHROUGH.

RESOLVED in CODE WALKTHROUGH.

Removed.

Removed.