%%%%%%%%%      Initial Situation       %%%%%%%%%%
%%%%%%%%% FAULTS and OTHER EXCEPTIONS  %%%%%%%%%%
stuck(lm5,closed).
has_leak(ffhb).
h(in_state(ffhb,open),0).
stuck(lom1,open).
stuck(rm1,open).
has_leak(lfhb).
h(in_state(lfhb,open),0).
stuck(rha,open).
stuck(rox345,closed).
has_leak(rom4).
h(in_state(rom4,open),0).
has_leak(lom1).
h(in_state(lom1,open),0).
stuck(fhb,closed).
stuck_at(fmc1_w53,fmc1_g3,1).
stuck_at(fmc4_w4,fmc4_g1,0).
stuck_at(fmc2_w29,fmc2_g11,0).
stuck_at(fmc4_w38,fmc4_g10,1).
stuck_at(fmc3_w4,fmc3_g1,1).
stuck_at(fmc4_w23,fmc4_g9,1).
stuck_at(fmc4_w16,fmc4_g9,0).
%%%%%%%%%%%%     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).

