WebsterXC / digidash

CSE442 group project that will consist of Raspberry Pi software development. Our goal is to create a plug-and-play digital dashboard and engine monitoring system.
GNU General Public License v3.0
2 stars 3 forks source link

Implement main.py #43

Closed WebsterXC closed 7 years ago

WebsterXC commented 7 years ago

The main method is the entry point for DigiDash. It should combine all startup functions, the mainloop (Kivy GUI display & CAN Daemon), and exit routines when the application is closed.

WebsterXC commented 7 years ago

Added logger_init( ) in the startup routine to initialize global logging to a file. DigiDash boots to the home screen, but does not return control to main after exiting.

WebsterXC commented 7 years ago

DigiDash boots Kivy home screen as intended, but does not return control to main( ).

WebsterXC commented 7 years ago

DigiDash can be connected with a vehicle to display data! This is huge, as now only simple bugfixes remain and we can start adding extra user functionality.

DigiDash returns control to main.py after exiting the GUI, and logging works as intended. From this point on, main.py is the entry point for DigiDash and will be used to start the program. I'm going to keep this issue open well through Sprint 5, so we can document all additions to the file.

WebsterXC commented 7 years ago

The main.py entry point has been written for final release. The function starts the global logging service, establishes a connection with the vehicle (ELM327 dongle) and then invokes the GUI to boot. When the user closes the application, control is returned to main.py and exit routines are performed for proper resource release.