%%%%%%%%%      Initial Situation       %%%%%%%%%%
%%%%%%%%% FAULTS and OTHER EXCEPTIONS  %%%%%%%%%%
stuck(roi345b,closed).
has_leak(rfi12).
h(in_state(rfi12,open),0).
stuck(fm1,open).
stuck(fha,open).
stuck(lfx345,open).
stuck(fha,open).
has_leak(rfhb).
h(in_state(rfhb,open),0).
stuck(fm2,open).
stuck_at(fmc3_w4,fmc3_g2,0).
stuck_at(fmc4_w28,fmc4_g8,0).
stuck_at(fmc2_w52,fmc2_g9,1).
stuck_at(fmc3_w38,fmc3_g10,1).
stuck_at(fmc4_w60,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).

