Skip to main content

deepracer-vehicle-api is a python package for control the DeepRacer vehicle via HTTP API.

Project description

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

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 :

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

deepracer-vehicle-api-0.0.10.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

deepracer_vehicle_api-0.0.10-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file deepracer-vehicle-api-0.0.10.tar.gz.

File metadata

  • Download URL: deepracer-vehicle-api-0.0.10.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.7.6

File hashes

Hashes for deepracer-vehicle-api-0.0.10.tar.gz
Algorithm Hash digest
SHA256 9a9a93f268dfc65ea14919bfc6608383686427b06346c1eb371ec1ede6fe7b9d
MD5 42e58039aa4093ef17302e2fd3739ba6
BLAKE2b-256 4bf7e27cb08dd683ace509be03533ccaaeca597c0babe5c4b96abdb50bea0dd2

See more details on using hashes here.

File details

Details for the file deepracer_vehicle_api-0.0.10-py3-none-any.whl.

File metadata

  • Download URL: deepracer_vehicle_api-0.0.10-py3-none-any.whl
  • Upload date:
  • Size: 6.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.7.6

File hashes

Hashes for deepracer_vehicle_api-0.0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 ba9d38c4b2f4265489ec7c9b5c0bd69ec9b191ab09384927c632a53a0f6f06f2
MD5 36d9aaa3be09684f8423cd117688d673
BLAKE2b-256 0b8aeb68014e206d1b90faf75a2c2ef4a552b85614886a9eac3c28c6c3b42e33

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page