Skip to main content

Stretch Body Tools

Project description

Stretch Body Command Line Tools

This package provides Python tools that work with the Hello Robot Stretch Body package. These tools perform common tasks when working with Stretch (e.g. homing and stowing), and serve as tutorial code for working on various parts of the robot. This package comes pre-installed on Stretch robots. A tutorial for using this package can be found on the docs.

Installing

This package comes pre-installed on Stretch robots. To install or upgrade to a stable Stretch Body Command Line Tools for Python3, run:

$ python3 -m pip install --upgrade hello-robot-stretch-body-tools

To install or upgrade to a pre-release of the Command Line Tools for Python3, run:

$ python3 -m pip install --upgrade --pre hello-robot-stretch-body-tools

Please report feedback on the Issue Tracker or the Forum.

Usage

All of the command-line tools reside within the bin/ folder. When this package is installed, they are accessible from anywhere as command-line tools. For example, to perform a robot system check, run:

$ stretch_robot_system_check.py

For more info on these tools, see the tutorial.

Developing

The source code for the command-line tools resides within the bin/ folder. You can install the tools package as "editable", and directly edit the source code to test changes.

In Python3, run python3 -m pip install -e .

For example, to test changes to the stretch_robot_home.py script, run

$ python3 -m pip uninstall hello-robot-stretch-body-tools # ensure previous Stretch Body Tools installations are removed
$ git clone https://github.com/hello-robot/stretch_body.git
$ cd stretch_body/tools
$ python3 -m pip install -e .

Now, make desired edits to the stretch_robot_home.py file. Executing the script on the command-line will now run your modified version.

Deploying

Increment the version number and run the deploy.sh script. Verify the new release is reflected on PyPI.

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

hello_robot_stretch_body_tools-0.7.16.tar.gz (52.5 kB view details)

Uploaded Source

Built Distribution

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

hello_robot_stretch_body_tools-0.7.16-py3-none-any.whl (72.5 kB view details)

Uploaded Python 3

File details

Details for the file hello_robot_stretch_body_tools-0.7.16.tar.gz.

File metadata

File hashes

Hashes for hello_robot_stretch_body_tools-0.7.16.tar.gz
Algorithm Hash digest
SHA256 59678b9e7680d7b7a08ef05ff6cf70f07583904ed43871e9895c5b5c1f7ea7f3
MD5 8add924a3db9911230e9cfc04fcc52f2
BLAKE2b-256 1bf61f31083dee9c10054d7d0919daf8b5744c888c6c0e00941d762bc296adef

See more details on using hashes here.

File details

Details for the file hello_robot_stretch_body_tools-0.7.16-py3-none-any.whl.

File metadata

File hashes

Hashes for hello_robot_stretch_body_tools-0.7.16-py3-none-any.whl
Algorithm Hash digest
SHA256 5c0950d8d3d5a9c250a86f432b63f724a87ed9c1fe2157dea3a1963173975f99
MD5 40d0fde7b1367cdd47bd6c4851560d80
BLAKE2b-256 ac0b9dcbabd49ab35b7aa65aff8cb550a6d6050a4347ed90702bd64f1ad9148b

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