%%%%%%%%%      Initial Situation       %%%%%%%%%%
%%%%%%%%% FAULTS and OTHER EXCEPTIONS  %%%%%%%%%%
stuck(lm2,closed).
stuck(rfm1,closed).
has_leak(lfhb).
h(in_state(lfhb,open),0).
stuck(lom3,open).
stuck(fm5,open).
stuck(lm2,closed).
stuck(ri345b,open).
stuck(roi345a,closed).
stuck(rm2,open).
has_leak(lfm3).
h(in_state(lfm3,open),0).
stuck_at(fmc2_w41,fmc2_g4,0).
stuck_at(fmc3_w52,fmc3_g9,0).
stuck_at(fmc4_w28,fmc4_g8,0).
stuck_at(fmc1_w16,fmc1_g9,0).
stuck_at(fmc4_w38,fmc4_g10,1).
%%%%%%%%%%%%     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).

