Skip to main content

Python SDK for the RadarIQ sensor

Project description

Overview

This module provides an easy to use Python wrapper for the RadarIQ-M1 sensor (https://radariq.io/products/radariq-m1) which works for both Python 2 & 3. This SDK has been tested with Windows, OSX, Raspberry Pi and Linux.

The RadarIQ-M1 sensor is an easy-to-use radar sensor for detecting objects and measuring distance and speed. All the difficult parts of working with radar are done by the sensor and a simple API and SDK provide an easy path to integration.

The RadarIQ Python SDK is released under the MIT software license, see LICENSE (https://github.com/radariq/python-sdk/LICENCE) for more details.

Documentation

See https://radariq-python.readthedocs.io

Requirements

Installation

Install the RadarIQ SDK using pip

pip install radariq

The SDK can be used from Python scripts

from radariq import RadarIQ

Usage

from radariq import RadarIQ, MODE_POINT_CLOUD

riq = RadarIQ()
riq.set_mode(MODE_POINT_CLOUD)
riq.set_units('m', 'm/s')
riq.set_frame_rate(5)
riq.set_distance_filter(0, 10)
riq.set_angle_filter(-45, 45)
riq.start()

for row in riq.get_data():
    print(row)

Examples

Examples are in the directory examples: https://github.com/radariq/python-sdk/blob/master/examples

Other pages

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

radariq-1.0.6.tar.gz (19.0 kB view hashes)

Uploaded source

Built Distribution

radariq-1.0.6-py3-none-any.whl (16.8 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page