%%%%%%%%%      Initial Situation       %%%%%%%%%%
%%%%%%%%% FAULTS and OTHER EXCEPTIONS  %%%%%%%%%%
stuck(lm1,closed).
has_leak(lom4).
h(in_state(lom4,open),0).
stuck(roha,open).
has_leak(lom5).
h(in_state(lom5,open),0).
has_leak(lfm5).
h(in_state(lfm5,open),0).
stuck(rfi345b,open).
has_leak(rfi345a).
h(in_state(rfi345a,open),0).
stuck(loi345a,open).
stuck_at(fmc4_w60,fmc4_g2,1).
stuck_at(fmc3_w6,fmc3_g3,0).
stuck_at(fmc2_w6,fmc2_g4,1).
stuck_at(fmc1_w4,fmc1_g1,0).
stuck_at(fmc3_w6,fmc3_g4,0).
%%%%%%%%%%%%     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).

