%%%%%%%%%      Initial Situation       %%%%%%%%%%
%%%%%%%%% FAULTS and OTHER EXCEPTIONS  %%%%%%%%%%
has_leak(rfi12).
h(in_state(rfi12,open),0).
has_leak(lfx345).
h(in_state(lfx345,open),0).
stuck(lha,open).
stuck(lfm2,closed).
stuck(roi345a,closed).
stuck(fha,open).
has_leak(foi345).
h(in_state(foi345,open),0).
has_leak(fom2).
h(in_state(fom2,open),0).
stuck(rom2,open).
stuck(lha,closed).
stuck_at(fmc1_w28,fmc1_g8,1).
stuck_at(fmc2_w16,fmc2_g10,0).
stuck_at(fmc4_w4,fmc4_g1,0).
stuck_at(fmc3_w28,fmc3_g11,1).
stuck_at(fmc3_w6,fmc3_g4,1).
stuck_at(fmc4_w60,fmc4_g2,1).
stuck_at(fmc3_w28,fmc3_g11,0).
%%%%%%%%%%%%     GOALS     %%%%%%%%%%%%%

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

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

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

