eclipse-cyclonedds / cyclonedds-python

Other
54 stars 44 forks source link

[Question] How to set a reasonable name for participant in python? #205

Closed morkovka1337 closed 11 months ago

morkovka1337 commented 11 months ago

Hello,

So far I can set the domain ID when I create a participant using this code: dp = DomainParticipant(2)

But such domain has a random hash name in cyclonedds ps:

image

Is there a way to set a reasonable (string) name for participant?

eboasson commented 11 months ago

Like this:

DomainParticipant(0, Qos(Policy.EntityName("dihydrogenmonoxide")))

you mean?

image
morkovka1337 commented 11 months ago

Exactly! Thanks