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.


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


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")

For more details, see addition examples here:'


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.

Files for deepracer-vehicle-api, version 0.0.10
Filename, size File type Python version Upload date Hashes
Filename, size deepracer_vehicle_api-0.0.10-py3-none-any.whl (6.4 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size deepracer-vehicle-api-0.0.10.tar.gz (4.5 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page