BinghamtonRover / BurtOS-2

Base station/rover computer apps and libraries for the Binghamton University Rover Team
3 stars 0 forks source link

Base Station Main File and GLFW Initialization #4

Closed superdan-t closed 2 years ago

superdan-t commented 2 years ago

Main Objective

Create a class for the base station GUI session that initializes and manages GLFW and NanoGUI. Modify the current main file to declare and construct the session object. This class will provide a starting place to integrate features together.

Design Considerations

Using one class for the GUI session avoids the need to declare lots of local variables in the main() method. We learned with the legacy base station that it is difficult to organize new features when many variables needed are initialized in the main method. A session object can be shared for easy access to program resources rather than having to pass local variables or declare global variables in multiple files.

Requirements