Installation¶
pydobotlab requires Python 3.11 or newer. Its only required dependency is pyserial. The control panel also requires PySide6.
Create a virtual environment¶
macOS and Linux:
Windows (PowerShell):
Install¶
The gui extra installs the control panel, pydobotlab-panel, and is recommended: scripts connect through the control panel by default. Without the panel, install the base package; scripts then open the serial port directly:
To install from a source checkout, run python -m pip install -e . in the directory that contains pyproject.toml.
Verify¶
The command prints the installed version.
Check that the arm is visible¶
- macOS and Linux: run
ls /dev/tty.usbserial-* /dev/ttyUSB* /dev/ttyACM*. The arm appears as/dev/ttyUSB0or/dev/ttyACM0. See Linux setup for the required permissions. - Windows: open Device Manager, then Ports (COM & LPT), and note the COM number, for example
COM3.
Without an arm, use the simulator.