%%%%%%%%%      Initial Situation       %%%%%%%%%%
%%%%%%%%% FAULTS and OTHER EXCEPTIONS  %%%%%%%%%%
stuck(rm1,closed).
stuck(ri12,open).
has_leak(rom4).
h(in_state(rom4,open),0).
stuck(fm3,open).
has_leak(roi345b).
h(in_state(roi345b,open),0).
has_leak(lom4).
h(in_state(lom4,open),0).
stuck(fhb,closed).
has_leak(roi345b).
h(in_state(roi345b,open),0).
stuck(lfi12,open).
stuck(lhb,open).
stuck_at(fmc2_w44,fmc2_g8,1).
stuck_at(fmc2_w53,fmc2_g3,1).
stuck_at(fmc1_w42,fmc1_g8,0).
stuck_at(fmc1_w6,fmc1_g4,0).
stuck_at(fmc2_w42,fmc2_g8,0).
%%%%%%%%%%%%     GOALS     %%%%%%%%%%%%%

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

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

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

