%%%%%%%%%      Initial Situation       %%%%%%%%%%
%%%%%%%%% FAULTS and OTHER EXCEPTIONS  %%%%%%%%%%
has_leak(lfhb).
h(in_state(lfhb,open),0).
stuck(lhb,closed).
has_leak(lfha).
h(in_state(lfha,open),0).
stuck(lm1,open).
stuck(rm2,open).
stuck(lm3,closed).
stuck(ffi345,closed).
stuck(ri345b,open).
stuck(li345a,closed).
has_leak(rfm5).
h(in_state(rfm5,open),0).
%%%%%%%%%%%%     GOALS     %%%%%%%%%%%%%

% Maneuver to be performed: plus_yaw
goal(T,fwd_rcs) :- time(T),
                   h(maneuver_of(plus_yaw,fwd_rcs),T).

goal(T,left_rcs) :- time(T),
                   h(maneuver_of(plus_yaw,left_rcs),T).

goal(T,right_rcs) :- time(T),
                   h(maneuver_of(plus_yaw,right_rcs),T).

