WebSocket#
The WebSocket pages explain how to connect to the VEX AIM Coding Robot remotely over Wi-Fi and run Python projects from an external device. This allows developers to write and execute code from a computer instead of running it directly on the robot.
The WebSocket library used for this connection is available on the GitHub repository, where you can also report issues or request support.
Wi-Fi Setup
Initial Wi-Fi Setup for VEX AIM – Connect to the robot and access its settings dashboard.
Changing VEX AIM’s IP Address in Access Point Mode – Enable the robot to broadcast its own Wi-Fi network.
Configuring VEX AIM for Wi-Fi Station Mode – Configure the robot to join a Wi-Fi network.
Switching Connection Modes – Guide on how to switch between Access Point and Station mode after the initial connection and configuration.
WebSocket Library Setup
Access VEX AIM WebSocket Library – Download the Python WebSocket library and report issues.
Setting Up a Virtual Python Workspace – Create and configure your Python environment.
Running a WebSocket Project – Execute Python scripts remotely through the WebSocket connection.
AIM WebSocket API
Using the VEXcode AIM Python API – Reference documentation for on-robot Python commands.
AIM WebSocket Differences – Highlights differences between local and remote execution via WebSocket.
Included Examples – Browse basic and advanced sample Python projects to learn how the WebSocket API works in practice.