- Custom Development
These scripts have been replaced by the Python Interface 3.0. Do not use these for new development.
This document describes the Python 3 scripts that demonstrate how to control the Actuator Package. These scripts are accompanied by and are dependent upon C based libraries for both Windows (.dll) and Unix (.so). Pre-compiled libraries are provided for Windows 32 and 64 bits, RaspberryPi and Linux (Ubuntu).
These scripts are written in Python 3 and have been tested on Python version 3.7.3 and 3.6 32 bit and 64 bit (using Windows 10 Pro), as well as 32 bit Rasbian on a Raspberry Pi 3 and Ubuntu 18 64 bits. They do not seem to work with Python 3.8.1 on Windows.
The code is available at Actuator Package. This git repository contains the API, DLLs, and example scripts. The functions are documented in pyFlexsea.py. Additional documentation on the fx_plan_stack API can be found here.
If you have not already setup up your Actuator Package, please read the ActPack's quick start guide.
Ready to get started? Try running a demo script:
git clone --recursive https://github.com/DephyInc/Actuator-Package.git
Actuator-Package/Python/flexseapython/com_template.txtto a file named
Some of the scripts (High-speed test, Impedance, etc.) include plotting. By default we use the WebAgg engine to show the plots in a browser. The first time you use the scripts you will need to install matplotlib and tornado (via pip).