C++

3 posts / 0 new
Last post
Offline
Last seen: 1 year 4 months ago
Joined: 03/13/2022
Posts: 11
error in building with rti version 6.1.1

when is want to build my program, i see muliple error that related to the rti

6 posts / 0 new
Last post
Offline
Last seen: 1 year 11 months ago
Joined: 04/14/2022
Posts: 8
RTI Unreal can't read data

Hello,

We are currently making a plugin for unreal engine 4.27 in C++ that would be able to read DDS Data, at the moment we are developping the managers to handle multiple writers on one topic.
We encountered a problem where a publisher uses rti 4.5 while we use 6.1.0 and publishes the following topic : 

3 posts / 0 new
Last post
Offline
Last seen: 1 year 11 months ago
Joined: 04/14/2022
Posts: 8
DDS Writers UE4 C++

Hello,

I am currently making a small game in Unreal Engine 4 to grasp the concept of DDS and I made it all work on a XML file.

Now I'm trying to not use the file and make my type in the code.

The problem comes when I have in my player code, two writers based on the same type with different topics.

One writes every tick sending the position of the player and the other writes when the player fires.

When I try to change the dds::core::QosProvider::Default()... to my create_type() function, UE4 crashes when it tries to create the second writer.

Keywords:
3 posts / 0 new
Last post
Offline
Last seen: 2 years 8 months ago
Joined: 01/22/2021
Posts: 8
Sending Binary Data

I'm helping a group switch to using Connext DDS for sending messages, but they aren't ready to switch over completely and use IDL types. Is there a best way to send binary data on a topic?

 

Unless I'm missing something, the only options seems to be Dynamic Data or creating an IDL type for them with an unbounded string. Is one of these better than the other? Are there any other options?

4 posts / 0 new
Last post
Offline
Last seen: 2 years 8 months ago
Joined: 09/13/2021
Posts: 2
Topics, identified by name, transported on specific multicast groups.

Hi.
I’m hoping someone will be able to give me a bit of advice.
In code I’m trying to set up a QoS policy that sets specific topic names to be transported on particular multicast groups. For example, Topic1 is transported on 239.255.100.101 and topic2 on 239.255.100.102.
I’d like to be able to define common code that generates a policy that includes the multicast group to topic names for a number of topics to allow us to do a bit of code reuse.
From doing a bit of reading online it looks like it can be done but I’m just not entirely sure how.

6 posts / 0 new
Last post
Offline
Last seen: 3 years 2 months ago
Joined: 01/05/2021
Posts: 4
V6.0.1 C++ Request Reply example : undefined reference error after make -f make/makefile_RequestReplyPrimes_x64Linux4gcc7.3.0

Hello,

i encounter "undefined reference" errors when i launch the make of the C++ request reply example v6.0.1 on Linux.

NB : I don't have any problem when i launch the make of the helloworld publish-subscribe example, every thing else being the same.

Here is the command of the example that i launch.:

Organization:
3 posts / 0 new
Last post
Offline
Last seen: 2 years 8 months ago
Joined: 01/22/2021
Posts: 8
Error with DomainParticipant as a member

I am just starting out with RTI Connext using Modern C++. I'm trying to make a class that has a DomainParticipant and some other stuff and am getting errors.

In Foo.h:

#include "dds/domain/DomainParticipant.hpp" 

class Foo {
public:
	Foo(int32_t domain);
private:
	dds::domain::DomainParticipant part;

And in Foo.cpp:

#include "Foo.h"

Foo::Foo(int32_t domain)
{ }

When I try to compile it (and remember there's literally nothing going on) I get an error at the constructor:

Keywords:
2 posts / 0 new
Last post
Offline
Last seen: 3 years 11 months ago
Joined: 05/20/2020
Posts: 1
Rti dds conversion from C++ to matlab

Hello Everyone,

Class class1;
std::vector<class2>array{x,y,z};
class1.array2(rti::core::vector<class2>(array));

what does the last line mean and how can I change this c++ line to Matlab?
Thanks in advance.

3 posts / 0 new
Last post
His Nerdship's picture
Offline
Last seen: 4 years 11 months ago
Joined: 05/08/2019
Posts: 18
Publisher & subscriber using multiple topic types?

I am working on a project that will send 50+ topic types between device(s) and a central controlling app.

In my experience so far it seems that a matching publisher & subscriber will only work with the same topic type.  I don't want to write publish and subscribe functions specific to each topic (I won't live long enough...).

Organization:
5 posts / 0 new
Last post
His Nerdship's picture
Offline
Last seen: 4 years 11 months ago
Joined: 05/08/2019
Posts: 18
Unreliable connection over WiFi.

I am writing a (modern C++) module to simulate a device that connects to a central registry to send and obtain information.  The registry and device each pass data both ways, so act as both subscribers and publishers.  The device sends the first request message, and the registry returns a suitable response (or should do).

Organization:
Subscribe to RSS - C++