ros2dev
This project builds a ROS 2.0 development environment in Docker. The user can then step into the ROS 2.0 environment to perform additional ROS 2.0 actions (build, rostopic list, etc.).
Basic Setup
Generate the Dockerfiles to build the base ROS 2.0 environment:
$ ros2dev generate
The generated files are placed in the ./generated directory by default. Along with the generated Dockerfile and docker-compose.yml files is a config.json file, which contains cached variables from the generate step.
Build the Docker image for the base ROS 2.0 environment:
$ ros2dev build
Step into the base ROS 2.0 environment:
$ ros2dev env
Run a single command in the ROS 2.0 environment:
$ ros2dev run -c "ros2 topic list"
Install Additional Dependencies
Since jinja2 is used to generate the Dockerfiles, a developer can extend the base Dockerfile by overriding the “third_party” block. An example is provided in this package at: ./src/ros2dev/templates/third_party.example. To generate a Dockerfile with an override, use the following command:
$ ros2dev generate -o ./src/ros2dev/templates/third_party.example
Then build the docker image:
$ ros2dev build
Build a ROS 2.0 Workspace
To build a ROS 2.0 development environment for a ROS workspace, navigate to the workspace root directory and run the following command:
$ ros2dev generate -w ./src -o ./third_party.dockerfile
By convention, there should be a src directory in the root of a ROS workspace, so we pass the path to the src directory to the -w (--ws_copy_dir) option. In this example, we are also using the override option (-o) to install additional dependencies before building the ROS workspace.
Now you can build the docker image for the ROS environment and step into the ROS environment:
$ ros2dev build $ ros2dev env
News
0.2a1
Release date: UNRELEASED
Example news entry for the in-development version
0.1
Release date: 15-Mar-2010
Example news entry for a released version
Metadata
Release files for ros2dev 0.1.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ros2dev-0.1.6.tar.gz | 5.5 kB | Without provenance | Details for ros2dev-0.1.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ros2dev-0.1.6-py3-none-any.whl | Python 3 | none | any | Details for ros2dev-0.1.6-py3-none-any.whl |
Total release size: 12.5 kB
Release files / ros2dev-0.1.6.tar.gz
| Download URL | ros2dev-0.1.6.tar.gz |
|---|---|
| Size | 5.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
08bb309112f40151c554bf3d8975841eedb4a3e5971ca89de516f18e9df704f8
|
|
BLAKE2b-256 checksum How to use checksums |
399394b5dbb314f130119c60131cf98dd866e85e7ffeac84501777be7bb57475
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.5.2
|
Release files / ros2dev-0.1.6-py3-none-any.whl
| Download URL | ros2dev-0.1.6-py3-none-any.whl |
|---|---|
| Size | 7.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a94bc146ce20b842e7e9b53e060dd000e3a5a18f3e7efd04fe78d642d53d8b1f
|
|
BLAKE2b-256 checksum How to use checksums |
0f0c7e2bd39f907e9332695a1f0c3f32cbb487111d7a063f032ec9788082ef5a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.5.2
|
Security for ros2dev 0.1.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.