I have recently created a github repository for us at https://github.com/wmtprojectsteam/rivercontrolsystem, and will add people as soon as possible after they have made accounts. This allows better version tracking of our source code, and easier collaboration.
While thinking about the test software for the solid-state relay (allows a Pi to turn a pump on and off), I realised I could save us a great deal of time and effort later if I combine our existing pieces of software into a "library" of sorts, with many python modules and several standalone programs. So far I have adapted, converted, and tested the resistance probe software, and the hall effect device software, and they now work with this package/module system, saving a lot of effort and allowing me to refactor and de-duplicate our code.
Standalone Programs so far:
- Hall effect device software (slightly improved feature-wise).
- Resistance probe software (fault detecting is now fixed and enabled, though only partially functional).
- Capacitance Probe software (slightly improved feature-wise).
- Motor class to control motors (tested).
- Resistance Probe class (tested).
- Hall effect device class (tested).
- Capacitance Probe class (tested).
- Monitor threads for hall effect, resistance probe and capacitance probe (tested).
- Test code for relay (tested).
Because of the major changes to the software layout, all versions have been re-set to 1.0, and they will all now share a version number in keeping with the rest of the software suite. Old versions of the software won't be maintained by me any more, so we should try to bring the Pi up to date soon, though I'd like to finish the fault detection code for the resistance probe first.
I think you'll all like these changes, but if you object to anything or find the layout confusing I'm happy to resolve it with you
Hamish