问题标签 [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.
data-distribution-service - OpenDDS - DCPSInfoRepo is killed but the publisher and subscriber are communicating
I'm exercising with OpenDDS
DCPS examples from OpenDDS-3.11/examples/DCPS/IntroductionToOpenDDS
on Ubuntu 16
. As per the AAA_README.txt
found in the same location, I first started DCPSInfoRepo
OpenDDS-3.11/bin/DCPSInfoRepo -ORBEndpoint iiop://localhost:12345
followed by subscriber
and publisher
respectively.
I could get the publisher
publishing and subscriber
receiving the subscribed topics. I understand the DCPSInfoRepo
creates repo.ior
which will contain the participant's entry.
But if I kill the DCPSInfoRepo
, I could see the publisher
and subscriber
continue to communicate but obviously could not add another participant as DCPSInfoRepo
is not running.
I would like to know why the publisher
and subscriber
continue to communicate in the absence of DCPSInfoRepo
. Don't we need DCPSInfoRepo
server after participants are added? please clarify.
data-distribution-service - OpenDDS - xorg 或 compiz 在 Ubuntu 16.04.1 上运行 50 多个发布者和订阅者时内存不足
我正在练习OpenDDS
以了解它的行为。我有一个带有 Ubuntu 16.04.1(8GB RAM 和 30GB 硬盘)的 VMware 工作站。我想运行 OpenDDS 示例OpenDDS-3.11/examples/DCPS/IntroductionToOpenDDS
,如 中所述AAA_README.txt
,但有很多publisher and subscriber
.
所以我创建了一个简单的脚本,publisher and subscriber
它每隔几秒就会启动一次进程,如下所示,
发布.sh
for value in {1..250} ; do
./publisher -DCPSConfigFile dds_tcp_conf.ini &
sleep 30
done
子目录
for value in {1..150} ; do
./subscriber -DCPSConfigFile dds_tcp_conf.ini &
sleep 30
done
这里publisher
发布了两个主题。我先开始了DCPSInfoRepo
接下来的sub.sh and pub.sh
分别。但我观察到的是,在xorg
orcompiz
的第 50 个实例启动之后,or 内存publisher
不足subscriber
。
我什至尝试过RTPS
但观察到相同。
有人可以帮助我理解为什么它在运行许多实例时会占用大量内存吗?
image - 我们可以使用 Opendds 发送图像文件或视频文件吗?
我是实施 DDS 的新手。我已经安装了OPENDDS-3.9,因为它是开源的。
我的要求是在发布者和订阅者之间传输一些图像文件和视频文件。我在互联网上找不到任何关于此的示例项目,任何人都可以帮助获取图像传输的示例代码。
是否可以向我建议任何其他可能对我的实施有用的开源 DDS。
谢谢
拉玛
c++ - OpenDDS - 从单个 IDL 结构创建多个主题
在我的练习中,OpenDDS
我想从一个 IDL 结构创建多个主题,这可能吗?否则请让我知道该怎么做。
我这样做如下,如果这不是正确的方法,请纠正我。我使用的示例可在OpenDDS-3.12/examples/DCPS/IntroductionToOpenDDS
IDL如下,
发布者.cpp
build - 用于 OpenDDS 项目的 cmake
寻找标准 CMakelist 来构建 OpenDDS 应用程序(简单发布者/订阅者)。我熟悉教程,使用 MPC 构建示例的一切运行良好。我需要用 cmake 构建我的项目。我正在使用 OpenDDS 3.9。
我试图在这里为 Stockquote 示例制作一个 CMakelist:http: //opendds.org/about/articles/Article-Intro.html
我的 CMakelist 如下所示:
我从 WTeam 博客中获得了添加 DDS 链接库部分。http://www.wteam.it/index.php/articles/the-hla-series/9-article/15-first-opendds-program
目前,如果我使用 cmake --build,我会收到此错误消息:
/usr/local/include/dds/DCPS/DataWriterImpl_T.h: 在 'void OpenDDS::DCPS::DataWriterImpl_T::init(DDS::Topic_ptr, OpenDDS::DCPS::TopicImpl*, const DDS::DataWriterQos& , DDS::DataWriterListener_ptr, const StatusMask&, OpenDDS::DCPS::DomainParticipantImpl*, OpenDDS::DCPS::PublisherImpl*, DDS::DataWriter_ptr) [with MessageType = Messenger::Message; DDS::Topic_ptr = DDS::Topic*; DDS::DataWriterListener_ptr = DDS::DataWriterListener*; DDS::StatusMask = 无符号整数;DDS::DataWriter_ptr = DDS::DataWriter*]': /usr/local/include/dds/DCPS/FilterEvaluator.h:142:10: 从这里需要 /usr/local/include/dds/DCPS/DataWriterImpl_T.h: 317:50:错误:嵌套名称说明符 if (MarshalTraitsType:: gen_is_bounded_size()) { ^ /usr/local/include/dds/DCPS/DataWriterImpl_T.h:323:54: 错误:不完整类型'OpenDDS::DCPS::DataWriterImpl_T::MarshalTraitsType {aka OpenDDS::DCPS::MarshalTraits} ' 在嵌套名称说明符中使用 if (MarshalTraitsType::gen_is_bounded_key_size()) { ^ /usr/local/include/dds/DCPS/DataWriterImpl_T.h: 在 'DDS::ReturnCode_t OpenDDS::DCPS::DataWriterImpl_T::enable_specific 的实例化中() [与 MessageType = Messenger::Message; DDS::ReturnCode_t = int]': /usr/local/include/dds/DCPS/FilterEvaluator.h:142:10: 从这里需要 /usr/local/include/dds/DCPS/DataWriterImpl_T.h:338:51:错误:不完整的类型'OpenDDS::DCPS::DataWriterImpl_T::MarshalTraitsType {aka OpenDDS::DCPS::
有没有人知道什么是错的或有用于 OpenDDS 应用程序的标准 CMake?非常感谢您的帮助。
干杯,马塞尔
c++ - 如何在windows系统上安装OpenDDS 3.12
我最近尝试在我的 windows7 操作系统上安装 OpenDDS-3.12。
但是,它已经制造了麻烦。
当我尝试configure
在 VS 命令提示符下键入时,它无法检测到 Visual C++ 版本!
错误代码是这样的:
有人帮我解决我的问题。
(活动 perl 版本是 5.24.1,VS 版本是 2017)
tcp - OpenDDS 参与者无法发现彼此
最近,我尝试使用 OpenDDS-3.12 进行通信。我想与位于其他 WAN 的其他两台主机通信。但是,参与者无法发现彼此。我怎么解决这个问题??
这是我的通信环境:
我有两个主机。HostA 和 Host B 是我的桌面(Ubuntu 16.04)。此外,两台主机具有公共 IP 地址(可见)并禁用防火墙。我已经通过 telnet 命令检查了特定端口号是否可用。
我使用了 OpenDDS-3.12 和 $OpenDDS_HOME/tests/DCPS/Messenger 的例子。
在 HostA 中,启用
订阅者的操作如下:
在 HostB 中,目录是相同的,发布者的操作如下:
发布者在此处返回错误消息:
发现其他每个 WAN 主机的正确配置是什么?
希望你能帮助我。
linux - RTI connext DDS的UDP传输中使用了多个端口?
在 RTI connext DDS 的 UDP 传输中使用多个端口而在 RTI connext DDS 的 TCP/IP 中只使用一个端口有什么好处?
udp - RTI 实施 DDS 中的全局数据空间
谁能简要解释一下 DDS 中的全局数据空间?是不是像虚拟内存??什么时候需要全局数据空间?我知道在 UDPv4 的单播中,为每个 dataWriter/dataReader 对分配一个端口,通过该端口在 dataWriter 和 dataReader 之间进行通信,那么全局数据空间的概念从何而来?
makefile - Raspberry Pi 的 OpenDDS 工作问题
我正在开发 OpenDDS 并尝试在我的 Raspberry Pi 上运行 messenger 示例。Example Messenger 在我的 Ubuntu 设置上工作,但是当我试图在我的 Raspberry Pi 上运行它时,它不起作用。./configure中没有问题,但是当我运行“make”命令时。我收到以下错误 https://i.stack.imgur.com/HKsKd.png