Quick Start (Python)¶
This guide walks you through installing and running the Flexiv TDK Python package.
Version mapping: TDK v1.6.4 (flexivtdk==1.6.4) requires RDK v1.9.4.1 (flexivrdk==1.9.4.1). Do not mix this TDK release with another flexivrdk version.
1) Install the package¶
python3.x -m pip install flexivtdk==1.6.4
flexivtdk==1.6.4 declares a hard dependency on flexivrdk==1.9.4.1, so pip installs that RDK wheel automatically.
Replace
3.xwith your Python version. Linux supports 3.10, 3.12, and 3.14; macOS supports 3.10 and 3.12.
2) Verify installation¶
python3.x
>>> import flexivtdk
>>> flexivtdk.__version__
>>> import flexivrdk
>>> flexivrdk.__version__
Confirm flexivtdk is 1.6.4 and flexivrdk is 1.9.4.1.
3) Run Python examples from this repo¶
cd flexiv_tdk/example_py
python3.x <example_name>.py [arguments]
Check each example’s source code for usage details.
Common Tips¶
- Ensure the robot network connection is stable.
- For WAN teleop, see Time Sync (WAN).
- For real-time performance, see Real-Time Kernel.