%%%%%%%%%      Initial Situation       %%%%%%%%%%
%%%%%%%%% FAULTS and OTHER EXCEPTIONS  %%%%%%%%%%
stuck(rfi12,closed).
stuck(rm2,open).
stuck(ffm1,closed).
has_leak(fom1).
h(in_state(fom1,open),0).
has_leak(rfx12).
h(in_state(rfx12,open),0).
stuck(foi12,open).
has_leak(rox12).
h(in_state(rox12,open),0).
stuck(fm2,open).
stuck(rhb,closed).
stuck(ffi12,closed).
stuck_at(fmc1_w38,fmc1_g10,1).
stuck_at(fmc2_w44,fmc2_g8,1).
stuck_at(fmc2_w16,fmc2_g10,0).
stuck_at(fmc1_w6,fmc1_g4,1).
stuck_at(fmc1_w16,fmc1_g9,0).
stuck_at(fmc4_w60,fmc4_g3,0).
stuck_at(fmc4_w43,fmc4_g4,1).
%%%%%%%%%%%%     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).

