Commit graph

166 commits

Author SHA1 Message Date
e064440944
Add back documentation notes to GUI branch 2023-03-21 09:58:06 -04:00
fa9bbca345
Merge branch 'stable' into gui 2023-03-21 09:56:42 -04:00
f7e71e7163
Update documentation, improve readability of code
No functional changes have been made, new build not required
2023-03-21 09:54:42 -04:00
554eaf7f9d
Merge branch 'stable' into gui 2023-03-21 09:10:05 -04:00
Blizzard Finnegan
24be910f7a
Merge pull request #19 from blizzardfinnegan/devel
Multithreading hotfix
2023-03-21 08:57:39 -04:00
ac90cd02ae
Multithreading hotfix
Write thread was prematurely exiting in previous build
2023-03-21 08:54:35 -04:00
db57360234
Merge branch 'stable' into gui 2023-03-20 15:07:17 -04:00
Blizzard Finnegan
8be83fa479
Merge pull request #18 from blizzardfinnegan/devel
v4.3.9 push
2023-03-20 15:06:42 -04:00
0a95a68e61
Merge branch 'devel' of github:blizzardfinnegan/javaOCR into devel 2023-03-20 14:54:00 -04:00
e37f7b71f9
Threading overhaul + Updated datasaving
Data-saving at high cycle count takes too long, causing the DUT to fall
asleep. Data-saving has been extracted into its own thread.

Additionally, Run/pause switch has been re-threaded using synchronized
statements, rather than lock statements, making the run switch work
properly (finally).

Data is now saved in the new Cycle object, rather than passing around
multiple maps, hopefully improving memory footprint.
2023-03-20 14:45:04 -04:00
Blizzard Finnegan
18e51516bc
Create LICENSE
Signed-off-by: Blizzard Finnegan <49597944+blizzardfinnegan@users.noreply.github.com>
2023-03-16 14:26:22 -04:00
Blizzard Finnegan
55f97572a7
Create LICENSE
Signed-off-by: Blizzard Finnegan <49597944+blizzardfinnegan@users.noreply.github.com>
2023-03-16 14:25:47 -04:00
abf2c88f03
Merge branch 'stable' into gui 2023-03-16 11:01:41 -04:00
Blizzard Finnegan
52fe20fba5
Change generated Javadoc to public-only
Signed-off-by: Blizzard Finnegan <49597944+blizzardfinnegan@users.noreply.github.com>
2023-03-16 11:01:06 -04:00
888f52e681
Merge branch 'stable' into gui 2023-03-16 10:46:02 -04:00
Blizzard Finnegan
75db0b4c92
Merge pull request #17 from blizzardfinnegan/devel
v4.3.8 push
2023-03-16 09:56:17 -04:00
97bcb77e6c
Update movement algorithm
Movement algorithm now has an upper and lower bound, and warns user if
outside that bound.
Also, modified error logging to not post timestamp to user, for easier
readability.
Finally, muted extraneous logging messages from user.
2023-03-16 09:43:09 -04:00
e326eee89a
Finish removing infinite loop 2023-03-15 18:17:20 -04:00
8d95a9367d
Continue updating readme 2023-03-15 15:45:00 -04:00
341f6aa163
Update readme with platform flag, and reasoning 2023-03-15 11:59:38 -04:00
2820fb4f34
Update todolist 2023-03-15 11:14:08 -04:00
5796163068
Version bump
- Update all classes to more verbosely log what's going on.
- Update readme and udev rule for automatic camera checking
- Add dependency-checking plugin to pom.xml
- Add GPIO check on initialisation, and override to not drive GPIO if
  not plugged in
- Continue updating functions to be closer and more accurate to
  documentation
2023-03-15 11:10:09 -04:00
65eaec4035
Add dependency analysis 2023-03-14 14:03:19 -04:00
acf26c67a5
Finish updating of UML and stateflow
Going through documentation again, and ensuring that documentation is
accurate and up to date
2023-03-14 10:04:11 -04:00
fe624512e9
End of Day Mar. 13
Update documentation; make code and code understandable
2023-03-14 07:10:36 -04:00
5a799b4149
Remove extraneous "start of program" log call 2023-03-13 12:32:39 -04:00
2370971a89
Update writes to log file 2023-03-13 12:31:36 -04:00
e202de939e
Make tesseract output more verbose 2023-03-13 11:10:00 -04:00
7cff5f386a
Merge branch 'stable' into gui 2023-03-13 10:22:41 -04:00
Blizzard Finnegan
c0d335c992
Merge pull request #16 from blizzardfinnegan/devel
v4.3.7 merge
2023-03-13 10:20:22 -04:00
caed5f0d1e
Remove PWM code
Pi's PWM pin has been replaced with PWM-generating hardware. Motor
location-finding algorithm has been left in, to ensure safe travel.
2023-03-13 10:14:11 -04:00
9afbcfbf43
End of day 10 Mar. commit 2023-03-13 08:08:17 -04:00
b6597f0892
Merge branch 'stable' into gui 2023-03-10 12:22:02 -05:00
Blizzard Finnegan
f7ff54a674
Merge pull request #15 from blizzardfinnegan/devel
v4.3.6 push
2023-03-10 12:21:03 -05:00
6b23c0e156
Fix minor glitch with DataSaving
Also expand buffer range on MovementFacade
2023-03-10 12:14:56 -05:00
429386c428
Remove old comments, change javadoc to public 2023-03-10 09:59:30 -05:00
1e91125afa
Merge branch 'stable' into gui 2023-03-09 13:14:35 -05:00
Blizzard Finnegan
2ff959d8b4
Merge pull request #14 from blizzardfinnegan/devel
4.3.5 patch
2023-03-09 13:13:42 -05:00
1bab6887ba
Update documentation and todos 2023-03-09 13:12:30 -05:00
4deb0287c9
Last-second patches to ensure working code
- ConfigFacade now properly imports without overwriting old data
- DataSaving now doesn't fail and cause pre-emptive crashing
- DataSaving now creates pass % line outside of data lines for quick
  access
2023-03-09 13:06:21 -05:00
7546ecb9fc
Merge branch 'stable' into gui 2023-03-08 15:43:32 -05:00
Blizzard Finnegan
74b0f16864
Merge pull request #13 from blizzardfinnegan/devel
v. 4.3.5 Update
2023-03-08 15:36:35 -05:00
df85060d87
Minor fixes to mvmt code, remove test from CLI 2023-03-08 15:33:01 -05:00
f22d9f7b8d
Hide debug info, uncomment main menu 2023-03-08 15:22:43 -05:00
1ef2fecb57
Finalise automated motor control 2023-03-08 14:32:59 -05:00
dae70b168f
Add gotolimit check to stop motor preemptively 2023-03-08 08:59:41 -05:00
3167df3192
End of day 07 Mar. commit
CLI is now back to normal, updated DataSaving to be better.
Logging now stores camera names.
2023-03-07 15:41:10 -05:00
7708d1359a
Update docs, rollback accidental version increment
ErrorLogging now has consistent indentation
MovementFacade needs to be rolled back
2023-03-07 13:58:45 -05:00
b2b05c50df
End of day 06 Mar. commit
Remove speed from equation, attempt to debug calibration.
This is the last shot at calibration. If the solution can't be found
by 10am tomorrow, we revert to the old code.
2023-03-06 16:06:29 -05:00
cd0be06a9f
Remove hardcoded camera locations
also:
- Temporarily comment out CLI menu to make movement testing faster
- remove movement from config
2023-03-06 15:08:57 -05:00