%%%%%%%%%      Initial Situation       %%%%%%%%%%
%%%%%%%%% FAULTS and OTHER EXCEPTIONS  %%%%%%%%%%
stuck(fm2,open).
stuck(rx345,closed).
stuck(roi345b,open).
stuck(rm1,open).
stuck(lha,open).
stuck(rha,open).
has_leak(lfi345b).
h(in_state(lfi345b,open),0).
stuck(fi345,open).
stuck(fom5,closed).
stuck(lx12,closed).
stuck_at(fmc3_w60,fmc3_g11,0).
stuck_at(fmc2_w6,fmc2_g4,0).
stuck_at(fmc4_w60,fmc4_g10,0).
stuck_at(fmc4_w4,fmc4_g2,1).
stuck_at(fmc2_w39,fmc2_g2,0).
%%%%%%%%%%%%     GOALS     %%%%%%%%%%%%%

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

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

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

