Issue is not from list of issues – However, tech lead approved on issue
Fixed OS compatibility; Now works on MacOS and Linux
What was changed: a brief summary of the changes you made. Please note that you should not be listing files that you changed or code that you wrote here. This is a summary of what the end result of your changes are, rather than the code itself.
Basically, every file path reference needed a conditional statement that referred back to the name of the OS. If the OS is Unix, look for file paths with '/', while Windows systems look for file paths split by '\'.
One other change was made to bypass a plugged in controller, since we don't have one at our disposal, we need a dummy conditional to bypass it for RFID simulation.
Why was it changed: a justification for why those changes were needed
Changed because I was not unable to run Mouser at all.
Mouser was Windows specific despite what the ReadMe file said.
Since we don't use an RFID controller, we needed a way to access the experimentation page without the use of a controller.
How was it changed: a more technical description of the changes that were made. This is additional information that your teammates will be using when reviewing your code changes, so it's a great place to share some of your thoughts about how you changed the code.
In serial_port_settings
Created conditional for path finding based on OS
In serial_port_controller
Created conditional for path finding based on OS
In experiment_menu_ui
Created conditional for path finding based on OS
Created conditional if there is no controller (I couldn’t run without it)
Created init.py in shared folder (couldn't access it in main.py without it)
Summary
Changes were made to make program run on Unix systems, also minor debugs to run without a controller plugged in.
Changes for OS were made mainly through file path conditionals. Program could not properly run without a controller, in order to get to simulated RFIDs I had to write a conditional that would skip the controller input in order to get to data gathering menu.
Capstone Week 1 Changes
OS Issues
A reference to the issue that the PR resolves.
What was changed: a brief summary of the changes you made. Please note that you should not be listing files that you changed or code that you wrote here. This is a summary of what the end result of your changes are, rather than the code itself.
Why was it changed: a justification for why those changes were needed
How was it changed: a more technical description of the changes that were made. This is additional information that your teammates will be using when reviewing your code changes, so it's a great place to share some of your thoughts about how you changed the code.
Summary
Changes were made to make program run on Unix systems, also minor debugs to run without a controller plugged in. Changes for OS were made mainly through file path conditionals. Program could not properly run without a controller, in order to get to simulated RFIDs I had to write a conditional that would skip the controller input in order to get to data gathering menu.