问题标签 [opendds]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
qos - 避免收到我发送的相同主题
我有一个既是 DataDriver 又是 DataReader 的 OpenDDS 节点。结果是,如果节点发送一个主题,则从同一个节点接收到相同的主题。
是否有避免这种行为的 QoS 策略?我希望一个节点可以从除自身之外的所有节点接收主题。
package - opendds TAO_IDL_GEN、OpenDDS_XML_QOS_XSC_Generation 和其他跳过的包
我正在从源代码构建 OpenDDS 3.8。运行configure
命令时,我会收到一些跳过消息。它们中的大多数是java(我不使用它,所以我可以跳过它们)但其他一些消息引起了我的注意:
跳过TAO_IDL_GEN (tao_idl_fe.mpc);它需要 tao_idl_fe_gen
跳过 OpenDDS_XML_QOS_XSC_Generation (qos_xml_handler.mpc);它需要 xsc。
跳过 OpenDDS_QOS_XML_XSC_Handler (qos_xml_handler.mpc);它需要锻炼。
跳过 OpenDDS_CorbaSeq (CorbaSeq.mpc);它避免了 no_opendds_safety_profile。
跳过 OpenDDS_Corba (OpenDDS_Corba.mpc);它避免了 no_opendds_safety_profile。
我没有发现任何关于这些包裹的信息。我想知道他们做什么以及我是否需要它们(以及最终如何构建它们)。
idl - openDDS 不生成 typesupportc 标头
我遇到了让 TAO_idl 不生成 typesupportc 标头的问题。dds_TAOv2_all.sln 构建得很好,所有示例都生成了它们各自的类型支持文件,包括我的 IDL 文件中 typesupport_var 所需的 typesupportc.h 文件。
Xtypesupportc.h 是之前生成的,但是自从我必须重新加载 DDS(DDS 已编译配置等)时,当我使用 x.idl 文件运行 tao_idl 和 openDDS_idl 时,xtypesupportc 和 xtypesupports 不会被创建,因此我不能注册类型。我做错了什么明显的事情吗?谢谢你。
perl - perl 脚本缺少编译器路径 - 什么编译器?
遵循 openDDS安装指南时,我尝试configure
从命令提示符中运行,但收到以下输出:
C:\Users\Supervisor\Desktop\opendds>C:\Users\Supervisor\Desktop\opendds\configure.cmd
此错误与 perl 脚本中的这部分代码有关(如行号所示):
它需要什么编译器?我有gcc
并且make
正在工作 - 他们在系统路径上。
c++ - 防止静态库中的模板实例化
我正在尝试构建一个静态库,其中包含从各种 IDL 文件中获得的 DDS 主题的定义。我使用 OpenDDS 作为我的中间件。
当我创建一个包含sequence<long>
.
我相信这是因为我的静态库包含一个模板实例化unbounded_value_sequence
,而我的应用程序也包含一个实例化。它似乎来自 OpenDDS 使用的 ACE TAO 内部。
我正在寻找一种方法来避免在我的静态库中完全实例化模板,以便当它们链接在一起时它可以只使用应用程序中的定义。我尝试添加以下内容:
这产生了以下错误:
我试图找到那个实例,但它不在我的代码中。它可能在 ACE 内部。
如果我在一个项目中构建所有内容,则不会出现问题,但这不是一个理想的解决方案。
data-distribution-service - What library in OpenDDS contains "OpenDDS::DCPS::operator<<"?
I'm having an issue linking my shared library against an OpenDDS (v3.9) static library because I am unable to find where this method signature is located.
Here's the error.
ABTypeSupportImpl.cpp is auto generated from compiling the IDL. More of the same errors follow. Because of the namespace (OpenDDS::DCPS), I would think this would be found within the library libOpenDDS_Dcps.a, but using nm on this lib and then grep'ing for "operator" or "<<", produces no results. Could it be that name mangling is a bit stranger for overloaded operators? I ran this on every library file within $DDS_ROOT/lib, but found nothing.
And if I recompile the IDL and remove member fields of structs with datatypes such as short or long, then there are no errors and everything links fine.
Anyone know what library this method signature might be located?
c++ - 在 IDL 文件上使用 opendds_idl 工具时出现致命错误 C1083
我在 Windows 10 上遇到了 opendds_idl 工具的问题。
我已经使用 Visual Studio 2015 从 OpenDDS 源代码生成了 OpenDDS 库和工具,并启用了静态链接模式和 x64 平台。
使用命令行
我有一个错误
IDL 文件内容:
c++ - 与静态编译的 OpenDDS / ACE 链接时出错
我在使用 ninja-build 在 GNU/Linux Ubuntu 16.04 下构建项目时遇到了问题。与 OpenDDS 3.9 链接时,更准确地说是与 libACE.a 链接时,我收到此错误:
我已将 OpenDDS(和 ACE)构建为静态库。我使用以下命令行来配置和构建 OpenDDS :
它告诉使用 -fPIC 参数重新编译,我没有成功找到使用此选项重新构建 OpenDDS 和 ACE 的方法,我该怎么做?
谢谢 !
c++ - 为什么删除 DataWriter 时 OpenDDS 会重新发送相同的最后数据
我想了解当删除 DataWriter 时,为什么 OpenDDS 会重新发送相同的最后一个数据 n 次(其中 n 是已发送的消息数)?
这是我错过的特定 QoS 的影响吗?
我做了一个小测试的输出:
在该示例中,我们清楚地看到 DataReader 发送和接收了 10 条消息。然后,一旦 DataWriter 被删除(或在删除期间?),将出现 10 次重复收到的最后一条消息。