Skip to main content

A pkg for converting ROS2 [colav-interfaces](https://github.com/Artemis-QUB-COLAV/colav-interfaces) to [colav-protobuf](https://github.com/Artemis-QUB-COLAV/colav-protobuf) and vice versa

Project description

colav-bridge

PyPI - Version PyPI - Python Version

This package contains functions which bridge colav_protobuf messages to ros_interfaces and vice versa.


Table of Contents

Installation

pip install colav-bridge

Structure

The src code in colav-bridge shows that the project is organised into main directories:

  • Tests: The tests directory contains a variety of unit tests ensuring that the pkg is working as expected and are called as apart of the CI/CD pipeline defined by the github_action

Usage

When pkg is installed, Using it is simple imports are as follows.

from colav_bridge.proto_to_ros import (
    parse_agent_update,
    parse_mission_request,
    parse_obstacles_update
)
from colav_bridge.ros_to_proto import (
    parse_controller_feedback
)

Here is an example of one of these colav_bridge parsers being used:

    from colav_protobuf.examples import agent_update as proto_agent_update
    from colav_protobuf_utils.serializer import serializer_protobuf

    ros_agent_update = parse_agent_update(serialize_protobuf(proto_agent_update))

License

colav-bridge is distributed under the terms of the MIT license.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

colav_bridge-0.0.5.tar.gz (11.0 kB view details)

Uploaded Source

Built Distribution

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

colav_bridge-0.0.5-py3-none-any.whl (10.4 kB view details)

Uploaded Python 3

File details

Details for the file colav_bridge-0.0.5.tar.gz.

File metadata

  • Download URL: colav_bridge-0.0.5.tar.gz
  • Upload date:
  • Size: 11.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for colav_bridge-0.0.5.tar.gz
Algorithm Hash digest
SHA256 1a61c2d9978912a6677be873d66b9d446be9038f502a96d9dd93cb7e0875cb31
MD5 8a1f3f8d0f44de69651674ae9964712e
BLAKE2b-256 1ac2a3720dc97b2e19351e3c289b6b11df3a029debf93e699c8ed7060058364f

See more details on using hashes here.

File details

Details for the file colav_bridge-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: colav_bridge-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 10.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for colav_bridge-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 bd74300e91f0f8e80a8f229fdd0d0aa859bdbde621784495e4c34db8139e19eb
MD5 b4da3fa565c8e5ccb8e4f4379e9376d5
BLAKE2b-256 ecc66f1484d1c178f7ea875dfd97d8147c0e5f17462f553dbfae2a2e14b424e2

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