Skip to content

Adam-Software/Feetech-Servo-SDK

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Feetech-Servo-SDK Platforms Language IDE adam package

License PyPI version

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