Skip to content

Ashyglim/cdds-python

 
 

Repository files navigation

Cyclone DDS Python API

Overview

cdds-python is a simple Python API for Cyclon DDS

This API supports:

  • IDL-based Topic Types. In this case the equivalent python type has to be defined using the appropriate ctype structure.

  • Python Objects. Python objects can be used as Topic types, in this case the wire representation is that of flexy-types, meaning a key/value pair.

Regardless of the kinds of type definition interoperability and instance management are maintained (see code examples).

Installation

pydds depends on:

  • jsonpickle, please refer to the project page for installation informations.

  • Cyclone DDS, refer to the installation instructions to see how to get it set up. as Once the dependencies are intalled simply do (assuming your are running on Linux):

$ cd python-cdds
$ ./configure
$ python3 setup.py install 

The setup my requires admin rights on some plartforms.

To test your installation do:

$ python3 test_flexy_writer.py 
$ python3 test_flexy_reader.py 

About

Python Binding for Chameleon

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 83.8%
  • C 15.8%
  • CMake 0.4%