Skip to main content

phyelds-ros2

ROS 2 integration for phyelds: run aggregate programs on ROS 2 robots, real or simulated, one node per robot.

Installation

Install it in the Python of your ROS 2 distribution, Jazzy or later (Python 3.12 or newer):

pip install phyelds-ros2

rclpy and the messages come with ROS 2.

Usage

Each robot runs a node in its own namespace, which names the robot:

python -m phyelds.ros2 turtles:main --sense turtlesim --neighbourhood range --range 3.5 \
    --source turtle1 --ros-args -r __ns:=/turtle2

The node turns the topics of its robot into sensors and the outputs of its program into messages, through SensorTopics and ActuatorTopics: odometry, turtlesim poses, differential and holonomic cmd_vel drives and text are ready, reading and command wire one field of any topic, and --topics module:function adds those of your own. The nodes talk to each other on /phyelds/messages. A neighbourhood strategy decides which senders are neighbours:

  • Reachable(): whoever the network delivers; with measure=True, each message carries the position of its sender, and neighbours come with their distance and vector;
  • WithinRange(radius): the senders within radius metres, from those positions.

AggregateRosNode is the node for a launcher in Python, and AggregateNode the rounds without ROS.

See the documentation.

Metadata

Release files for phyelds-ros2 10.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for phyelds-ros2 10.4.0
File Size Uploaded Provenance Actions
phyelds_ros2-10.4.0.tar.gz 12.3 kB Without provenance Details for phyelds_ros2-10.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for phyelds-ros2 10.4.0
File Interpreter ABI Platform Actions
phyelds_ros2-10.4.0-py3-none-any.whl Python 3 none any Details for phyelds_ros2-10.4.0-py3-none-any.whl

Total release size: 27.4 kB

Release files / phyelds_ros2-10.4.0.tar.gz

Download URL phyelds_ros2-10.4.0.tar.gz
Size 12.3 kB
Tags Source
SHA-256 checksum
How to use checksums
cee7b40d8dab5115fdc810d93fd25ceef67f91b03162bfc93608fba0687326ec
BLAKE2b-256 checksum
How to use checksums
5dcb7b98e874094e36223dceab993656f37d889b2550dfff8301d68f20ab1371
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.4.0 CPython/3.13.18 Linux/7.0.0-1020-azure

Release files / phyelds_ros2-10.4.0-py3-none-any.whl

Download URL phyelds_ros2-10.4.0-py3-none-any.whl
Size 15.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c8f2c002c2e18c033f758cfafcde1129bea6750e97f81a3798e925573b70bd28
BLAKE2b-256 checksum
How to use checksums
94c079d4fa1d3001cbbc9371503c2c6b672af55a70d2c68e15152c2dbcbc2b0e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.4.0 CPython/3.13.18 Linux/7.0.0-1020-azure

Security for phyelds-ros2 10.4.0

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.

Release history Release notifications | RSS feed

This release

10.4.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page