Jump to content
OpenSplice DDS Forum

All Activity

This stream auto-updates     

  1. Last week
  2. free porn tube movies

  3. Valgrind error in python

    Hi, I am trying to configure valgrind in python. Following is the command: ./configure --without-pymalloc --with-pydebug --with-valgrind Then i got the following error: configure: error: Valgrind support requested but headers not available Python: 2.7.5 Valgrind: 3.12.0 May i know how can i resolve this error?
  4. Earlier
  5. ADLINK is pleased to announce the availability of two new introductory Vortex DDS whitepapers Python DDS Binding - download at: http://gag.gl/QSApsi LabVIEW Software DDS Binding - download at: http://gag.gl/MnkVDA
  6. Vortex DDS v2.5 Now Available

    ADLINK is pleased to announce the availability of Vortex DDS v2.5 with Native Python API and National Instruments LabVIEW integration . Download theevaluation software at http://gag.gl/UUXKVQ
  7. Allocating Type Support

    I'm evaluating DDS for use in future projects, using JAVA. I downloaded the OpenSplice 6.7.1 package and tried the chat application, then the shapes demo, but I always get stopped with this: Exception in thread "main" org.omg.dds.core.PreconditionNotMetException: Allocating new TypeSupport failed I monkeyed around with environment variables, copied class files to other locations, etc., but I still get the same message. Where should I be looking? Thanks, G.
  8. Hello, I'm a new user of opensplice DDS...i'm working with Vortex Opensplice HDE Release 6.8.2. i'm developing a Python script to write/read data to/from Vortex Opensplice Tester. To read the samples, I'm using waitForConditions() method of WaitSet class. This method needs two parameters a collection of conditions to be satisfied and a timeout...the problem i'm facing with this method is that it's always generating the timeout exception without any consideration for the defined conditions. when i activate the commented line in the code, i can read my data. (with commenting waitForConditions() line)Test_bis.py hereafter, a piece of code i'm testing : topic = osplscript.dds.findTopic(MyClass.topic_name) rd =osplscript.dds.Reader(topic) selector = rd.newSelectBuilder().withAlive().withNotRead().withNew()\ .content('Car.temp = self.temp and Car.Hum=self.hum')\ .build() ws=osplscript.dds.WaitSet( ) #ws.attachCondition(selector.condition()) ==> this works fine solely, without waitForConditions() try timeout_duration = osplscript.qos.Duration(2,0) ws.waitForConditions(selector.condition(),timeout_duration) topic_sample = selector.take() ... except osplscript.dds.TimeoutException as timeout_exception print timeout_exception.message
  9. Hi, I want to connect to remote IP to write data onto it. As per the discussion : The configuration should be changed accordingly. Now the ospl.xml is in PXXX-VortexOpenSplice-6.7.171127OSS-HDE-x86_64.linux-gcc5.4.0-glibc2.23-installer/HDE/x86_64.linux/etc/config/ location So if I change this, it will be reflected globally. So what is the linkage of ospl.xml with example codes ? Like the hello world publisher of C code needs include the conf and will run accordingly. So is there anyway so that only that C program uses my own conf file? Also the snippet says : <NetworkService name="networking"> <General> <NetworkInterfaceAddress></NetworkInterfaceAddress> </General> <Partitioning> <GlobalPartition Address=","/> </Partitioning> </NetworkService> So the two addr, in which addr my specific publisher will connect ? In the HelloWorldpublisher.c this snippet creates a publisher and writes to it which is by default a local address (not mentioned though explicitly in the code, as per the FAQ it will point to local address) // Create the Publisher's in the DDS Domain. message_Publisher = createPublisher(domainParticipant); // Request a Writer from the the Publisher. message_DataWriter = createDataWriter(message_Publisher, messageTopic); message_Sample = HelloWorldData_Msg__alloc(); message_Sample->userID = 1; message_Sample->message = DDS_string_alloc(HelloWorldLength); strncpy(message_Sample->message, HelloWorld, HelloWorldLength); printf("\n=== [Publisher] writing a message containing :"); printf("\n userID : %d", message_Sample->userID); printf("\n Message : \"%s\"\n", message_Sample->message); fflush(stdout); g_status = HelloWorldData_MsgDataWriter_write(message_DataWriter, message_Sample, DDS_HANDLE_NIL); checkStatus(g_status, "HelloWorldData_MsgDataWriter_write"); So where to mention this publisher will only point to explicitly this topic, this port and this ip address (as in the conf file multiple ip can be defined, so which ip for which publisher?)? Please let me know.
  10. idlpp with crosscompile

    Hi , Try this export LIBRARY_PATH=${LIBRARY_PATH}:/raspbian_root/lib before you run make or edit opensplice/setup/arm.linux_cross-common.mak line 112 : LDFLAGS = -L$(SPLICE_LIBRARY_PATH) $(SYSROOTFLAGS) to LDFLAGS = -L$(SPLICE_LIBRARY_PATH) $(SYSROOTFLAGS) -L/raspbian_root/lib
  11. idlpp with crosscompile

    Hello, I'm trying to crosscompile with idlpp. I'm not able to do it because It's always finding the linking library in /lib/ld-linux-armhf.so.3. is there any chance to change this path? my sysroot in /raspbian_root, so I expect to have something like /raspbian_root/lib/ld-linux-armhf.so.3 Thanks you.
  12. Lecture slides for an introductory programming course in Scala. View the full article
  13. Lecture slides for an introductory programming course in Scala. View the full article
  14. Lecture slides for an introductory programming course in Scala. View the full article
  15. Lecture slides for an introductory programming course in Scala. View the full article
  16. I am a beginner with OpenSplice DDS. I have installed and try to use the community edition but I have some problems when trying to compile the JAVA examples that go with the installation. More specifically I try to build the Java Hello World standalone example. I go to the folder /home/nick/HDE/x86_64.linux/examples/dcps/HelloWorld/java/standalone and through the command line i press the command make , but then I get the error: cp ":classes/:../../../../../jar/dcpssaj.jar:" -d classes/ HelloWorldData/*.java cp: target 'HelloWorldData/MsgTypeSupportOperations.java' is not a directory Makefile.saj_helloworld_types:59: recipe for target 'classes/HelloWorldData/*.class' failed make[1]: [classes/HelloWorldData/*.class] Error 1 (ignored) cd classes/ && jar cvfm ./saj_helloworld_types.jar saj_helloworld_types.manifest HelloWorldData/*.class HelloWorldData/*.class : no such file or directory added manifest Makefile.saj_helloworld_types:40: recipe for target 'saj_helloworld_types.jar' failed make[1]: *** [saj_helloworld_types.jar] Error 1 make[1]: Leaving directory '/home/nick/HDE/x86_64.linux/examples/dcps/HelloWorld/java/standalone' Makefile:25: recipe for target 'saj_helloworld_types' failed make: *** [saj_helloworld_types] Error 2 Do you find any idea? (JAVA_HOME has been set to /usr/lib/jvm/java-9-oracle/bin )
  17. Not being notified of own publications

    Hi If you are sure not to use local to local transport , you could change XML file to set "EnableMulticastLoopback"= false Or you can use filter to filter topic content , if there is a variable to recognize machine , like topic key . But this method still cost DDS transport & discovery resources . <OpenSplice> <Domain> <Name>ospl_sp_ddsi</Name> <Id>0</Id> <SingleProcess>true</SingleProcess> <Description>Stand-alone 'single-process' deployment and standard DDSI networking.</Description> <Service name="ddsi2"> <Command>ddsi2</Command> </Service> <Service name="durability"> <Command>durability</Command> </Service> <Service name="cmsoap"> <Command>cmsoap</Command> </Service> </Domain> <DDSI2Service name="ddsi2"> <General> <NetworkInterfaceAddress>AUTO</NetworkInterfaceAddress> <AllowMulticast>true</AllowMulticast> <EnableMulticastLoopback>false</EnableMulticastLoopback> <CoexistWithNativeNetworking>false</CoexistWithNativeNetworking> </General> <Compatibility> <!-- see the release notes and/or the OpenSplice configurator on DDSI interoperability --> <StandardsConformance>lax</StandardsConformance> <!-- the following one is necessary only for TwinOaks CoreDX DDS compatibility --> <!-- <ExplicitlyPublishQosSetToDefault>true</ExplicitlyPublishQosSetToDefault> --> </Compatibility> </DDSI2Service> <DurabilityService name="durability"> <Network> <Alignment> <TimeAlignment>false</TimeAlignment> <RequestCombinePeriod> <Initial>2.5</Initial> <Operational>0.1</Operational> </RequestCombinePeriod> </Alignment> <WaitForAttachment maxWaitCount="100"> <ServiceName>ddsi2</ServiceName> </WaitForAttachment> </Network> <NameSpaces> <NameSpace name="defaultNamespace"> <Partition>*</Partition> </NameSpace> <Policy alignee="Initial" aligner="true" durability="Durable" nameSpace="defaultNamespace"/> </NameSpaces> </DurabilityService> <TunerService name="cmsoap"> <Server> <PortNr>Auto</PortNr> </Server> </TunerService> </OpenSplice>
  18. ACE/TAO

    Hi All, I'm looking at ACE/TAO supported IDL compiler version supported by OpenSplice. It's seems that two IDL compiler are available ACE/TAO (DOC Group) and OpenFusion (Microfocus). Which one is recommended with OpenSplice ? OpenSlice seems to support ACE/TAO up to the version 5.6.6 (the last one is 6.4.4). Is there any reason to keep ACE/TAO 5.6.6 ? Best regards, Romain Naour
  19. Not being notified of own publications

    Hi, Here is my scenario : I have two publisher and subscriber on a topic for two distinct machines. Both publish and subscribe some content. Is there a way for my local machine to ignore publication being emitted myself? Or should I create two partitions "Local to Remote" and "Remote to Local" for their DataReader/DataWriter ? Regards
  20. DDS Within Java OSGi

    I am trying to use DDS in a java application running in an OSGi environment. I keep running into class loading and link errors. We have everything working correctly in a standalone non-OSGi java application. I know OpenSplice supports OSGi so hopefully this is a quick problem to solve. Background on our system Builds using maven Our application runs in Apache ServiceMix, which uses Apache Felix as the OSGi runtime. Using Vortex OpenSplice HDE Release 6.7.1705230SS, date 2017-06-05 Running on CentOS 7 Java JDK 1.8 Here is what we did Used maven to manually deploy the dcpssaj5.jar and dcpssaj.jar into the local maven repository so that we could include them in our project’s pom.xml file Updated our pom.xml file to depend on those jars. This allowed us to build our code without issues Loaded the bcpssaj5 bundle. Successfully loaded in Felix. Loaded our freshly build application bundle Initially got class loader errors as “org.opensplice.dds.core.OsplServiceEnvironment” was not found. Updated our code to manually create an OsplServiceEnvironment object. This hack got rid of the class loader errors but now we get link errors on org.opensplice.dds.dcps.ReportStack. Our code is pretty simple public DdsIpcController (int inDomainId) { // force loading of needed class OsplServiceEnvironment temp = new OsplServiceEnvironment(); System.setProperty(ServiceEnvironment.IMPLEMENTATION_CLASS_NAME_PROPERTY, "org.opensplice.dds.core.OsplServiceEnvironment"); // Instantiate a DDS ServiceEnvironment env = ServiceEnvironment.createInstance(this.getClass().getClassLoader()); // Get the DomainParticipantFactory dpf = DomainParticipantFactory.getInstance(env); // Create a DomainParticipant with default domainID domainParticipant = dpf.createParticipant(inDomainId); // Create Reliability and Durability QoS reliability = PolicyFactory.getPolicyFactory(env).Reliability().withReliable(); durability = PolicyFactory.getPolicyFactory(env).Durability().withTransient(); } So clearly we are not using dds correctly in an OSGi environment. I would appreciate any insights anyone has into this problem. Perhaps there is a tutorial or example that shows how to get it working.
  21. Some error of pointer when use 'return_loan'

    Hi , So , will console printf data ? Why top1Seq_var and SampleInfoSeq_var ? They should be top1Seq and SampleInfoSeq , according to sample code . And what OpenSplice version you use ?
  22. Some error of pointer when use 'return_loan'

    Can you explain how this can be related to Qos?
  23. Some error of pointer when use 'return_loan'

    Most likely there is a problem with your QoS
  24. Some error of pointer when use 'return_loan'

    Unfortunately in my case the error occurs even if msg1Seg and info1Seq size is 1. I investigated further and it seems _BLOCK_TYPE_IS_VALID assert fails when trying to delete[] SampleInfoSeq, indicating heap is corrupt somehow.
  25. Some error of pointer when use 'return_loan'

    Hi , Try to check msg1Seq is not null nor 0 length before calling return loan status = top1dr->take( msg1Seq, info1Seq, LENGTH_UNLIMITED, ANY_SAMPLE_STATE, ANY_VIEW_STATE, ALIVE_INSTANCE_STATE); checkStatus(status,"pubsub::top1DataReader::take"); for (DDS::ULong i = 0;i<msg1Seq->length();i++) { top1 *msg1 = &(msg1Seq[i]); cout<<"receive data:"<<msg1->content<<endl; fflush(stdout); } if (msg1Seq->length() > 0) { status = top1dr->return_loan(msg1Seq,info1Seq); checkStatus(status,"pubsub::top1DataReader::return_loan"); } take method is non-blocking . Therefore , even no data coming , take will return and msg1Seq should be nothing .
  26. Some error of pointer when use 'return_loan'

    I also get this error. Any solutions available?
  27. helloworld standalone example memory leak

    Hi Payne, To complement Hans' suggestion, you could modify your code in the following ways: On the Publishing side, follow your write instruction immediately by a corresponding unregister instruction. This instructs the Writer to release all resources allocated to accomodate for future updates to that instance. Not doing this is what causes your memory leak. status = HelloWorldWriter->write(msgInstance, DDS::HANDLE_NIL); status = HelloWorldWriter->unregister_instance(msgInstance, DDS::HANDLE_NIL); Instruct the Writer to automatically unregister after each Write instruction by setting the (OpenSplice specific) autounregister_instance_delay to 0 on the DataWriterLifecycleQosPolicy in your WriterQos. DDS::DataWriterQos wQos; result = publisher->get_default_datawriter_qos(wQos); result = publisher->copy_from_topic_qos(wQos, tQos); wQos.writer_data_lifecycle.autodispose_unregistered_instances = false; wQos.writer_data_lifecycle.autounregister_instance_delay = DDS::DURATION_ZERO; writer = publisher->create_datawriter(topic, wQos, NULL, DDS::STATUS_MASK_NONE); Regards, Erik Hendriks.
  1. Load more activity