%%%%%%%%%      Initial Situation       %%%%%%%%%%
%%%%%%%%% FAULTS and OTHER EXCEPTIONS  %%%%%%%%%%
stuck(rm2,closed).
stuck(fm4,closed).
stuck(rx12,closed).
stuck(rm1,closed).
stuck(ffm4,open).
stuck(rhb,open).
has_leak(lox12).
h(in_state(lox12,open),0).
has_leak(rfm2).
h(in_state(rfm2,open),0).
stuck(fhb,closed).
stuck(rfhb,open).
stuck_at(fmc2_w6,fmc2_g4,1).
stuck_at(fmc1_w28,fmc1_g8,0).
stuck_at(fmc3_w38,fmc3_g10,1).
stuck_at(fmc4_w38,fmc4_g10,1).
stuck_at(fmc4_w38,fmc4_g10,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).

