%%%%%%%%%      Initial Situation       %%%%%%%%%%
%%%%%%%%% FAULTS and OTHER EXCEPTIONS  %%%%%%%%%%
stuck(fm4,open).
has_leak(ffi12).
h(in_state(ffi12,open),0).
has_leak(lfm4).
h(in_state(lfm4,open),0).
stuck(fm2,open).
stuck(fm1,closed).
has_leak(lfm1).
h(in_state(lfm1,open),0).
has_leak(rom4).
h(in_state(rom4,open),0).
has_leak(roi12).
h(in_state(roi12,open),0).
stuck(rm1,open).
has_leak(loi12).
h(in_state(loi12,open),0).
stuck_at(fmc2_w28,fmc2_g11,0).
stuck_at(fmc3_w28,fmc3_g8,1).
stuck_at(fmc1_w56,fmc1_g1,0).
stuck_at(fmc2_w4,fmc2_g1,1).
stuck_at(fmc1_w4,fmc1_g1,0).
stuck_at(fmc1_w23,fmc1_g9,1).
stuck_at(fmc4_w4,fmc4_g2,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).

