deepracer-vehicle-api-0.0.9
توضیحات
deepracer-vehicle-api is a python package for control the DeepRacer vehicle via HTTP API.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | deepracer-vehicle-api-0.0.9 |
| نام | deepracer-vehicle-api |
| نسخه کتابخانه | 0.0.9 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Chi Thu Le |
| ایمیل نویسنده | thu2004@yahoo.se |
| آدرس صفحه اصلی | https://github.com/thu2004/deepracer-vehicle-api |
| آدرس اینترنتی | https://pypi.org/project/deepracer-vehicle-api/ |
| مجوز | MIT |
# Deepracer Vehicle API
deepracer_vehicle_api package contains methods to communicate with the Deepracer vehicle. These apis are reverse engineering with web browser to capture network traffic when using the deepracer internal configuration web interface for configuration of the vehicle.
# API
## High level methods
* show_vehicle_info
* move_forward
* move_backward
* turn_right
* turn_left
## General purpose methods
* get_is_usb_connected
* get_battery_level
* get_raw_video_stream
## Methods for running autonomous mode
* set_autonomous_mode
* set_throttle_percent
## methods for running manual mode
* set_manual_mode
* start_car
* stop_car
* move
## methods for models
* get_models
* get_uploaded_models
* load_model
* upload_model
## methods for calibration
* set_calibration_mode
* get_calibration_angle
* get_calibration_throttle
* set_calibration_throttle
* set_calibration_angle
# Installation
```
pip install deepracer-vehicle-api
```
# Getting Started
## Show vehicle info
```python
import deepracer_vehicle_api
client = deepracer_vehicle_api.Client(password="???", ip="111.222.333.444")
client.show_vehicle_info()
```
For more details, see addition examples here: https://github.com/thu2004/deepracer-vehicle-api/tree/master/examples'
# Others
This repo has borrowed code and refactored them from :
* https://github.com/ARCC-RACE/deepracer-rc
* https://github.com/gidutz/DeepBullFighting
نیازمندی
| مقدار | نام |
|---|---|
| >=4.8.2 | beautifulsoup4 |
| >=0.0.1 | bs4 |
| >=4.4.2 | lxml |
| >=5.3 | PyYAML |
| >=2.22.0 | requests |
| >=0.9.1 | requests-toolbelt |
| >=1.25.8 | urllib3 |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl deepracer-vehicle-api-0.0.9:
pip install deepracer-vehicle-api-0.0.9.whl
نصب پکیج tar.gz deepracer-vehicle-api-0.0.9:
pip install deepracer-vehicle-api-0.0.9.tar.gz