%%%%%%%%%      Initial Situation       %%%%%%%%%%
%%%%%%%%% FAULTS and OTHER EXCEPTIONS  %%%%%%%%%%
stuck(rfm5,closed).
stuck(fhb,open).
stuck(ri12,open).
has_leak(ffm2).
h(in_state(ffm2,open),0).
stuck(fm2,closed).
stuck(fhb,open).
has_leak(loi345a).
h(in_state(loi345a,open),0).
stuck(fom2,closed).
stuck(rx12,closed).
stuck(rox12,open).
stuck_at(fmc1_w6,fmc1_g4,1).
stuck_at(fmc4_w53,fmc4_g3,0).
stuck_at(fmc2_w6,fmc2_g4,1).
stuck_at(fmc3_w6,fmc3_g4,1).
stuck_at(fmc3_w53,fmc3_g3,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).

