代码拉取完成,页面将自动刷新
This is source code from official feetech repository.
root dirrectory
|---scservo_sdk
|---sms_sts
|---scscl
|---hls
The 'scscl' 'sms_sts' 'hls' directories contain examples of using the library.
The source code of the library is located in the scservo_sdk
directory.
The 'scsservo_sdk' directory contains the original archive with the source code of the library from the developer.
Tested on Linux Raspbian GNU/Linux 9.13 (stretch). Python version Python 3.5.3
$ cd /usr/src/
$ sudo git clone https://github.com/ftservo/FTServo_Python.git
$ sudo chown -R pi FTServo_Python
$ cd FTServo_Python/sms_sts
$ 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 ftservo-python-sdk
$ cd /home/pi/FeetechTestFiles/sms_sts
$ python3 ping.py
Succeeded to open the port
Succeeded to change the baudrate
[ID:001] ping Succeeded. SCServo model number : 1540
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。