%%%%%%%%%      Initial Situation       %%%%%%%%%%
%%%%%%%%% FAULTS and OTHER EXCEPTIONS  %%%%%%%%%%
stuck(fm5,closed).
stuck(fm1,closed).
stuck(ri345a,closed).
stuck(rm2,closed).
stuck(rfx345,closed).
has_leak(roi345a).
h(in_state(roi345a,open),0).
has_leak(loi345b).
h(in_state(loi345b,open),0).
stuck(rx345,open).
stuck(fm3,closed).
stuck(lm1,closed).
stuck_at(fmc4_w6,fmc4_g4,1).
stuck_at(fmc1_w60,fmc1_g2,1).
stuck_at(fmc3_w28,fmc3_g8,1).
stuck_at(fmc3_w39,fmc3_g2,0).
stuck_at(fmc1_w28,fmc1_g8,0).
%%%%%%%%%%%%     GOALS     %%%%%%%%%%%%%

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

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

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

