This is source code from official feetech repository
Project description
Feetech-Servo-SDK
This is source code from official feetech repository. The repository structure copies the structure of the original library
Structure
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.
Usage
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
.
Method 1. Clone repositry
$ 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
Method 2. Install pip package
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file feetech-servo-sdk-1.0.0.tar.gz
.
File metadata
- Download URL: feetech-servo-sdk-1.0.0.tar.gz
- Upload date:
- Size: 8.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d4d3832e4b1b22a8222133a414db9f868224c2fb639426a1b11d96ddfe84e69c |
|
MD5 | 36dfc1a4e64e2fad61a6ede5ccba99ac |
|
BLAKE2b-256 | 5f8ec53d6f9a8bf3a86a635b58eeb675723f1b040f1665a0681467756c8989aa |