%%%%%%%%%      Initial Situation       %%%%%%%%%%
%%%%%%%%% FAULTS and OTHER EXCEPTIONS  %%%%%%%%%%
stuck(lfm5,closed).
stuck(lhb,closed).
has_leak(loi345b).
h(in_state(loi345b,open),0).
stuck(fm1,open).
has_leak(roi12).
h(in_state(roi12,open),0).
stuck(foi345,closed).
has_leak(foi12).
h(in_state(foi12,open),0).
stuck(rha,open).
stuck(rm2,open).
has_leak(lfm4).
h(in_state(lfm4,open),0).
stuck_at(fmc4_w6,fmc4_g4,1).
stuck_at(fmc2_w29,fmc2_g11,1).
stuck_at(fmc4_w29,fmc4_g11,0).
stuck_at(fmc1_w4,fmc1_g2,0).
stuck_at(fmc1_w38,fmc1_g10,1).
stuck_at(fmc3_w29,fmc3_g11,0).
stuck_at(fmc1_w53,fmc1_g3,1).
%%%%%%%%%%%%     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).

