为 DDS 录制服务创建配置文件
Creating Configuration File for DDS Recording Service
我是一名初学者,想了解如何在两个方面为 DDS 记录服务创建配置文件。
如果您希望记录域中的一组特定主题,如何设置主题组?您能否将主题列为个人 <topic_expr>
即
<topic_group name="SomeTopics">
<topics>
<topic_expr>topic2</topic_expr>
<topic_expr>topic8</topic_expr>
</topics>
<field_expr>*</field_expr>
</topic_group>
当我尝试这样的事情时,并不是所有列出的主题都会被记录下来。有什么我忽略的吗?
其次,当您使用-deserialize
时,您需要对您用于记录数据库的配置文件进行任何更改吗?因为我有时会收到关于 "rti dds failed to find" 后跟 X::Y::Z 之类的错误。谢谢
XSD schema for the configuration file does not expect you to use multiple <topic_expr>
tags, but a single tag with a comma-separated list of Topic names. The RTI Recording Service User's Manual解释如下:
<topic_expr>POSIX fn expression</topic_expr>
Required.
A comma-separated list of POSIX expressions that specify the names of Topics to be included in the TopicGroup.
The syntax and semantics are the same as for Partition matching.
Default: Null
Note: Keep in mind that spaces are valid first characters in topic names, thus they can affect the matching process. For example, this will match both Triangle and Square topics (notice there is no space before Square):
<topic_expr>Triangle,Square</topic_expr>
However the following will only match Triangle topics (because there is a space before Square):
<topic_expr>Triangle, Square</topic_expr>
关于-deserialize
选项,这不适用于录制服务,但适用于转换器工具(rtirecconv
)。如果要反序列化记录,则必须在记录服务配置中通过标记 <deserialize_mode>
指明这一点。同样,请参阅用户手册了解详细信息。
我是一名初学者,想了解如何在两个方面为 DDS 记录服务创建配置文件。
如果您希望记录域中的一组特定主题,如何设置主题组?您能否将主题列为个人 <topic_expr>
即
<topic_group name="SomeTopics">
<topics>
<topic_expr>topic2</topic_expr>
<topic_expr>topic8</topic_expr>
</topics>
<field_expr>*</field_expr>
</topic_group>
当我尝试这样的事情时,并不是所有列出的主题都会被记录下来。有什么我忽略的吗?
其次,当您使用-deserialize
时,您需要对您用于记录数据库的配置文件进行任何更改吗?因为我有时会收到关于 "rti dds failed to find" 后跟 X::Y::Z 之类的错误。谢谢
XSD schema for the configuration file does not expect you to use multiple <topic_expr>
tags, but a single tag with a comma-separated list of Topic names. The RTI Recording Service User's Manual解释如下:
<topic_expr>POSIX fn expression</topic_expr>
Required.
A comma-separated list of POSIX expressions that specify the names of Topics to be included in the TopicGroup.
The syntax and semantics are the same as for Partition matching.
Default: Null
Note: Keep in mind that spaces are valid first characters in topic names, thus they can affect the matching process. For example, this will match both Triangle and Square topics (notice there is no space before Square):
<topic_expr>Triangle,Square</topic_expr>
However the following will only match Triangle topics (because there is a space before Square):
<topic_expr>Triangle, Square</topic_expr>
关于-deserialize
选项,这不适用于录制服务,但适用于转换器工具(rtirecconv
)。如果要反序列化记录,则必须在记录服务配置中通过标记 <deserialize_mode>
指明这一点。同样,请参阅用户手册了解详细信息。