Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write a class that controls a drone. The class will have certain public methods that allow the UI to control the drone, and display the
Write a class that controls a drone. The class will have certain public methods that allow the UI to control the drone, and display the drone location. The internal variables would track the drone's location (x, y and z coordinates). The public methods would allow the Ul to change drone's height and x/y position. The UI should mimic a set of drone controls: Up/Down Forward/Backward Turn Left/Turn Right There would also be a public method that retrieves the current drone position (x, y and z). No actual graphic but you will create a menu. See sample as below: Dron_program_menu_example2.PNG Every move x or y or z coordinate increase or decrease by 1. This program should not be GUI. Please submit source file and 2 screenshots of running program
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started