%%%%%%%%%      Initial Situation       %%%%%%%%%%
%%%%%%%%% FAULTS and OTHER EXCEPTIONS  %%%%%%%%%%
has_leak(lox345).
h(in_state(lox345,open),0).
stuck(fom4,open).
stuck(fm4,open).
has_leak(rfm5).
h(in_state(rfm5,open),0).
stuck(loha,open).
stuck(fm3,open).
stuck(fm2,open).
has_leak(lom1).
h(in_state(lom1,open),0).
has_leak(rfhb).
h(in_state(rfhb,open),0).
stuck(loi345a,closed).
stuck_at(fmc2_w42,fmc2_g8,1).
stuck_at(fmc1_w43,fmc1_g4,0).
stuck_at(fmc4_w23,fmc4_g9,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).

