Skip to content

Releases: waggle-sensor/pywaggle

v0.37.2

28 Oct 15:21
a514d9b
Compare
Choose a tag to compare

Includes pixel_format=rgb|bgr support in data shim.

v0.37.1

16 Oct 19:07
Compare
Choose a tag to compare

Bug Fix: More gracefully handle unexpected message types.

v0.37.0

16 Oct 17:11
Compare
Choose a tag to compare

Updated internal plumbing to better support future return path.

v0.36.0

15 Oct 15:49
Compare
Choose a tag to compare

Added standard debug logging support to pywaggle plugins. This can be enabled as:

import waggle.plugin as plugin
import logging

# turn on debug logging
logging.basicConfig(level=logging.DEBUG)

plugin.init()
...

v0.35.0

15 Oct 14:02
Compare
Choose a tag to compare

Fixed data shim timestamp to use time_ns to match plugin.

Added cv2 warning instead of crashing when importing data shim.

v0.34.0

14 Oct 21:40
Compare
Choose a tag to compare

Image data publish assumes data will be uint8 [0,255] RGB pixel data. Any rescaling will be left up to user.

v0.33.0

14 Oct 20:15
Compare
Choose a tag to compare

Internal plugin update to support better testing and publishing binary and image data publishing.

v0.32.0

06 Oct 16:40
3247ba6
Compare
Choose a tag to compare

Release Notes

This is a major update. In this release, plugins have been completely redesigned with the following changes:

  1. Plugins are intended to safely instrument a whole program. The old interface has been simplified and can now safely instrument existing code. For example:
import waggle.plugin as plugin

# init once for entire program. all publishing can now be called safely from anywhere
plugin.init()

...

while True:
    plugin.publish('env.humidity.htu21d', 80.1)
  1. Plugins can subscribe to data streams.
  2. Plugins use ontology based names instead of explicit internal IDs.

v0.31.0

20 Jul 14:35
Compare
Choose a tag to compare

The implementation of the Plugin class now runs in a more decoupled way from RabbitMQ. This will allow user code to run more predictably and to more robustly manage its connection to RabbitMQ in the background. In the future, this will allow cleaner management of things like RabbitMQ heartbeats, receiving messages, etc.

v0.30.0

18 Jun 22:16
Compare
Choose a tag to compare
  1. To address running the plugin with less required parameters, the waggle.plugin.Plugin() class uses the following default values:
WAGGLE_PLUGIN_INSTANCE = 0
WAGGLE_NODE_ID = 0000000000000000
WAGGLE_SUB_ID = 0000000000000000
WAGGLE_PLUGIN_USERNAME = worker
WAGGLE_PLUGIN_PASSWORD = worker
WAGGLE_PLUGIN_HOST = rabbitmq
WAGGLE_PLUGIN_PORT = 5672
  1. Encoding and decoding signed integers and floats have been implemented in the protocol.