%%%%%%%%%      Initial Situation       %%%%%%%%%%
%%%%%%%%% FAULTS and OTHER EXCEPTIONS  %%%%%%%%%%
stuck(fm5,open).
has_leak(fom2).
h(in_state(fom2,open),0).
has_leak(roi12).
h(in_state(roi12,open),0).
stuck(rm1,open).
stuck(lm4,open).
has_leak(rom1).
h(in_state(rom1,open),0).
stuck(lm3,closed).
stuck(rom3,closed).
stuck_at(fmc3_w4,fmc3_g1,0).
stuck_at(fmc2_w4,fmc2_g2,0).
stuck_at(fmc2_w54,fmc2_g1,0).
stuck_at(fmc3_w42,fmc3_g8,0).
stuck_at(fmc4_w28,fmc4_g11,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).

