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 used by deepracer internal configuration web interface for configurating 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/examples'
Others
This repo has borrowed code and refactored them from :
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
Built Distribution
Close
Hashes for deepracer-vehicle-api-0.0.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 38a0f3ce6dfe6e56a340c132175f7937e43c8c475a3e8224ad7534aabba78ceb |
|
MD5 | 763f06556de1ef2e96b7882144ba0e5d |
|
BLAKE2b-256 | 366a733a7cca3df19f664616c8a61d53de1b9c93eed5e8df057ed5bce1da1dc0 |
Close
Hashes for deepracer_vehicle_api-0.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 289905af78737dc9b2c0b566783badf339ba65388063398ff203b51e2b5f3a68 |
|
MD5 | 2fdd402505b2a7cd0327fb454f24e0b1 |
|
BLAKE2b-256 | a01bf7c688e641720c452982c421316e7ef87f5928ebb16fdf3682fbd5d4be55 |