%%%%%%%%%      Initial Situation       %%%%%%%%%%
%%%%%%%%% FAULTS and OTHER EXCEPTIONS  %%%%%%%%%%
stuck(fm1,closed).
stuck(rom5,open).
has_leak(roi12).
h(in_state(roi12,open),0).
stuck(foha,open).
stuck(rx345,open).
stuck(ri345b,open).
stuck(ffi12,open).
stuck(lm3,closed).
stuck_at(fmc1_w29,fmc1_g11,1).
stuck_at(fmc2_w4,fmc2_g1,1).
stuck_at(fmc2_w4,fmc2_g2,1).
stuck_at(fmc1_w39,fmc1_g2,1).
stuck_at(fmc4_w29,fmc4_g11,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).

