Commit Graph

74 Commits

Author SHA1 Message Date
Alireza Vaezi
d598281164 feat: Implement Vision System API Client with comprehensive endpoints and utility functions
- Added VisionApiClient class to interact with the vision system API.
- Defined interfaces for system status, machine status, camera status, recordings, and storage stats.
- Implemented methods for health checks, system status retrieval, camera control, and storage management.
- Introduced utility functions for formatting bytes, durations, and uptime.

test: Create manual verification script for Vision API functionality

- Added a test script to verify utility functions and API endpoints.
- Included tests for health check, system status, cameras, machines, and storage stats.

feat: Create experiment repetitions system migration

- Added experiment_repetitions table to manage experiment repetitions with scheduling.
- Implemented triggers and functions for validation and timestamp management.
- Established row-level security policies for user access control.

feat: Introduce phase-specific draft management system migration

- Created experiment_phase_drafts and experiment_phase_data tables for managing phase-specific drafts and measurements.
- Added pecan_diameter_measurements table for individual diameter measurements.
- Implemented row-level security policies for user access control.

fix: Adjust draft constraints to allow multiple drafts while preventing multiple submitted drafts

- Modified constraints on experiment_phase_drafts to allow multiple drafts in 'draft' or 'withdrawn' status.
- Ensured only one 'submitted' draft per user per phase per repetition.
2025-07-28 16:30:56 -04:00
Alireza Vaezi
9cb043ef5f feat: Add MQTT publisher and tester scripts for USDA Vision Camera System
- Implemented mqtt_publisher_test.py for manual MQTT message publishing
- Created mqtt_test.py to test MQTT message reception and display statistics
- Developed test_api_changes.py to verify API changes for camera settings and filename handling
- Added test_camera_recovery_api.py for testing camera recovery API endpoints
- Introduced test_max_fps.py to demonstrate maximum FPS capture functionality
- Implemented test_mqtt_events_api.py to test MQTT events API endpoint
- Created test_mqtt_logging.py for enhanced MQTT logging and API endpoint testing
- Added sdk_config.py for SDK initialization and configuration with error suppression
2025-07-28 16:30:14 -04:00
Alireza Vaezi
e2acebc056 holy shit a lot has changed! read the readme, I guess... 2025-07-28 16:29:41 -04:00
Alireza Vaezi
731d8cd9ff Enhance time synchronization checks, update storage paths, and improve camera recording management 2025-07-25 22:38:33 -04:00
Alireza Vaezi
69966519b0 Add project completion documentation for USDA Vision Camera System 2025-07-25 21:40:51 -04:00
Alireza Vaezi
381f51a3e6 Implement code changes to enhance functionality and improve performance 2025-07-25 21:39:52 -04:00
Alireza Vaezi
f6d6ba612e Massive update - API and other modules added 2025-07-25 21:39:07 -04:00
Alireza Vaezi
172f46d44d init commit 2025-07-25 12:07:30 -04:00
Alireza Vaezi
df42a0935d Initial commit 2025-07-25 12:06:17 -04:00
Alireza Vaezi
0d0c67d5c1 data entry and draft system work 2025-07-23 21:21:59 -04:00
Alireza Vaezi
511ed848a3 update dependencies and remove test credentials from Login component 2025-07-23 11:46:12 -04:00
Alireza Vaezi
4919efb845 add scheduling functionality for experiments with new ScheduleModal component 2025-07-20 21:07:58 -04:00
Alireza Vaezi
6797519b0a create new experiment works 2025-07-20 19:59:28 -04:00
Alireza Vaezi
bd0ae321de add new experiment 2025-07-20 17:04:51 -04:00
Alireza Vaezi
3ae77a2375 style improved 2025-07-20 12:06:13 -04:00
Alireza Vaezi
41d4654f9f style changed 2025-07-20 11:59:15 -04:00
Alireza Vaezi
b5848d9cba can successfully add new users 2025-07-20 11:33:51 -04:00
Alireza Vaezi
cfa8a0de81 css issue fixed 2025-07-20 11:10:52 -04:00
Alireza Vaezi
6a9ab6afaa RBAC seems to be working 2025-07-20 11:05:58 -04:00
Alireza Vaezi
033229989a Revert "RBAC in place. Tailwind CSS working."
This reverts commit 90d874b15f.
2025-07-18 21:18:07 -04:00
Alireza Vaezi
90d874b15f RBAC in place. Tailwind CSS working. 2025-07-17 12:10:23 -04:00
Alireza Vaezi
5fc7c89219 supabase added 2025-07-17 10:53:16 -04:00
Alireza Vaezi
6ee9371861 blank Vite + React + Tailwind CSS project 2025-07-17 10:44:08 -04:00
Alireza Vaezi
da7b6f7ae7 Initial commit 2025-07-17 10:39:47 -04:00