%%%%%%%%%      Initial Situation       %%%%%%%%%%
%%%%%%%%% FAULTS and OTHER EXCEPTIONS  %%%%%%%%%%
stuck(rm1,open).
stuck(ri345a,open).
stuck(lox12,closed).
has_leak(rox345).
h(in_state(rox345,open),0).
stuck(lfhb,open).
stuck(rx345,open).
has_leak(lfx12).
h(in_state(lfx12,open),0).
has_leak(ffm4).
h(in_state(ffm4,open),0).
has_leak(lom4).
h(in_state(lom4,open),0).
has_leak(rom2).
h(in_state(rom2,open),0).
stuck_at(fmc3_w41,fmc3_g4,0).
stuck_at(fmc2_w28,fmc2_g8,0).
stuck_at(fmc2_w6,fmc2_g3,0).
stuck_at(fmc4_w52,fmc4_g9,0).
stuck_at(fmc4_w28,fmc4_g8,1).
%%%%%%%%%%%%     GOALS     %%%%%%%%%%%%%

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

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

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

