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

discovered_topic_data not supported. #54

Open
mkgvb opened this issue Aug 7, 2023 · 0 comments
Open

discovered_topic_data not supported. #54

mkgvb opened this issue Aug 7, 2023 · 0 comments

Comments

@mkgvb
Copy link

mkgvb commented Aug 7, 2023

Was trying to play around with dynamic_data and wanted to use discovered_topics to try and subscribe. I got this far and ran into
rti.connextdds.UnsupportedError: get discovered topic data

Are there any plans to support this in the python api, or another way to get the topic data at this time?
Jist of my code, it all works until the last line.

import rti.connextdds as dds

time.sleep(2)
print(part.discovered_participants())

x = part.discovered_participant_data(part.discovered_participants())

i: dds.ParticipantBuiltinTopicData
for i in x:
    print(i.topic_name)
    print(i.participant_name.name)

topics = part.discovered_topics()

t: dds.InstanceHandle
for t in topics:
    print(t)
    print(part.discovered_topic_data(t).topic_name)```
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

1 participant