Alternative ROS client library
Project description
ALternative PYthon ROs
Alternative implementation of a ROS client library in python.
Example usage
Publisher
from alpyro.node import Node
from alpyro.msgs.std_msgs import StdString
def test():
msg = StdString()
msg.value = "Hello there"
return msg
with Node("/pub") as n:
n.announce("/test", StdString)
n.schedule_publish("/test", 10, test)
n.run_forever()
Subscriber
from alpyro.node import Node
from alpyro.msgs.std_msgs import StdString
def callback(msg: StdString):
print(msg.value)
with Node("/sub") as n:
n.subscribe("/test", callback)
n.run_forever()
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
alpyro-2020.8a0.tar.gz
(7.6 kB
view details)
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 alpyro-2020.8a0.tar.gz.
File metadata
- Download URL: alpyro-2020.8a0.tar.gz
- Upload date:
- Size: 7.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8c5201222d1a6c2aea89cf2fe04c650eb9b14f66c7deac4d8d6393f8e9e2a242
|
|
| MD5 |
39bc1bdd0d580764f2536d3b02dd50c1
|
|
| BLAKE2b-256 |
bb0fda14c9377c036ad4676fc0176a408637f6f3f33f4128853ba440234744fb
|
File details
Details for the file alpyro-2020.8a0-py3-none-any.whl.
File metadata
- Download URL: alpyro-2020.8a0-py3-none-any.whl
- Upload date:
- Size: 7.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
55286c7d69d383a4207e38db0db230e8ff38c709d50fd7064e747cdb890841a2
|
|
| MD5 |
73fc67f9c10e8706c948a76a3edfa132
|
|
| BLAKE2b-256 |
1050471c1e9426feaab2b23b749a26c9602f69b7398890fa8e265b5187aec45b
|