python

2 posts / 0 new
Last post
Offline
Last seen: 3 months 1 week ago
Joined: 11/23/2021
Posts: 4
Octets in RTI DDS 7.0.0 for Python

Hi,

I'm trying to port my applications over to the new Python API that runs on RTI DDS 7.0.0.

I have other applications running RTI for Java and the messages are using Bytes but are translated to Octets.

The Octets I have replicated and the built-in one has different TypeObject. 

 

I have tried using the built-in Bytes message type but it seems to be incompatible with Octets.

I've also tried defining the Octets in the XML and using it but DynamicData doesn't work as expected.

Organization:
4 posts / 0 new
Last post
Offline
Last seen: 4 months 2 weeks ago
Joined: 01/06/2023
Posts: 2
Issues/bugs with Connext-Py

Hi all,

I am currenlty testing the 7.0.0 EAR version with the new Python API Connext-Py and I have encountered several issues/bugs and was wondering what should/could I do to report them.

Here is the list:

2 posts / 0 new
Last post
Offline
Last seen: 9 months 1 week ago
Joined: 09/19/2021
Posts: 9
connextpy flat data array writer

hi,

I'm currently using connextpy, and trying to publish a topic that contains both FLAT_DATA language binding and SHMEM_REF transfer mode.
Through RTI Admin Console, I can see that I can write into basic fields of this message ("id" field below), however for some reason, the data I write in the arrays ("attribute.distance" field below) are not showing up.

4 posts / 0 new
Last post
Offline
Last seen: 1 year 10 months ago
Joined: 07/01/2021
Posts: 3
python api ignore_participant equivalent

hi

im trying to solve the problem where im using the same program to publish and subscribe to the same topic.

the usage is i get a cmd from the topic so i will reply to it using the same message with data populated in it.

i saw there is this ignore_participant fn that can be used to ignore the local publisher so the message wont be received by itself.

is there another method or something equivalent that i can do in the python api provided by rti.

Keywords:
4 posts / 0 new
Last post
Offline
Last seen: 2 years 1 month ago
Joined: 02/11/2021
Posts: 2
python Examples / Getting Started Broken!

Hi,

I am currently evaluating Connext DDS 6.0.1, especially also the Python version.

It seems that the usage of Python with IDL (converted to XML) is currently broken?!

If you follow the steps mentioned here https://github.com/rticommunity/rticonnextdds-getting-started/tree/master/2_hello_world/python you will get an error.

First I use  rtiddsgen -convertToXml ../hello_world.idl

And then  python3 HelloWorldPublisher.py which fails with:

 

2 posts / 0 new
Last post
Offline
Last seen: 3 years 9 months ago
Joined: 09/04/2019
Posts: 1
Issue with rticonnextdds-connector: Python writer.py only able to write 296 times

Hi,

I’m relatively new to the whole DDS world so I’m hoping someone more experienced will know this off the top of their head. I mostly work in python on various data science topics. Recently there has been need for one of our pyrton scripts to communicate via DDS with embedded hardware.

Therefore the python library provided as part of the rticonnextdds-connector package looks quite appealing.

1 post / 0 new
Offline
Last seen: 2 years 2 months ago
Joined: 05/08/2017
Posts: 5
Using rtirecord.xml in python connector/XML Application

Main Question:

How do I explicitly fill out a union? The other examples given on the forum rely on it automatically figuring out what type to use, but the rtirecord struct (ab)uses the discriminator to mean different things!

13 posts / 0 new
Last post
Offline
Last seen: 6 years 1 month ago
Joined: 12/08/2015
Posts: 5
rticonnextdds-connector - Platform support

Hello,

We would like to use the rticonnextdds-connector because we have a Python program which we want to communicate with others DDS modules. However, our platform is not supported. It is armv7-qnx6.5.0.

Would it be possible a new port? If not, we think to use https://github.com/forrestv/pyDDS but its API is poor and we want to use the dynamic data, for that, the RTI Connector seems much better solution.

Thank you in advance.

Best regards,

Yamnia

Organization:

RTI Connector for Connext DDS

RTI Connector for Connext DDS is a quick and easy way to access the power and functionality of RTI Connext DDS from a variety of different scripting languages, including JavaScript, Python, Lua, and go. It builds on several powerful capabilities of Connext DDS, including XML App Creation and Dynamic Data.

RTI Connector was created by the RTI Research Group to quickly and easily develop demos and proof of concept. We think that it can be useful for anybody that needs a quick way to script tests and interact with DDS using different scripting languages.

Subscribe to RSS - python