screen->section->condition

<condition>元素是<section>的一个子元素。如果该元素的条件计算是真,那么then部分将被执行,否则else将被执行。condition内部可以放12种条件语句。其中四个是逻辑语句:

<and>

<xor>

<or>

<not>

3个是权限条件

<if-service-permission>

<if-has-permission>

<if-entity-permission>

5个比较条件

<if-validate-method>

<if-compare>

<if-compare-field>

<ifregexp>

<if-empty>
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
分析这段代码的作用,逐句注释:<launch> <!-- set to value="gdbserver localhost:10000" for remote debugging --> <arg name="launch_prefix" default="" /> <!-- configure camera input --> <arg name="camera_name" default="mynteye" /> <arg name="image_topic" default="image_rect" /> <arg name="queue_size" default="1" /> <arg name="svo_file" default="" /> <!-- <arg name="svo_file" default="path/to/svo/file.svo"> --> <arg name="stream" default="" /> <!-- <arg name="stream" default="<ip_address>:<port>"> --> <!-- 相机名称 --> <arg name="camera_model" default="mynteye" /> <!-- 已经启动了所有的mynteye节点 --> <include file="$(find mynteye_wrapper_d)/launch/mynteye.launch"/> <!-- <node pkg="apriltag_ros" type="undersort_image_node" output="screen"> --> <node name="rviz" pkg="rviz" type="rviz" args="-d $(find mynteye_wrapper_d)/rviz/mynteye_withTags.rviz" output="screen"/> <!-- apriltag_ros continuous detection node --> <node pkg="apriltag_ros" type="apriltag_ros_continuous_node" name="apriltag_ros_continuous_node" clear_params="true" output="screen" launch-prefix="$(arg launch_prefix)"> <!-- Remap topics from those used in code to those on the ROS network --> <!-- 相机节点 --> <remap from="image_rect" to="/undistorted_image"/> <!-- <remap from="image_rect" to="//mynteye/left/image_color"/> --> <remap from="camera_info" to="/mynteye/left/camera_info" /> <param name="publish_tag_detections_image" type="bool" value="true" /><!-- default: false --> <param name="queue_size" type="int" value="$(arg queue_size)" /> <!-- load parameters (incl. tag family, tags, etc.) --> <rosparam command="load" file="$(find apriltag_ros)/config/settings.yaml"/> <rosparam command="load" file="$(find apriltag_ros)/config/tags.yaml"/> </node> </launch>
最新发布
06-07
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值