PyPI Tutorial
Project description
使用示例
# 安装依赖
# pip install gros_client_car
# 引入依赖
from gros_client_car import Car
# 实例化human对象
car = Car(host='192.168.9.17')
# 调用启动方法
car.start()
# 切换四轮模式
car.set_mod(Mod.MOD_4_WHEEL)
# 以速度10向正前方移动
car.move(10, 0)
# 以速度20向正后方移动
car.move(-20, 0)
# 以速度20向右(30度)后方移动
car.move(-20, 30)
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
gros_client_car-0.1.16.tar.gz
(4.7 kB
view hashes)
Built Distribution
Close
Hashes for gros_client_car-0.1.16-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1bad5883dc9faf19da888c1d4956782e4ab237548f8e3db0d2547ca55be330f4 |
|
MD5 | 1afb394b1eff36ec9e96d3c965948ebb |
|
BLAKE2b-256 | 46f319a187f63896d5dfc64af6b9049f5e05003081308cbdeb77d95303eaf934 |