Skip to main content

OSIRIS agent for ROS2/Humble

Project description

OSIRIS Agent

PyPI Python License CI

A ROS2 Humble node that bridges your robot to the OSIRIS remote monitoring platform via WebSocket.

Install

Install the OSIRIS agent on your robot:

pip3 install osiris-agent

Quick Start

1. Add token to your environment

export OSIRIS_AUTH_TOKEN=your-token-here

2. (Optional) Enable behaviour tree collector

If you're using BT.CPP with Groot2 monitoring:

export OSIRIS_BT_COLLECTOR_ENABLED=true

Default host is 127.0.0.1. Default port for server is 1667 and for publisher 1668. To change these:

export OSIRIS_BT_HOST=127.0.0.1
export OSIRIS_BT_SERVER_PORT=1667
export OSIRIS_BT_PUBLISHER_PORT=1668

3. Start agent

osiris_node

Usage & Configuration

Required Environment Variables

  • OSIRIS_AUTH_TOKEN — Your robot authentication token from the OSIRIS platform

Optional Environment Variables

Behaviour Tree Monitoring (BT.CPP + Groot2):

  • OSIRIS_BT_COLLECTOR_ENABLED — Set to true to enable BT.CPP tree monitoring (default: false)
  • OSIRIS_BT_HOST — Groot2 ZMQ host address (default: 127.0.0.1)
  • OSIRIS_BT_SERVER_PORT — Groot2 REQ/REP server port (default: 1667)
  • OSIRIS_BT_PUBLISHER_PORT — Groot2 PUB/SUB publisher port (default: 1668)

BT.CPP Integration

The agent automatically collects behaviour tree events from BT.CPP when OSIRIS_BT_COLLECTOR_ENABLED=true. Your BT.CPP application must:

  1. Enable Groot2 monitoring in your code
  2. Use the standard Groot2 ZMQ ports (1667/1668) or configure custom ports via environment variables

The collector uses BT.CPP's standardized Groot2 protocol, so it works with any behaviour tree without custom configuration.

Contributing

Open issues and PRs at: https://github.com/nicolaselielll/osiris_agent

License

Apache-2.0 — see the LICENSE file.

Changelog

See release notes on GitHub Releases for v0.1.0 and future versions.

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

osiris_agent-0.3.96.tar.gz (141.1 kB view details)

Uploaded Source

Built Distribution

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

osiris_agent-0.3.96-py3-none-any.whl (142.9 kB view details)

Uploaded Python 3

File details

Details for the file osiris_agent-0.3.96.tar.gz.

File metadata

  • Download URL: osiris_agent-0.3.96.tar.gz
  • Upload date:
  • Size: 141.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.0

File hashes

Hashes for osiris_agent-0.3.96.tar.gz
Algorithm Hash digest
SHA256 b2da1624aea13fcfcb4adf6905eff94d353a2932225e2c5927f40e034df2f603
MD5 c035bc34c1b8de74d48ab1d3fb5ec53e
BLAKE2b-256 17bb173e70f3d88b609641ee491ed5e847d36b0bfa4d327cc82cfa3f1dd3db4c

See more details on using hashes here.

File details

Details for the file osiris_agent-0.3.96-py3-none-any.whl.

File metadata

  • Download URL: osiris_agent-0.3.96-py3-none-any.whl
  • Upload date:
  • Size: 142.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.0

File hashes

Hashes for osiris_agent-0.3.96-py3-none-any.whl
Algorithm Hash digest
SHA256 f84c6362d70d6fb957c9c9609d7d80bc0a78dd06b9ee988dd0b63d9278a0ef57
MD5 16b6d44da134c00436a5249befd1bfdd
BLAKE2b-256 22f8c8470b6c2b7f18c5eedef92de4053f5403a40ec7d1bfe0c32ac8f995be48

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