| Algorithm 3 TakeActions algorithm for fall detection |
|
Require: if (Output == Fall) then StartTimer(); if (Timer < SafetyTime and Coordinates == StandUpPose) then DiscardAlarm(); end if if (Timer > SafetyTime) then UpgradeAlarmLevel(); end if if (AlarmLevel == Urgency) then StartAlarm(); end if end if Ensure: |