Ingeniamotion

PyPi CC by-nc-sa

Ingeniamotion is a library that works over ingenialink and aims to simplify the interaction with Ingenia’s drives.

Ingenia Servodrives

Requirements

Build Module

Install locally:

python setup.py build_ext -i
python setup.py install

Generate .whl file:

python setup.py build_ext -i
python setup.py bdist_wheel

Generate documentation

For develop the documentation it’s recommended uninstall the ingeniamotion in the pipenv and remove all the .pyd files. Now we can ensure sphinx will get the data from the source.

Build HTML documentation

It’s recommended remove first the _docs folder.

sphinx-build -b html docs _docs

Build PDF documentation

It’s recommended remove first the _pdf folder.

sphinx-build -b pdf docs _pdf

Run PyTest

Fill configuration json tests/config.json.

Run tests with target protocol (eoe, soem or canopen). For example:

pytest --protocol soem

GitHub

GitHub - ingeniamc/ingeniamotion: Motion library for Ingenia servo drives
Motion library for Ingenia servo drives. Contribute to ingeniamc/ingeniamotion development by creating an account on GitHub.