GTRI

2 posts / 0 new
Last post
Offline
Last seen: 1 year 2 months ago
Joined: 04/22/2019
Posts: 5
Does order of elements within struct matter?

Does the order of elements within a struct matter?

 

struct Person {

  int age;

  String name;

}

vs

struct Person {

  String name;

  int age;

Organization:
9 posts / 0 new
Last post
Offline
Last seen: 1 year 7 months ago
Joined: 09/23/2022
Posts: 5
compiler error

I am new to RTI/DDS.   I am using .Net.  I am able to download, build, and run the rticonnextdds-getting-started hello_world with Visual Studio 2022.   I have build some idl that has includes.  My rtiddsgen commands is this:

rtiddsgen -language c# -d generated -ppOption /nologo -ppOption /C -ppOption /E -ppOption /X -ppOption -C -ppPath "C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64\cl.exe" *.idl

Organization:
2 posts / 0 new
Last post
Offline
Last seen: 1 year 2 months ago
Joined: 04/22/2019
Posts: 5
RTI Tool to simulate topic pub/sub?

I have a topic containing a struct that leverages inheritance. I would like to simulate sending this topic to a receiver who only has the base struct in its IDL for the topic.

I'm basically trying to simulate the shapes demo (extended shapes publisher / base shapes subscriber), but I would like to see the messages (and values) of the topics sent and received. Is there a tool for that?

v/r

CG

Organization:
Keywords:
4 posts / 0 new
Last post
Offline
Last seen: 1 year 2 months ago
Joined: 04/22/2019
Posts: 5
Code Generator: IDL to .h and .cxx. How to NOT generate plugin and support files via command line

I'm simply trying to compile some ild files. What arguments can I include to prevent the plugin and support files from being generated?

My command line command is something like:

pathToRTIDDSGEN   -inputIdl pathToInput  -d pathToOutputCompiledFiles  -replace -language C++ -namespace -optimization 2 -verbosity 3

 

Organization:
Subscribe to RSS - GTRI