WESEE

5 posts / 0 new
Last post
Offline
Last seen: 2 years 3 weeks ago
Joined: 10/02/2022
Posts: 3
C++11 creating participants and applying QOS using XML approach

Hello Team RTI,


I am trying to use XML approach for creating participants using C++11.
Using the sample provided within RTI help, the readers/ writers works quite well.

Now i am stuck as i am not able to apply qos to reader/writers.

In this regard can you please share a sample on how to apply custom qos using xml.

Below is xml with custom qos profiles.

Organization:
Keywords:
1 post / 0 new
Offline
Last seen: 8 years 5 months ago
Joined: 04/07/2016
Posts: 8
create_readcondition issue

Hello

Now when i apply condition on my topic using create_contentfilteredtopic_with_filter()

Then my code works as per condition which i have applied to my topic.

 

But when i tried to apply the same condition on my topic using create_querycondition()

then the returncode returned by read_w_condition() is     "DDS_RETCODE_PRECONDITION_NOT_MET"

even create_querycondition() returns not null value which means create_querycondition() works perfectly fine. there might be some problem in read_w_condition

Organization:
3 posts / 0 new
Last post
Offline
Last seen: 8 years 5 months ago
Joined: 04/07/2016
Posts: 8
create_queryCondition() issue

 

Hello

Now when i apply condition on my topic using create_contentfilteredtopic_with_filter()

Then my code works as per condition which i have applied to my topic.

 

But when i tried to apply the same condition on my topic using create_querycondition()

then the returncode returned by read_w_condition() is     "DDS_RETCODE_PRECONDITION_NOT_MET"

even create_querycondition() returns not null value which means create_querycondition() works perfectly fine. there might be some problem in read_w_condition

Organization:
2 posts / 0 new
Last post
Offline
Last seen: 8 years 5 months ago
Joined: 04/07/2016
Posts: 8
Requestor replier not working properly

Hello

This is my requestor code

#include "ndds/ndds_requestreply_cpp.h"
#include <iostream>
#include "idl/Primes.h"
#include "idl/PrimesSupport.h"
#include "idl/PrimesPlugin.h"
#include "ndds/ndds_namespace_cpp.h"
#include <QTime>

//#include <stdio.h>
//#include <stdlib.h>
#include <sstream>

using namespace connext;

int main()
{
DDS::WaitSet ws;
int domain_id = 1;

// Create a DomainParticipant

Organization:
1 post / 0 new
Offline
Last seen: 8 years 5 months ago
Joined: 04/07/2016
Posts: 8
Requestor Replier issue

 

Hello

This is my requestor code

#include "ndds/ndds_requestreply_cpp.h"
#include <iostream>
#include "idl/Primes.h"
#include "idl/PrimesSupport.h"
#include "idl/PrimesPlugin.h"
#include "ndds/ndds_namespace_cpp.h"
#include <QTime>

//#include <stdio.h>
//#include <stdlib.h>
#include <sstream>

using namespace connext;

int main()
{
DDS::WaitSet ws;
int domain_id = 1;

// Create a DomainParticipant

Organization:
3 posts / 0 new
Last post
Offline
Last seen: 8 years 5 months ago
Joined: 04/07/2016
Posts: 8
Requester connext rti

Hi

when i am trying to create object of Requester class in c++ on linux i got multiple problems which are defined below

1. undefined reference to `DDS_Duration_t::operator-(DDS_Duration_t const&) const'

2.undefined reference to `DDS_Duration_t::operator==(DDS_Duration_t const&) const'

 

Requester<Foo, Bar> * requester;
requester = new Requester<Foo, Bar>(participant, "TestService");

 

The complete program is as follows

 

Organization:
2 posts / 0 new
Last post
Offline
Last seen: 8 years 5 months ago
Joined: 04/07/2016
Posts: 8
Requester Replier

 

Organization:
2 posts / 0 new
Last post
Offline
Last seen: 8 years 10 months ago
Joined: 11/26/2015
Posts: 1
Getting error at the time of Create Query Condition

We are using create_querycondition to read selective samples from GDS. The query works fine for the 1st 4 samples read. The moment 5th sample is read, the following error is seen:
[D0100|Reader(80000307)|T=TRACK_KINEMATICS_TOPIC|CREATE READCONDITION]DDS_QueryCondition_createI:!create DDS_QueryCondition

because of which, the next sample cannot be read and the follwoing error condition occurs:
[D0100|Reader(80000307)|T=TRACK_KINEMATICS_TOPIC|CREATE READCONDITION]DDS_QueryCondition_createI:!create DDS_QueryCondition

Organization:
Keywords:
Subscribe to RSS - WESEE