%%%%%%%%%      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(lm4,closed).
stuck(fha,open).
stuck_at(fmc1_w43,fmc1_g4,1).
stuck_at(fmc1_w16,fmc1_g9,0).
stuck_at(fmc3_w29,fmc3_g11,1).
stuck_at(fmc4_w28,fmc4_g8,0).
stuck_at(fmc3_w28,fmc3_g8,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).

