awsdeepracer_control is a rewrite python package for control the DeepRacer vehicle via HTTP API.
Project description
awsdeepracer_control
This python package rewrite to support the new version Deepracer Console Software version 2.0.383.0
What's New
- Compatibility with Deepracer Console Software version 2.0.383.0.
- Resolved the issue where the video stream was not displayed.
- Updated the move method to support the new version of the web console.
- Removed the following methods: move_forward, move_backward, turn_right, turn_left.
- Added robust error handling for scenarios like unreachable vehicle, inaccessible CSRF token, and incorrect credentials.
- Enhanced security checks in API calls to ensure the accuracy of success statuses.
- Addressed potential Python identifier issues, such as replacing null with None.
Package Repo Link
https://github.com/lshw54/awsdeepracer_control
Package Pypi Link
https://pypi.org/project/awsdeepracer-control/
API
High level methods
- show_vehicle_info
- move
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 awsdeepracer_control
Getting Started
Show vehicle info
import awsdeepracer_control
client = awsdeepracer_control.Client(password="???", ip="111.222.333.444")
client.show_vehicle_info()
Others
This repo is rewrite 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
File details
Details for the file awsdeepracer_control-0.2.0.tar.gz
.
File metadata
- Download URL: awsdeepracer_control-0.2.0.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a3a05783eb23ec927f146a63ca1df17301806190300076eac67ded78a553633 |
|
MD5 | b6ed5441b5ebce590529aaa720583b3a |
|
BLAKE2b-256 | 196f1ba1dace3792b7561cd6566a193ac6325ab31b29beb56ddc410cd236abea |