WRITE PSUEDO CODE OF THIS PROBLEM The Problem A boat equipped with…
Question Answered step-by-step WRITE PSUEDO CODE OF THIS PROBLEM The Problem A boat equipped with… WRITE PSUEDO CODE OF THIS PROBLEM The ProblemA boat equipped with a new fancy depth finder accessory has been outfitted with an automatic fish catching system. You need to design the logic required to integrate the depth finder equipment with the automatic fishing catching system. The depth finder has many features, but the feature needed for this system is in the detection of obstructions between the bottom of the boat and the sea/lake floor.If fish are detected, an approximation of number is determined using a letter symbol representation a group size category: ‘S’ = 1-4 fish, ‘M’ = 5-10 fish, and ‘L’ = 10+ fish. Note, when an unidentified object is detected, the symbol ‘X’ will be used. The automatic fish catching system should dispatch a single fish line (port side [left]) when the fish group number is [S]mall in size. When the fish group size is determined to be [M]edium in size, two fish lines (starboard [right]) should be deployed. In cases where the fish group is [L]arge, a fish net should be deployed. The fish catching system is activated when the boat operator manually starts the system (pressing the GREEN button), and will stop the system when the operator manually turns it off (BLACK button). When the system is activated, the boat speed must be restricted to no more than 1 knot. When the system is turned off, the speed governor will be disengaged to return the boat to any speed the operator wants to travel, and any deployed lines (or the net) should be automatically reeled back and returned to the boat compartment in preparation for the next deployment.Only one of the modes (S,M,L) can be engaged at any one time. If the conditions change and the depth finder suggests a different mode be set, the system must prompt the operator if they wish to modify the current deployment (the GREEN and BLACK buttons will be lit, where the GREEN button = YES, and the BLACK button = NO). The BLACK button will maintain the current deployed mode, while the GREEN button will reel back and return the previous deployed line(s)/net to their respective compartments prior to deploying the new mode.The “kill” switch (RED button) can be pressed at any time which should immediately reel back and return any deployed line(s)/net to their respective compartments and disable the speed governor so normal boat operations can resume. Note: when an unidentified obstruction is detected (symbol ‘X’) the system should apply the “kill” switch logic to avoid unforeseen consequences.WRITE PSUEDOCODE Arts & Humanities Writing APS 145 Share QuestionEmailCopy link Comments (0)


