%%%%%%%%%      Initial Situation       %%%%%%%%%%
%%%%%%%%% FAULTS and OTHER EXCEPTIONS  %%%%%%%%%%
stuck(fm3,open).
stuck(ffm2,open).
has_leak(lfx12).
h(in_state(lfx12,open),0).
stuck(lx12,closed).
stuck(fha,closed).
stuck(rfhb,closed).
stuck(ri345a,open).
stuck(rm1,closed).
stuck(lm3,closed).
stuck(ri345a,open).
stuck_at(fmc4_w16,fmc4_g10,1).
stuck_at(fmc3_w29,fmc3_g11,0).
stuck_at(fmc1_w16,fmc1_g10,1).
stuck_at(fmc3_w4,fmc3_g2,1).
stuck_at(fmc3_w54,fmc3_g1,0).
stuck_at(fmc4_w60,fmc4_g2,1).
stuck_at(fmc4_w53,fmc4_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).

