%%%%%%%%%      Initial Situation       %%%%%%%%%%
%%%%%%%%% FAULTS and OTHER EXCEPTIONS  %%%%%%%%%%
stuck(ri345a,closed).
has_leak(fom5).
h(in_state(fom5,open),0).
stuck(rfhb,open).
stuck(lom5,closed).
has_leak(ffm4).
h(in_state(ffm4,open),0).
stuck(lha,closed).
has_leak(rfm4).
h(in_state(rfm4,open),0).
stuck(fom2,open).
has_leak(ffm1).
h(in_state(ffm1,open),0).
stuck(loha,open).
stuck_at(fmc3_w28,fmc3_g8,1).
stuck_at(fmc1_w53,fmc1_g3,1).
stuck_at(fmc2_w53,fmc2_g3,1).
stuck_at(fmc4_w16,fmc4_g9,0).
stuck_at(fmc3_w38,fmc3_g10,0).
stuck_at(fmc4_w39,fmc4_g2,1).
stuck_at(fmc2_w38,fmc2_g10,0).
%%%%%%%%%%%%     GOALS     %%%%%%%%%%%%%

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

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

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

