%%%%%%%%%      Initial Situation       %%%%%%%%%%
%%%%%%%%% FAULTS and OTHER EXCEPTIONS  %%%%%%%%%%
stuck(rm5,open).
stuck(ffm5,open).
has_leak(ffi12).
h(in_state(ffi12,open),0).
stuck(ri12,closed).
stuck(fm3,closed).
stuck(lx345,closed).
has_leak(roha).
h(in_state(roha,open),0).
stuck(li345a,closed).
stuck(rfm1,open).
stuck(lm2,closed).
stuck_at(fmc4_w4,fmc4_g1,0).
stuck_at(fmc2_w42,fmc2_g8,1).
stuck_at(fmc3_w53,fmc3_g3,0).
stuck_at(fmc3_w56,fmc3_g1,0).
stuck_at(fmc2_w28,fmc2_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).

