%%%%%%%%%      Initial Situation       %%%%%%%%%%
%%%%%%%%% FAULTS and OTHER EXCEPTIONS  %%%%%%%%%%
stuck(lm3,closed).
stuck(lm4,open).
stuck(ri345a,closed).
stuck(lx12,closed).
stuck(lhb,closed).
stuck(ffi345,closed).
stuck(li345b,open).
has_leak(rfm4).
h(in_state(rfm4,open),0).
has_leak(loha).
h(in_state(loha,open),0).
stuck(rfm1,open).
stuck_at(fmc1_w4,fmc1_g1,1).
stuck_at(fmc2_w28,fmc2_g11,0).
stuck_at(fmc2_w60,fmc2_g3,0).
stuck_at(fmc1_w4,fmc1_g1,0).
stuck_at(fmc3_w16,fmc3_g10,0).
stuck_at(fmc3_w60,fmc3_g2,1).
stuck_at(fmc2_w6,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).

