%%%%%%%%%      Initial Situation       %%%%%%%%%%
%%%%%%%%% FAULTS and OTHER EXCEPTIONS  %%%%%%%%%%
stuck(fha,closed).
stuck(fom1,open).
has_leak(fom1).
h(in_state(fom1,open),0).
stuck(fm1,open).
has_leak(rfx12).
h(in_state(rfx12,open),0).
stuck(fm4,open).
stuck(ffm2,open).
stuck(roi345b,open).
stuck(lm5,closed).
stuck(rm1,open).
stuck_at(fmc4_w16,fmc4_g10,1).
stuck_at(fmc2_w16,fmc2_g9,1).
stuck_at(fmc3_w38,fmc3_g10,1).
stuck_at(fmc3_w16,fmc3_g9,0).
stuck_at(fmc1_w53,fmc1_g3,0).
stuck_at(fmc4_w29,fmc4_g11,0).
stuck_at(fmc2_w43,fmc2_g4,1).
%%%%%%%%%%%%     GOALS     %%%%%%%%%%%%%

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

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

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

