%%%%%%%%%      Initial Situation       %%%%%%%%%%
%%%%%%%%% FAULTS and OTHER EXCEPTIONS  %%%%%%%%%%
has_leak(foi12).
h(in_state(foi12,open),0).
has_leak(rfx345).
h(in_state(rfx345,open),0).
has_leak(fohb).
h(in_state(fohb,open),0).
has_leak(lfi12).
h(in_state(lfi12,open),0).
stuck(fm1,closed).
stuck(lfi345b,closed).
has_leak(rom5).
h(in_state(rom5,open),0).
stuck(rx12,open).
stuck_at(fmc2_w53,fmc2_g3,0).
stuck_at(fmc2_w6,fmc2_g4,0).
stuck_at(fmc4_w28,fmc4_g8,0).
stuck_at(fmc2_w42,fmc2_g8,1).
stuck_at(fmc2_w53,fmc2_g3,1).
%%%%%%%%%%%%     GOALS     %%%%%%%%%%%%%

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

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

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

