rtiddsgen convertToXml

4 posts / 0 new
Last post
Offline
Last seen: 3 years 7 months 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
persan's picture
Offline
Last seen: 1 month 4 days ago
Joined: 08/11/2016
Posts: 4
idl2xml conversion missing top-level ?

Hi

The folowing idl:

module com {
const string TOPIC_COLORTHEMESTATUS = "ColorThemeStatus";
struct ColorThemeStatus {
long data; //@key
}; //@top-level
};

is generating an xml-file:

Organization:
2 posts / 0 new
Last post
Offline
Last seen: 6 months 1 week ago
Joined: 10/23/2013
Posts: 43
convertToXml doesn't convert included IDL files

I am using rtiddsgen  -convertToXml option to convert IDL files to XML.  If the IDL file has #include statements to include other IDL files, rtiddsgen does not convert those IDL files to XML.  Is there a option to either include IDL into the parent IDL files prior to conversion or to convert each included IDL file?

 

Thanks.

Mark

Organization:
2 posts / 0 new
Last post
Offline
Last seen: 6 months 1 week ago
Joined: 10/23/2013
Posts: 43
Using rtiddsgen to convert files. How to prevent .c and .h generation?

When using rtiddsgen to convert IDL files to XML files, the .c and .h files are also generated.  Is there a switch to prevent the .c and .h files from being generated?

Subscribe to RSS - rtiddsgen convertToXml