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
This commit is contained in:
Alireza Vaezi
2025-07-28 16:30:14 -04:00
parent e2acebc056
commit 9cb043ef5f
40 changed files with 4485 additions and 838 deletions

View File

@@ -18,7 +18,7 @@
},
{
"cell_type": "code",
"execution_count": 1,
"execution_count": 26,
"id": "imports",
"metadata": {},
"outputs": [
@@ -42,7 +42,7 @@
"from datetime import datetime\n",
"\n",
"# Add the python demo directory to path to import mvsdk\n",
"sys.path.append('./python demo')\n",
"sys.path.append('../python demo')\n",
"import mvsdk\n",
"\n",
"print(\"Libraries imported successfully!\")\n",
@@ -51,7 +51,7 @@
},
{
"cell_type": "code",
"execution_count": 2,
"execution_count": 27,
"id": "error-codes",
"metadata": {},
"outputs": [
@@ -88,7 +88,7 @@
},
{
"cell_type": "code",
"execution_count": 3,
"execution_count": 28,
"id": "status-functions",
"metadata": {},
"outputs": [
@@ -215,7 +215,7 @@
},
{
"cell_type": "code",
"execution_count": 4,
"execution_count": 29,
"id": "test-capture-availability",
"metadata": {},
"outputs": [
@@ -375,7 +375,7 @@
},
{
"cell_type": "code",
"execution_count": 5,
"execution_count": 30,
"id": "comprehensive-check",
"metadata": {},
"outputs": [
@@ -408,7 +408,7 @@
"FINAL RESULTS:\n",
"Camera Available: False\n",
"Capture Ready: False\n",
"Status: (6, 'AVAILABLE')\n",
"Status: (42, 'AVAILABLE')\n",
"==================================================\n"
]
}
@@ -455,7 +455,7 @@
},
{
"cell_type": "code",
"execution_count": 6,
"execution_count": 31,
"id": "status-check-function",
"metadata": {},
"outputs": [