python dds ddsconnector

11 posts / 0 new
Last post
Offline
Last seen: 6 years 10 months ago
Joined: 01/03/2018
Posts: 4
Using enumerations in XML file with Connector for Python

I have installed the rticonnextdds-connector-master for Python script support and successfully ran the simple ShapeExample demo.  I then tried to modify the XML based on some IDL->XML generated code from rtiddsgen that we are using, as follows:

<enum name="TestEnum">
      <enumerator name="FIRST_THING"/>
      <enumerator name="SECOND_THING"/>
 </enum>
         

Organization:
3 posts / 0 new
Last post
Offline
Last seen: 7 years 3 weeks ago
Joined: 10/26/2017
Posts: 2
Python (Connector) Subscriber - Subscribe to Java Example

Hi,

I have been working with the hello_idl example in the rti_workspace->examples->connext_dds->java.

I want to write a subscriber in Python that can listen to the java publisher. But so far I haven't gotten it to work. What do I need to change in the .xml to be able to listen to the java publisher.

Organization:
7 posts / 0 new
Last post
Offline
Last seen: 7 years 3 months ago
Joined: 02/07/2017
Posts: 14
Union data structure and Python data

Hi, I would like to send and receive data which consists of a union data structure (.xml file).. Could anyone tell me how this would be done in Python using the RticonnextDDS-Connector.. 

using the parameter:......

<member name="parameterValue" nonBasicTypeName="ParameterModule::DATA_T" type="nonBasic"/>

 

here it is here...................................

 

 

-<union name="DATA_T" topLevel="false">

<discriminator nonBasicTypeName="ParameterModule::DDS_UNION_E" type="nonBasic"/>


-<case>

Organization:
Subscribe to RSS - python dds ddsconnector