rtiddsgen

6 posts / 0 new
Last post
Offline
Last seen: 3 months 2 days ago
Joined: 10/15/2020
Posts: 3
How to generate scoped enums with rtiddsgen

Hi there

I've been having issues with name conflicts between two different enums that are trying to use the same name. Unfortunately, it does not seem feasible in this case to be able to change either of the names to resolve the conflict. I believe the modern C++ generation using the -language C++11 option is supposed to address this by avoidding name conflicts?

3 posts / 0 new
Last post
ilya_1725's picture
Offline
Last seen: 3 months 2 weeks ago
Joined: 04/20/2020
Posts: 16
Enum field names to strings in XML

I have the source XML file that contains all the interface information.

One particular segement is the enum:

Keywords:
1 post / 0 new
Offline
Last seen: 1 day 15 hours ago
Joined: 02/20/2020
Posts: 5
Packaging IDL for reuse in C# projects

I'm looking to split common IDL and specific IDL for reusing purposes in a C# environment. I've created a Position.idl file and a Car.idl file in separate projects. I've used rtiddsgen to generate the type files for position and build a dll (based on the example solution).

1 post / 0 new
Offline
Last seen: 1 year 1 month ago
Joined: 10/23/2019
Posts: 1
Build error for streaming-video example in VS2019

Followed the instruction from https://www.rti.com/developers/case-code/streaming-video to build the application in VS2019.  Got the following error:

1>------ Rebuild All started: Project: SharedDataTypes, Configuration: Debug x64 ------

5 posts / 0 new
Last post
Offline
Last seen: 1 year 4 months ago
Joined: 08/22/2019
Posts: 4
Compilation failure with Java classes generated by rtiddsgen

Hello,

I'm using rtiddsgen (from the 6.0.0 distribution) to generate Java classes from an IDL file.

rtiddsgen -d output -inputidl ida.idl -language Java -package dds.xyz -ppDisable -update typefiles

The Java classes are generated successfully, but some of them cannot be compiled. The errors reported by the Java compiler mainly have to do with converting to either a Sequence or a List. Here are a couple of examples:

3 posts / 0 new
Last post
Offline
Last seen: 1 year 11 months ago
Joined: 02/23/2019
Posts: 1
rtiddsgen: Command not found

Hello

I'm a teaching assistant for "Distributed system concepts and programming" and we have a project to create a simple publisher/subscriber using RTI Connext DDS.

Now, few students have the problem to use "code generator" in RTI launcher and got the error indicating "rtiddsgen: Command not found", although they set the path and environmentariables correctly.

I attached screenshots of the bash and SSH terminal.

Can somebody help, please?

Keywords:
1 post / 0 new
Offline
Last seen: 1 year 12 months ago
Joined: 01/28/2019
Posts: 1
create typecode from xml error processing tag "include"

I am trying to use the .NET create_tc_from_xml_file class to generate type codes from XML and I receive the following error in the console: 

RTIXMLParser_onStartTag:Parse error at line 3: Error processing tag 'include'
RTIXMLParser_parseFromFile:Parse error in file 'C:\XMLDataStruct\thisModule.xml'
DDS_XMLTypeCodeParser_parse_from_file:Error parsing XML
DDS_TypeCodeFactory_create_tc_from_xml_file:!error parsing types file

The XML files were generated from IDL using rtiddsgen, and the includes are at the top of the XML:

2 posts / 0 new
Last post
Offline
Last seen: 5 months 1 week ago
Joined: 11/19/2018
Posts: 1
Updating from 5.1.0 to 5.3.1

Hello,

I'm trying to get this package compiled on my machine https://github.com/hengli/vmav-ros-pkg which states this requirement "RTI Connext DDS >= 5.1.0 (Source install to /opt)". I've managed to get RTI installed on my computer but then I ran into this bug https://github.com/hengli/vmav-ros-pkg/issues/4

Keywords:
2 posts / 0 new
Last post
Offline
Last seen: 1 year 9 months ago
Joined: 09/06/2018
Posts: 22
rtiddsgen manual?

Hi,

 

Is there a manual that goes into detail about rtiddsgen in v5.3.1?  T

he -help is very long but I stil need more info.  For example, does rtiddsgen always generate a pubshlier and subsriber in seperate files?  Is it possible to direct rtiddsgen to put the publisher and subscriber into a single file, like some of the examples that ship with RTI DDS v5.3.1?

 

tia,bernie

 

Keywords:
3 posts / 0 new
Last post
Offline
Last seen: 1 year 7 months ago
Joined: 03/02/2018
Posts: 3
DDS makes Intellisense stop working in Visual Studio 2015

Background:

RTI 5.3.0, Professional

 

Basic IDL, 

struct Encoder {

unsigned long relativePosition;

unsigned long absolutePosition;

};

 Run it through rtiddsgen; pretty much all defaults except preprocessor disable.

C:\Program Files\rti_connext_dds-5.3.0\bin\rtiddsgen.bat C:\__\dds_intellisense_problem\Encoder.idl -ppDisable -language C++11 -create typefiles -create examplefiles -create makefiles -platform i86Win32VS2015 -stl

Subscribe to RSS - rtiddsgen