This is source code from official feetech repository. The repository structure copies the structure of the original library
root dirrectory
|---scservo_sdk
|---scsservo_sdk_example
The scsservo_sdk_example
directories contain examples of using the library.
The source code of the library is located in the scservo_sdk
directory.
The scsservo_sdk_source
directory contains the original archive with the source code of the library from the developer.
Tested on Linux raspberrypi 5.15.61-v8+ #1579 SMP PREEMPT Fri Aug 26 11:16:44 BST 2022 aarch64
.
Python version Python 3.9.2
.
$ cd /usr/src/
$ sudo git clone https://github.com/Adam-Software/Feetech-Servo-SDK.git
$ sudo chown -R pi Feetech-Servo-SDK
$ cd Feetech-Servo-SDK/scsservo_sdk_example
$ python3 ping.py
Succeeded to open the port
Succeeded to change the baudrate
[ID:001] ping Succeeded. SCServo model number : 1540
Copy the sample file to any location convenient for you. In the example I use /home/pi/FeetechTestFiles
$ pip install feetech-servo-sdk
$ cd /home/pi/FeetechTestFiles
$ python3 ping.py
Succeeded to open the port
Succeeded to change the baudrate
[ID:001] ping Succeeded. SCServo model number : 1540