Building a User Interface for Controlling Inverted Pendulum Animation
Create a user interface for controlling inverted pendulum animation. The interface includes: -static text, 2-popup menus, 4-push buttons, and 1-axes component. Users first specify the cart's starting and ending coordinates, then click "Start" to begin simulation. Clicking "Pause" stops the animation, which can be resumed by pressing any keyboard key. After simulation completion, click "Refresh" to clear the screen. Click "Exit" to close the window, followed by "OK" for confirmation.