%%%%%%%%%      Initial Situation       %%%%%%%%%%
%%%%%%%%% FAULTS and OTHER EXCEPTIONS  %%%%%%%%%%
stuck(rfm2,open).
has_leak(ffm2).
h(in_state(ffm2,open),0).
stuck(fm1,closed).
stuck(lm4,closed).
stuck(lfx345,closed).
has_leak(ffm3).
h(in_state(ffm3,open),0).
stuck(rm3,closed).
stuck(ri345a,open).
stuck(ffhb,closed).
has_leak(loi345b).
h(in_state(loi345b,open),0).
stuck_at(fmc1_w16,fmc1_g9,0).
stuck_at(fmc1_w41,fmc1_g4,0).
stuck_at(fmc3_w53,fmc3_g3,1).
stuck_at(fmc3_w29,fmc3_g11,0).
stuck_at(fmc4_w16,fmc4_g9,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).

