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.5.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.5.0
File Size Uploaded Provenance Actions
phyelds_ros2-10.5.0.tar.gz 12.3 kB Without provenance Details for phyelds_ros2-10.5.0.tar.gz

Built distribution (wheel)

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

Total release size: 27.4 kB

Release files / phyelds_ros2-10.5.0.tar.gz

Download URL phyelds_ros2-10.5.0.tar.gz
Size 12.3 kB
Tags Source
SHA-256 checksum
How to use checksums
3c8942d9f9a2c8b486fc7420f0a56b34858e6cc42ec726819a1d530e41de70e5
BLAKE2b-256 checksum
How to use checksums
35d66b6bd2348d3dcffa3c1c929f1dd778b917fd47bbf45535f65214268ec41f
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.5.0-py3-none-any.whl

Download URL phyelds_ros2-10.5.0-py3-none-any.whl
Size 15.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ebe8e3115032818d7f0a596d53616f9c3b7f1e961a05209237fb732240f162ef
BLAKE2b-256 checksum
How to use checksums
b1079eb2d0bc7d284316c8f0accb7637d5908da33f7cc8086ad9f8c0f446a113
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.5.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.5.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