%%%%%%%%%      Initial Situation       %%%%%%%%%%
%%%%%%%%% FAULTS and OTHER EXCEPTIONS  %%%%%%%%%%
stuck(ri12,closed).
stuck(lm5,open).
stuck(lm5,open).
has_leak(ffm5).
h(in_state(ffm5,open),0).
has_leak(lom1).
h(in_state(lom1,open),0).
has_leak(rfm2).
h(in_state(rfm2,open),0).
stuck(fha,open).
stuck(lx12,open).
stuck(ffi12,closed).
has_leak(ffi12).
h(in_state(ffi12,open),0).
stuck_at(fmc3_w28,fmc3_g11,0).
stuck_at(fmc3_w60,fmc3_g10,1).
stuck_at(fmc4_w6,fmc4_g4,0).
stuck_at(fmc1_w6,fmc1_g3,0).
stuck_at(fmc2_w54,fmc2_g1,1).
%%%%%%%%%%%%     GOALS     %%%%%%%%%%%%%

% Maneuver to be performed: plus_z
goal(T,fwd_rcs) :- time(T),
                   h(maneuver_of(plus_z,fwd_rcs),T).

goal(T,left_rcs) :- time(T),
                   h(maneuver_of(plus_z,left_rcs),T).

goal(T,right_rcs) :- time(T),
                   h(maneuver_of(plus_z,right_rcs),T).

