connextdds-py
connextdds-py copied to clipboard
discovered_topic_data not supported.
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)```