Replies: 7 comments 1 reply
-
Did you find a solution >_< |
Beta Was this translation helpful? Give feedback.
-
Hi @cdp-study , @duchengyao , At this moment it's not possible to define the user transports using the Python API. However, by default Fast DDS uses both an UDPv4 transport and a Shared Memory transport, the latter being preferred for data transfer if communication is possible. Could you provide us with some more information (like the IDL used to generate the type) or a minimal reproducer? |
Beta Was this translation helpful? Give feedback.
-
@jsantiago-eProsima Thanks for reply. For example, I'd like to receive data from example/HelloWorldExampleSharedMem .
Then, I run publisher of C++ and subscriber of python. The subscriber cannot receive any data. But after delete this line So, maybe the python binding cannot receive data of shared memory. Thanks! |
Beta Was this translation helpful? Give feedback.
-
You could use an XML profile like the one shown here to setup the available descriptors for your participant. This XML can be loaded either from a file or from a string. If the profile is not set as default, you can specify it manually on participant creation with the create_participant_with_profile call. |
Beta Was this translation helpful? Give feedback.
-
@jsantiago-eProsima I have successfully used shared memory via XML, thanks! BTW,
And I try using ctypes to accelerate speed of converting data.
But I cannot get the address using variable. Can I get the address like |
Beta Was this translation helpful? Give feedback.
-
Hi @duchengyao, sorry for the late response. The data conversion has been improved in this PR, which introduces a
Regarding this, the |
Beta Was this translation helpful? Give feedback.
-
I am moving this issue to the support discussion forum as per our CONTRIBUTING guidelines. |
Beta Was this translation helpful? Give feedback.
-
I want to use Fast-DDS-Python transfers the 900K data, but I find it too slow to transfer data. By viewing the answers to the corresponding questions in Fast-DDS, I need to use the Shared Memory Transport. But I don't find it in the Python API. Can you tell me how to implement the corresponding functions with the Fast-DDS-Python?
Beta Was this translation helpful? Give feedback.
All reactions