Skip to content

Adam-Software/Servo-voltage

Repository files navigation

Servo-voltage Platforms Language IDE adam package

License Activity LastStatus CodeSize Depencies

PyPI version PythonVersion Wheel Status Format

What the library can do?

  1. Get the servo voltage value using the feetech sdk
  2. Serialize and deserialize voltage values in json

How install

pip install servo-voltage

How to get values using the feetech sdk?

from servo_voltage.ServoVoltage import *

def ServoVoltage():
    servoId = 13
    voltage = ServoVoltage().GetVoltage(servoId)

How install PySyde2 on RaspeberyPi 4 (Debian GNU/Linux 11 (bullseye)

sudo apt-get install python3-pyside2.qt3dcore python3-pyside2.qt3dinput python3-pyside2.qt3dlogic python3-pyside2.qt3drender python3-pyside2.qtcharts python3-pyside2.qtconcurrent python3-pyside2.qtcore python3-pyside2.qtgui python3-pyside2.qthelp python3-pyside2.qtlocation python3-pyside2.qtmultimedia python3-pyside2.qtmultimediawidgets python3-pyside2.qtnetwork python3-pyside2.qtopengl python3-pyside2.qtpositioning python3-pyside2.qtprintsupport python3-pyside2.qtqml python3-pyside2.qtquick python3-pyside2.qtquickwidgets python3-pyside2.qtscript python3-pyside2.qtscripttools python3-pyside2.qtsensors python3-pyside2.qtsql python3-pyside2.qtsvg python3-pyside2.qttest python3-pyside2.qttexttospeech python3-pyside2.qtuitools python3-pyside2.qtwebchannel python3-pyside2.qtwebsockets python3-pyside2.qtwidgets python3-pyside2.qtx11extras python3-pyside2.qtxml python3-pyside2.qtxmlpatterns

To work in a virtual environment, create symbolic links to these directories

/usr/lib/python3/dist-packages/PySide2
/usr/lib/python3/dist-packages/shiboken2

to your virtual environment dist-packages location