Skip to content

Vex eeg update#2

Merged
VinceIngram07 merged 28 commits intohtil:feature/eeg-vexfrom
VinceIngram07:VexEEG
Jan 3, 2026
Merged

Vex eeg update#2
VinceIngram07 merged 28 commits intohtil:feature/eeg-vexfrom
VinceIngram07:VexEEG

Conversation

@VinceIngram07
Copy link
Copy Markdown

No description provided.

VinceIngram07 and others added 28 commits January 28, 2025 13:01
forward = Right
down = Left
Added new blocks (Move and Color)
Only Forward command is working with vex
WORK IN PROGRESS
Previous block functionality
still working on new block functions
Found problem: the number for the muscle energy window and the raw data doesn't match up
- need to connect the vex through AP before starting the application
- fixed colors
- no longer degrees for turn block (for kids)
- Shortcut is ready to be used (Neuroscope-EMG)
-Updated gitignore (pycache)
…table deployment

Changes:
* src/main/index.js:
  - Fixed production build path from loadURL to loadFile with correct relative path
  - Added Python process spawning with venv detection
  - Implemented WebSocket connection validation with 10s timeout
  - Added proper process cleanup on app quit

* resources/python/VEXServer_dev.py (new):
  - Created simulation mode WebSocket server for development
  - Mock VEX commands (led_on, move, turn_left, turn_right) with logging
  - Enables testing without physical VEX robot hardware
  - Runs on ws://127.0.0.1:8777 with JSON command protocol

* package.json:
  - Updated electron-builder config to include build/renderer directory
  - Added extraResources for Python files bundling
  - Enhanced build scripts for Python executable creation
  - Added PyInstaller to requirements for standalone deployment

* VEXServer.spec (new):
  - PyInstaller specification for Python server executable
  - Proper dependency handling and console output

* requirements.txt:
  - Added PyInstaller dependency for build process

Enables successful Windows executable creation with integrated robot control server.
Two-process architecture provides reliable VEX robot communication in both development
and production environments.
@VinceIngram07 VinceIngram07 merged commit 293b55b into htil:feature/eeg-vex Jan 3, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants