%%%%%%%%%      Initial Situation       %%%%%%%%%%
%%%%%%%%% FAULTS and OTHER EXCEPTIONS  %%%%%%%%%%
stuck(ri345a,closed).
has_leak(ffm2).
h(in_state(ffm2,open),0).
stuck(ffm3,closed).
stuck(lom4,open).
stuck(fm1,open).
stuck(fhb,open).
stuck(ri12,open).
has_leak(lom4).
h(in_state(lom4,open),0).
stuck(lfi345b,closed).
has_leak(lfi345a).
h(in_state(lfi345a,open),0).
stuck_at(fmc3_w29,fmc3_g11,0).
stuck_at(fmc3_w39,fmc3_g2,0).
stuck_at(fmc1_w52,fmc1_g9,1).
stuck_at(fmc4_w41,fmc4_g4,0).
stuck_at(fmc1_w53,fmc1_g3,1).
stuck_at(fmc3_w54,fmc3_g1,1).
stuck_at(fmc2_w60,fmc2_g3,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).

