Salisbury-University / robot-weed-killer

Application to control our laser firing, weed killing robot
5 stars 1 forks source link

💡 Redesign Bluetooth Mixin #70

Closed ZM009 closed 1 year ago

ZM009 commented 1 year ago

Start Date

04/15/2023

Implementation PR

None currently 👨🏻

Reference Issues

37

Summary

The current state of the bluetooth needs to be redesigned (preferably within the week) to allow for use of control functions outside of main file.

Basic Example

If it was designed in a separate file, then all functionality could be moved out of the private state class, so both manual control and autopage could use the functions.

Drawbacks

ZM009 commented 1 year ago

The preliminary state checking and bluetooth instance creation has been moved. As of right now, it will not load due to not implementing it in the separate pages yet.

ZM009 commented 1 year ago

With the time left, our current situation, this may need to be revisited after everything else.

ZM009 commented 1 year ago

mixin redesigned with a bit of luck