Coder Social home page Coder Social logo

cdds-python's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

cdds-python's Issues

nastily Typo in README.md : jsonpikle vs jsonpickle

The readme has a nasty typo: A 'c' is missing in jsonpickle ...

The links is correct, the text is not -- Using the C&P on the text, I count install it (sic)

Was:
| - jsonpikle, please refer to the project page for installation informations.

Should be:

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

Note: Github is also showing the 3 commands-block wrongly -- I can't see what wrong on the MD however.

Thanks --Albert

Cannot compile correctly under Windows

I tried to compile the ddstubs library under windows using Visual Studio with CMAKE. I managed to generate ddstubs.dll and made sure it is in CDDS_HOME path. But when I run test_flexy_reader, it always gives the following error:

runfile('C:/Users/user/Documents/DDS/flexy_reader.py', wdir='C:/Users/user/Documents/DDS')
Traceback (most recent call last):

  File "<ipython-input-4-20e51ab979ab>", line 1, in <module>
    runfile('C:/Users/user/Documents/DDS/flexy_reader.py', wdir='C:/Users/user/Documents/DDS')

  File "C:\Users\user\AppData\Local\Continuum\anaconda3\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 827, in runfile
    execfile(filename, namespace)

  File "C:\Users\user\AppData\Local\Continuum\anaconda3\lib\site-packages\spyder_kernels\customize\spydercustomize.py", line 110, in execfile
    exec(compile(f.read(), filename, 'exec'), namespace)

  File "C:/Users/user/Documents/DDS/flexy_reader.py", line 63, in <module>
    testDynaTypes()

  File "C:/Users/user/Documents/DDS/flexy_reader.py", line 49, in testDynaTypes
    t = FlexyTopic(dp,  'KeyValue')

  File "C:\Users\user\AppData\Local\Continuum\anaconda3\lib\site-packages\python_cdds-0.1.0-py3.7.egg\cdds\topic.py", line 17, in __init__
    self.type_support = self.rt.get_key_value_type_support()

  File "C:\Users\user\AppData\Local\Continuum\anaconda3\lib\site-packages\python_cdds-0.1.0-py3.7.egg\cdds\runtime.py", line 213, in get_key_value_type_support
    return self.stublib.dds_bit_SKeySValue_desc

  File "C:\Users\user\AppData\Local\Continuum\anaconda3\lib\ctypes\__init__.py", line 369, in __getattr__
    func = self.__getitem__(name)

  File "C:\Users\user\AppData\Local\Continuum\anaconda3\lib\ctypes\__init__.py", line 374, in __getitem__
    func = self._FuncPtr((name_or_ordinal, self))

AttributeError: function 'dds_bit_SKeySValue_desc' not found

I tried loading ddstubs.dll and call other functions but all gave this AttributeError: function not found. I think the dll is not well linked. Could I get some help on how to solve this?

Support for non-flex (IDL) types seems missing

The readme says there is support for all kind of dds-types. And the project goal is to have a python-binding of (cyclone) dds. However, all docs, test, an the current code (as far as I understand) only use flexytypes; or key-value.
Everywhere I look, python-types are serialised to json... so basically it is sending strings to other participants. When that is python code, it will work. However, dds is supposed to be language agnostic, isn’t? A python-program on a raspberry-Pi should be able to “talk” with an embedded-C system and java server. Or is my understanding of dds wrong?

So, please clarify. Either by updating the docs on how how to use those types. Or by adding the missing code/examples. Or, making clear it’s not-yet a prober Python-binding

Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.