ingeniamc / ingeniamotion

Motion library for Ingenia servo drives
Other
6 stars 0 forks source link

Ingm 501 find alternative to io in value set in motion controller fixture #242

Closed polfeliu closed 2 weeks ago

polfeliu commented 3 weeks ago

Description

The value of the IO was manually set on the virtual drive fixture, which was descontextualized. Furthermore the test itself for gpis was wrong, when the polarity is changed the value read by the library also changes. Tests were passing because there is no actual emulation of the gpios on the virtual drive, so I've implemented it here: https://github.com/ingeniamc/ingenialink-python/pull/468

Type of change

Please add a description and delete options that are not relevant.

Tests

Documentation

Please update the documentation.

Code formatting

Others