Stretch RE1 low level Python API
Project description
Stretch Body
The stretch_body package provides a low level Python API to the Hello Robot Stretch RE1 hardware.
Installing
To install stable Stretch Body for Python2, run:
$ python -m pip install --upgrade hello-robot-stretch-body
To install a pre-release of Stretch Body for Python2, run:
$ python -m pip install --upgrade --pre hello-robot-stretch-body
Please report feedback on the Issue Tracker or the Forum.
For Python3, substitute python with python3.
Running tests
There are a number of unit, functional, and performance tests within the test/ folder, separated into test suites by different files. Suites are separated by a device or functionality within Stretch Body that is being tested.
In Python2, run python -m unittest test.test_<suite-name>. For Python3, substitute python with python3.
For example, to run the stretch_body.robot.Robot functional tests, run
$ git clone https://github.com/hello-robot/stretch_body.git
$ cd stretch_body/body
$ python -m unittest test.test_robot
Developing
The source code for Stretch Body resides within the stretch_body/ folder. You can install Stretch Body as "editable", and directly edit the source code to test changes.
In Python2, run python -m pip install -e . For Python3, substitute python with python3.
For example, to test changes to stretch_body.robot.Robot, run
$ git clone https://github.com/hello-robot/stretch_body.git
$ cd stretch_body/body
$ python -m pip install -e .
Now, make desired edits to the stretch_body/body/stretch_body/robot.py file. Software using Stretch Body is now using the modified stretch_body.robot.Robot class.
Deploying
Increment the version number and run the deploy.sh script.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hello_robot_stretch_body-0.3.3.tar.gz.
File metadata
- Download URL: hello_robot_stretch_body-0.3.3.tar.gz
- Upload date:
- Size: 100.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
12c1f8f5781c2683c432a82834d5cb4d7dae23069db688a2b666b44c97ae8b87
|
|
| MD5 |
06c95cc92b48cfe0d4708264a8dfc3fa
|
|
| BLAKE2b-256 |
66036906bda0efc0c16e3fa8222d663b33dd03541cc81b67b4f688fc037991d8
|
File details
Details for the file hello_robot_stretch_body-0.3.3-py3-none-any.whl.
File metadata
- Download URL: hello_robot_stretch_body-0.3.3-py3-none-any.whl
- Upload date:
- Size: 124.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bcfb39fa11946aafc45372719ddaf069aa9382c0ffcf39a48583ea5b7945cf22
|
|
| MD5 |
d2c73134890017e5770c90bc08a1b752
|
|
| BLAKE2b-256 |
469d4ad73be56c77c35282bce0624b6cd65b636e312f755d10f56d44d9eb6981
|