%%%%%%%%%      Initial Situation       %%%%%%%%%%
%%%%%%%%% FAULTS and OTHER EXCEPTIONS  %%%%%%%%%%
stuck(lm2,closed).
has_leak(lfm1).
h(in_state(lfm1,open),0).
has_leak(lfm1).
h(in_state(lfm1,open),0).
stuck(rfm5,closed).
stuck(lfm1,closed).
stuck(fm3,closed).
has_leak(fom2).
h(in_state(fom2,open),0).
stuck(rom1,open).
stuck(fi345,closed).
has_leak(roi345a).
h(in_state(roi345a,open),0).
stuck_at(fmc3_w16,fmc3_g9,0).
stuck_at(fmc1_w56,fmc1_g1,1).
stuck_at(fmc4_w60,fmc4_g11,1).
stuck_at(fmc1_w29,fmc1_g11,0).
stuck_at(fmc1_w44,fmc1_g8,1).
stuck_at(fmc3_w29,fmc3_g11,1).
stuck_at(fmc4_w6,fmc4_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).

