Skip to content
Python bindings to RTI's Data Distribution Service library
Python
Find file
Latest commit 66c2456 Feb 11, 2014 @forrestv Update README.md
Failed to load latest commit information.
README.md
TODO added TODO Dec 14, 2011
dds.py added Twisted support Dec 14, 2011
test.py
twistedds.py
twistedds_example.py

README.md

pyDDS

Python bindings to RTI's Data Distribution Service library

To use it, you must compile the DDS's generated code for message types into a shared brary, and then load it with dds.Library(path_to_so). Then, instantiate a dds.DDS() object and call .get_topic('topic_name', lib.TypeName) on it to get a dds.Topic object. The Topic object has blocking .send and .recv methods, and you can set a callback with its .add_data_available_callback(func) method.

See test.py for a (somewhat convoluted) example of blocking sending and receiving.

In addition, emulation of Twisted's protocol handling is provided by twisteddds.py, with an example in twistedds_example.py.

Something went wrong with that request. Please try again.