%%%%%%%%%      Initial Situation       %%%%%%%%%%
%%%%%%%%% FAULTS and OTHER EXCEPTIONS  %%%%%%%%%%
stuck(rfm5,closed).
stuck(fm5,open).
has_leak(rohb).
h(in_state(rohb,open),0).
has_leak(rfi12).
h(in_state(rfi12,open),0).
stuck(lx345,closed).
stuck(rhb,open).
stuck(rox345,closed).
has_leak(rfhb).
h(in_state(rfhb,open),0).
stuck(li12,open).
has_leak(fohb).
h(in_state(fohb,open),0).
stuck_at(fmc2_w41,fmc2_g4,1).
stuck_at(fmc3_w23,fmc3_g9,0).
stuck_at(fmc4_w28,fmc4_g8,1).
stuck_at(fmc2_w29,fmc2_g11,0).
stuck_at(fmc3_w38,fmc3_g10,0).
%%%%%%%%%%%%     GOALS     %%%%%%%%%%%%%

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

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

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

