Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hi I am having very interested in pyopendds #13

Closed
hyeinkwon798 opened this issue Dec 21, 2020 · 1 comment
Closed

hi I am having very interested in pyopendds #13

hyeinkwon798 opened this issue Dec 21, 2020 · 1 comment

Comments

@hyeinkwon798
Copy link

Hi my name is hyein, uni student in South Korea. I'm here submitting new issue to ask you something about this project.
I am working in a lab and my professor told me to use opendds using python.
From searching Internet Your code was the only code for pyopendds.
I have read lots of code u have updated . It was really amazing.
Now i'm trying to study from this code and got some questions.
It will be really helpful for me if you reply me back.
The first thing i am curious is this . Do I have to be downloaded opendds before using this code? and if it has to be, the readme was little difficault for me to understand. Could you explain more details?(like sort of routes or files location )
The second thing is that i couldnt find about the publisher. In Readme it says that i have to use the code in test file but in that file there is only subscriber.py but the publisher was c++. Is there a publisher.py to use with subscriber.py?
Final thing is about the whole program. It could be a similar question with the first one. Dose this program work alone? or work with OpenDDS. If it works with OpenDDS how do i have to connect with it??

PyOpenDDS is really hard project for me as i am only third grade in university.
If you give me reply it will be realllllllly helpful more than else.
I will wait for it. Thank you for reading. :)

@iguessthislldo
Copy link
Member

Sorry for the late reply. I'm happy to hear you're interested in PyOpenDDS, but it's important for anyone wanting to use it at the moment to know that it's still more like a proof of concept than anything else. I will try to answer your questions though.

Do I have to be downloaded opendds before using this code? and if it has to be, the readme was little difficault for me to understand. Could you explain more details?(like sort of routes or files location )

Yes it's listed in the requirements, so you do need to download and build OpenDDS before you can run this. You can follow OpenDDS's build instructions to do that. You don't have do the install step.

Could you explain more details?(like sort of routes or files location )

Once OpenDDS is built all the information PyOpenDDS needs is in the setenv files in the OpenDDS directory. On Linux and macOS you have to use source setenv.sh, on Windows I think it's call setenv.cmd. This sets the environment variables, mainly DDS_ROOT and the executable and library paths.

The second thing is that i couldnt find about the publisher. In Readme it says that i have to use the code in test file but in that file there is only subscriber.py but the publisher was c++. Is there a publisher.py to use with subscriber.py?

Currently publishing isn't supported, but eventually I'd like to replace or supplement the C++ publisher with one in Python. It wouldn't be hard, there's just more fundamental issues I'd like to address before doing that, namely #2 and #4.

Dose this program work alone? or work with OpenDDS. If it works with OpenDDS how do i have to connect with it??

It depends on what you mean by alone. It will always require OpenDDS as a library, but once it's "complete" it should be possible to use without writing any C++ code. Right now though, because it's missing publishing support it will need either OpenDDS or another RTPS-enabled DDS to listen to.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants