%%%%%%%%%      Initial Situation       %%%%%%%%%%
%%%%%%%%% FAULTS and OTHER EXCEPTIONS  %%%%%%%%%%
stuck(fm2,open).
stuck(rom3,open).
has_leak(rfx345).
h(in_state(rfx345,open),0).
stuck(fm4,closed).
has_leak(fom2).
h(in_state(fom2,open),0).
stuck(rx12,open).
has_leak(ffm3).
h(in_state(ffm3,open),0).
has_leak(lox345).
h(in_state(lox345,open),0).
stuck(li345b,closed).
stuck(rm2,open).
stuck_at(fmc3_w4,fmc3_g1,0).
stuck_at(fmc1_w28,fmc1_g8,1).
stuck_at(fmc2_w28,fmc2_g11,1).
stuck_at(fmc2_w38,fmc2_g10,1).
stuck_at(fmc3_w41,fmc3_g4,1).
%%%%%%%%%%%%     GOALS     %%%%%%%%%%%%%

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

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

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

