ifm / o3d3xx-python

A Python 2/3 library for ifm efector O3D3xx 3D cameras
MIT License
11 stars 12 forks source link

o3d3xx-python

A Python 2/3 library for ifm efector O3D3xx 3D cameras

Features

Prerequisites

Usage with Python 2 requires the 'future' package

Installation

Install the package with

$ python setup.py install

Examples

For a quick start, go to the examples folder and run

$ python create_application.py 192.168.0.69

with your device's IP address to create an example application and

$ python image_viewer.py 192.168.0.69

to view the image data coming from the camera (requires matplotlib)

Usage

RPC client

The library provides all XMLRPC objects as mentioned in the camera's XMLRPC manual. The entry point is the RPC main object which can be created with e.g.

camera = o3d3xx.Device("192.168.0.69")

RPC calls can be performed e.g. like this

version_info = camera.getSWVersion()

These are the different RPC objects and the possibilites how they can be acquired:

PCIC client

The library currently provides three basic clients:

Links

O3D3xx related libraries for other programming languages:

Contributing

o3d3xx-python is available at Github