<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>2026 RAICOM Reconnaissance on YHY Study Website</title><link>http://ryanyhy.github.io/YHY-Website/en/experience/2026-raicom/</link><description>Recent content in 2026 RAICOM Reconnaissance on YHY Study Website</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Sun, 01 Nov 2026 15:52:45 +0800</lastBuildDate><atom:link href="http://ryanyhy.github.io/YHY-Website/en/experience/2026-raicom/index.xml" rel="self" type="application/rss+xml"/><item><title>Overview</title><link>http://ryanyhy.github.io/YHY-Website/en/experience/2026-raicom/overview/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>http://ryanyhy.github.io/YHY-Website/en/experience/2026-raicom/overview/</guid><description>&lt;p&gt;Vehicle ROS software for the RAICOM Intelligent Reconnaissance event. Within five minutes the robot crosses zones A–D, recognizes people and fires water pellets, counts mines, detects anti-tank obstacles and avoids them, then writes a byte-exact &lt;strong&gt;6-line&lt;/strong&gt; &lt;code&gt;report.txt&lt;/code&gt;.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Platform&lt;/strong&gt;: ROS Melodic · Ubuntu 18.04 · catkin workspace &lt;code&gt;1raicom_ws&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Repository&lt;/strong&gt;: &lt;a href="https://github.com/RyanYhy/raicom2026"&gt;raicom2026&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="mission"&gt;What the system does
&lt;/h2&gt;
&lt;p&gt;The match is three pipelines:&lt;/p&gt;
&lt;ol class="steps"&gt;
&lt;li&gt;&lt;strong&gt;Navigation&lt;/strong&gt; — cruise the preset waypoints (&lt;code&gt;move_base&lt;/code&gt; + Cartographer)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Perception&lt;/strong&gt; — at a task waypoint, run vision (people / mines / anti-tank)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Output&lt;/strong&gt; — each task writes a partial report, then the parts merge into a 6-line &lt;code&gt;report.txt&lt;/code&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Startup has two stages. &lt;strong&gt;prep&lt;/strong&gt; brings up every sensor and model. After the referee starts the clock, &lt;strong&gt;go&lt;/strong&gt; starts only the navigation orchestrator, so the robot can leave within seconds.&lt;/p&gt;</description></item><item><title>Usage</title><link>http://ryanyhy.github.io/YHY-Website/en/experience/2026-raicom/usage/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>http://ryanyhy.github.io/YHY-Website/en/experience/2026-raicom/usage/</guid><description>&lt;p&gt;The default workspace is &lt;code&gt;~/1raicom_ws&lt;/code&gt; (same layout as &lt;a href="https://github.com/RyanYhy/raicom2026"&gt;raicom2026&lt;/a&gt;).&lt;/p&gt;
&lt;h2 id="requirements"&gt;Requirements
&lt;/h2&gt;
&lt;div class="td-table-scroll td-table-scroll--static"&gt;
&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th scope="col"&gt;Component&lt;/th&gt;
 &lt;th scope="col"&gt;Notes&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td&gt;OS&lt;/td&gt;
 &lt;td&gt;Ubuntu 18.04&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;ROS&lt;/td&gt;
 &lt;td&gt;Melodic&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;This repository&lt;/td&gt;
 &lt;td&gt;&lt;code&gt;1raicom_ws&lt;/code&gt; (catkin root)&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;~/cartographer_ws&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Cartographer localization (&lt;strong&gt;not in this repository&lt;/strong&gt;)&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;~/cv_bridge_ws&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Python 3 cv_bridge for the YOLO node&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;Conda &lt;code&gt;yolov8&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;ONNX inference&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;

&lt;figure class="td-figure"&gt;
 &lt;img src="http://ryanyhy.github.io/YHY-Website/images/raicom2026/env_overlay.png" alt="Environment overlay" loading="lazy" decoding="async"&gt;&lt;figcaption&gt; &lt;span class="td-fig-caption"&gt;Overlay order in setup_env.sh&lt;/span&gt;&lt;/figcaption&gt;
&lt;/figure&gt;&lt;h3 id="setup-env"&gt;One environment entry
&lt;/h3&gt;
&lt;p&gt;In every new terminal:&lt;/p&gt;
&lt;div class="td-code td-code--untitled" id="td-code-67509443-fence-0" data-td-code data-td-code-auto-id
 data-td-language="bash" data-td-line-count="1"&gt;
 &lt;div class="td-code__viewport" id="td-code-67509443-fence-0-viewport" data-td-code-viewport&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nb"&gt;source&lt;/span&gt; ~/1raicom_ws/scripts/setup_env.sh&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;&lt;a href="https://github.com/RyanYhy/raicom2026/blob/main/scripts/setup_env.sh"&gt;&lt;code&gt;setup_env.sh&lt;/code&gt;&lt;/a&gt; overlays ROS, then cartographer, then 1raicom_ws, then cv_bridge, and forces &lt;code&gt;1raicom_ws&lt;/code&gt; to the front of &lt;code&gt;ROS_PACKAGE_PATH&lt;/code&gt;.&lt;/p&gt;</description></item><item><title>Hardware and drivers</title><link>http://ryanyhy.github.io/YHY-Website/en/experience/2026-raicom/module-hardware/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>http://ryanyhy.github.io/YHY-Website/en/experience/2026-raicom/module-hardware/</guid><description>&lt;h2 id="hardware"&gt;Hardware
&lt;/h2&gt;
&lt;div class="td-table-scroll td-table-scroll--static"&gt;
&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th scope="col"&gt;Device&lt;/th&gt;
 &lt;th scope="col"&gt;Role&lt;/th&gt;
 &lt;th scope="col"&gt;udev node&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td&gt;Mecanum chassis&lt;/td&gt;
 &lt;td&gt;Omnidirectional motion&lt;/td&gt;
 &lt;td&gt;&lt;code&gt;/dev/carserial&lt;/code&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;Wit IMU&lt;/td&gt;
 &lt;td&gt;Attitude and angular rate&lt;/td&gt;
 &lt;td&gt;&lt;code&gt;/dev/imu&lt;/code&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;Leishen N10_P&lt;/td&gt;
 &lt;td&gt;2D lidar&lt;/td&gt;
 &lt;td&gt;&lt;code&gt;/dev/lslidar&lt;/code&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;Gimbal and water-pellet gun&lt;/td&gt;
 &lt;td&gt;Aim and fire&lt;/td&gt;
 &lt;td&gt;&lt;code&gt;/dev/gun&lt;/code&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;USB camera&lt;/td&gt;
 &lt;td&gt;People and mines (on the gimbal)&lt;/td&gt;
 &lt;td&gt;&lt;code&gt;/dev/video*&lt;/code&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;Orbbec DCW2&lt;/td&gt;
 &lt;td&gt;Anti-tank RGB and depth&lt;/td&gt;
 &lt;td&gt;USB &lt;code&gt;2bc5&lt;/code&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;

&lt;img class="td-image" src="http://ryanyhy.github.io/YHY-Website/images/raicom2026/hardware_topology.png" alt="Hardware and drivers" loading="lazy" decoding="async"&gt;&lt;h2 id="drivers"&gt;Driver packages
&lt;/h2&gt;
&lt;div class="td-table-scroll td-table-scroll--static"&gt;
&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th scope="col"&gt;ROS package&lt;/th&gt;
 &lt;th scope="col"&gt;Node&lt;/th&gt;
 &lt;th scope="col"&gt;Output&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;chassis_driver&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;&lt;code&gt;base_controller.py&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Serial chassis&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;imu_driver&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;&lt;code&gt;wit_multi_ros.py&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;&lt;code&gt;/imu&lt;/code&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;leishen/lslidar_driver&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Lidar node&lt;/td&gt;
 &lt;td&gt;&lt;code&gt;/scan&lt;/code&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;car_bringup&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;&lt;code&gt;base_node&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;&lt;code&gt;odom_raw&lt;/code&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;orbbec_camera&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;SDK driver&lt;/td&gt;
 &lt;td&gt;&lt;code&gt;/camera/color/*&lt;/code&gt;, &lt;code&gt;/camera/depth/*&lt;/code&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;robot_bringup&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;&lt;code&gt;bringup_robot.launch&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;&lt;strong&gt;Brings up&lt;/strong&gt; the rows above, plus EKF and URDF&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;

&lt;h2 id="bringup"&gt;Bringup chain
&lt;/h2&gt;
&lt;p&gt;&lt;a href="https://github.com/RyanYhy/raicom2026/blob/main/src/robot_bringup/launch/bringup_robot.launch"&gt;&lt;code&gt;bringup_robot.launch&lt;/code&gt;&lt;/a&gt;:&lt;/p&gt;</description></item><item><title>Mapping</title><link>http://ryanyhy.github.io/YHY-Website/en/experience/2026-raicom/module-mapping/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>http://ryanyhy.github.io/YHY-Website/en/experience/2026-raicom/module-mapping/</guid><description>&lt;h2 id="maps"&gt;Match maps
&lt;/h2&gt;
&lt;div class="td-table-scroll td-table-scroll--static"&gt;
&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th scope="col"&gt;File&lt;/th&gt;
 &lt;th scope="col"&gt;Role&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;data/maps/map2.yaml&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Occupancy grid for &lt;code&gt;map_server&lt;/code&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;data/maps/map2.pbstream&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Cartographer pure localization&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;

&lt;p&gt;Both files must come from the same mapping run. &lt;strong&gt;After replacing the map, remeasure the waypoints&lt;/strong&gt; (&lt;a href="https://github.com/RyanYhy/raicom2026/blob/main/src/raicom2026/param/nav_competition.yaml"&gt;&lt;code&gt;nav_competition.yaml&lt;/code&gt;&lt;/a&gt;).&lt;/p&gt;
&lt;h2 id="toolchain"&gt;Toolchain
&lt;/h2&gt;
&lt;p&gt;The mapper itself is the &lt;strong&gt;external&lt;/strong&gt; workspace &lt;code&gt;~/cartographer_ws&lt;/code&gt;. This repository provides:&lt;/p&gt;
&lt;div class="td-table-scroll td-table-scroll--static"&gt;
&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th scope="col"&gt;Location&lt;/th&gt;
 &lt;th scope="col"&gt;Contents&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;config/cartographer/&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Lua configuration&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;scripts/save_map.sh&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Save yaml and pgm&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;scripts/save_pbstream.sh&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Save pbstream&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;test/launch/cartographer_localization.launch&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Debug pure localization&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;

&lt;h2 id="pipeline"&gt;Mapping steps
&lt;/h2&gt;
&lt;pre class="mermaid"&gt;flowchart LR
 A[robot laser&amp;#43;odom] --&amp;gt; B[cartographer_ros]
 B --&amp;gt; C[map2.pbstream]
 B --&amp;gt; D[map2.yaml]
 D --&amp;gt; E[map_server]
 C --&amp;gt; F[pure localization]&lt;/pre&gt;
&lt;ol class="steps"&gt;
&lt;li&gt;Map the field online with Cartographer&lt;/li&gt;
&lt;li&gt;Save pbstream and yaml&lt;/li&gt;
&lt;li&gt;Copy them into &lt;code&gt;raicom2026/data/maps/&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Mark waypoints with &lt;code&gt;mark_waypoint*.py&lt;/code&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="launch"&gt;How the match launch uses the map
&lt;/h2&gt;
&lt;p&gt;&lt;a href="https://github.com/RyanYhy/raicom2026/blob/main/src/raicom2026/launch/nav_competition_2026.launch"&gt;&lt;code&gt;nav_competition_2026.launch&lt;/code&gt;&lt;/a&gt; defaults to:&lt;/p&gt;</description></item><item><title>Localization</title><link>http://ryanyhy.github.io/YHY-Website/en/experience/2026-raicom/module-localization/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>http://ryanyhy.github.io/YHY-Website/en/experience/2026-raicom/module-localization/</guid><description>&lt;p&gt;&lt;a href="https://github.com/RyanYhy/raicom2026/blob/main/src/raicom2026/launch/nav_competition_2026.launch"&gt;&lt;code&gt;nav_competition_2026.launch&lt;/code&gt;&lt;/a&gt; switches mode with &lt;code&gt;loc_mode&lt;/code&gt;:&lt;/p&gt;
&lt;div class="td-table-scroll td-table-scroll--static"&gt;
&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th scope="col"&gt;Mode&lt;/th&gt;
 &lt;th scope="col"&gt;Argument&lt;/th&gt;
 &lt;th scope="col"&gt;Notes&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;strong&gt;Cartographer&lt;/strong&gt;&lt;/td&gt;
 &lt;td&gt;&lt;code&gt;loc_mode:=cartographer&lt;/code&gt; (&lt;strong&gt;match default&lt;/strong&gt;)&lt;/td&gt;
 &lt;td&gt;Loads &lt;code&gt;map2.pbstream&lt;/code&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;strong&gt;AMCL&lt;/strong&gt;&lt;/td&gt;
 &lt;td&gt;&lt;code&gt;loc_mode:=amcl&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Particle filter on the static map&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;

&lt;img class="td-image" src="http://ryanyhy.github.io/YHY-Website/images/raicom2026/localization_modes.png" alt="Localization modes" loading="lazy" decoding="async"&gt;&lt;p&gt;prep always uses:&lt;/p&gt;
&lt;div class="td-code td-code--untitled" id="td-code-18959845-fence-0" data-td-code data-td-code-auto-id
 data-td-language="bash" data-td-line-count="1"&gt;
 &lt;div class="td-code__viewport" id="td-code-18959845-fence-0-viewport" data-td-code-viewport&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;roslaunch raicom2026 nav_competition_2026.launch start_nav:&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="nb"&gt;false&lt;/span&gt; loc_mode:&lt;span class="o"&gt;=&lt;/span&gt;cartographer&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;h2 id="carto-nodes"&gt;Cartographer helper nodes
&lt;/h2&gt;
&lt;div class="td-table-scroll td-table-scroll--static"&gt;
&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th scope="col"&gt;Node&lt;/th&gt;
 &lt;th scope="col"&gt;Role&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;odom_cleaner.py&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Clean timestamps on &lt;code&gt;/odom&lt;/code&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;carto_init.py&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Inject the starting pose&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;carto_relocalize.py&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Manual relocalization from RViz 2D Pose Estimate&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;

&lt;p&gt;Configuration: &lt;a href="https://github.com/RyanYhy/raicom2026/tree/main/src/raicom2026/config/cartographer"&gt;&lt;code&gt;config/cartographer/localization.lua&lt;/code&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2 id="nav-boot"&gt;Handoff to nav_competition
&lt;/h2&gt;
&lt;p&gt;When &lt;code&gt;nav_competition.py&lt;/code&gt; starts it:&lt;/p&gt;</description></item><item><title>Navigation</title><link>http://ryanyhy.github.io/YHY-Website/en/experience/2026-raicom/module-navigation/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>http://ryanyhy.github.io/YHY-Website/en/experience/2026-raicom/module-navigation/</guid><description>&lt;h2 id="components"&gt;Core pieces
&lt;/h2&gt;
&lt;div class="td-table-scroll td-table-scroll--static"&gt;
&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th scope="col"&gt;Piece&lt;/th&gt;
 &lt;th scope="col"&gt;Role&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;map_server&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Publishes &lt;code&gt;/map&lt;/code&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;move_base&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Global planner plus DWA local planner&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;robot_navigation/param/&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Costmap and DWA parameters&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;visual_layer_params.yaml&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Local costmap subscribes to &lt;code&gt;/visual_mine/obstacles&lt;/code&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;

&lt;p&gt;The main launch &lt;strong&gt;owns&lt;/strong&gt; &lt;code&gt;move_base&lt;/code&gt; (&lt;code&gt;clear_params=true&lt;/code&gt;) and loads the visual-layer parameters last.&lt;/p&gt;
&lt;h2 id="costmap"&gt;Costmaps
&lt;/h2&gt;
&lt;div class="td-table-scroll td-table-scroll--static"&gt;
&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th scope="col"&gt;Layer&lt;/th&gt;
 &lt;th scope="col"&gt;observation_sources&lt;/th&gt;
 &lt;th scope="col"&gt;Notes&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td&gt;global&lt;/td&gt;
 &lt;td&gt;empty (static map only)&lt;/td&gt;
 &lt;td&gt;Avoid marking obstacles from localization drift&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;local&lt;/td&gt;
 &lt;td&gt;&lt;code&gt;scan&lt;/code&gt; + &lt;code&gt;visual_mine&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Lidar plus the anti-tank cloud&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;

&lt;p&gt;&lt;a href="https://github.com/RyanYhy/raicom2026/blob/main/src/raicom2026/scripts/orbbec_mine_antitank.py"&gt;&lt;code&gt;orbbec_mine_antitank.py&lt;/code&gt;&lt;/a&gt; publishes the anti-tank cloud once at P21 (map frame, republished every 0.5 s).&lt;/p&gt;</description></item><item><title>Match tasks</title><link>http://ryanyhy.github.io/YHY-Website/en/experience/2026-raicom/module-tasks/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>http://ryanyhy.github.io/YHY-Website/en/experience/2026-raicom/module-tasks/</guid><description>&lt;p&gt;Most of this code is in the &lt;code&gt;raicom2026&lt;/code&gt; package. &lt;a href="https://github.com/RyanYhy/raicom2026/tree/main/src/raicom2026"&gt;Repository&lt;/a&gt;&lt;/p&gt;
&lt;img class="td-image" src="http://ryanyhy.github.io/YHY-Website/images/raicom2026/task_service_flow.png" alt="Task service flow" loading="lazy" decoding="async"&gt;&lt;h2 id="scheduler"&gt;Orchestrator nav_competition
&lt;/h2&gt;
&lt;div class="td-table-scroll td-table-scroll--static"&gt;
&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th scope="col"&gt;Item&lt;/th&gt;
 &lt;th scope="col"&gt;Notes&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td&gt;Config&lt;/td&gt;
 &lt;td&gt;&lt;a href="https://github.com/RyanYhy/raicom2026/blob/main/src/raicom2026/param/nav_competition.yaml"&gt;&lt;code&gt;nav_competition.yaml&lt;/code&gt;&lt;/a&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;go launch&lt;/td&gt;
 &lt;td&gt;&lt;a href="https://github.com/RyanYhy/raicom2026/blob/main/src/raicom2026/launch/match_go.launch"&gt;&lt;code&gt;match_go.launch&lt;/code&gt;&lt;/a&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;Task types&lt;/td&gt;
 &lt;td&gt;&lt;code&gt;person&lt;/code&gt; (A–D), &lt;code&gt;mine&lt;/code&gt; (A/B), &lt;code&gt;antitank&lt;/code&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;

&lt;div class="td-table-scroll td-table-scroll--static"&gt;
&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th scope="col"&gt;Service&lt;/th&gt;
 &lt;th scope="col"&gt;Node&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;/person_detect_service&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;&lt;code&gt;webcam_person_gun.py&lt;/code&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;/mine_detect_service&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;&lt;code&gt;orbbec_mine_antitank.py&lt;/code&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;/antitank_check_service&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;&lt;code&gt;orbbec_mine_antitank.py&lt;/code&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;

&lt;h2 id="gimbal"&gt;Gimbal service gimbal_server
&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Exclusive owner of &lt;code&gt;/dev/gun&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;/gun/aim&lt;/code&gt;, &lt;code&gt;/gun/fire&lt;/code&gt;, &lt;code&gt;/gun/home&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;People and mines &lt;strong&gt;share&lt;/strong&gt; the gimbal&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="person"&gt;People and shooting
&lt;/h2&gt;
&lt;p&gt;&lt;a href="https://github.com/RyanYhy/raicom2026/blob/main/src/raicom2026/scripts/webcam_person_gun.py"&gt;&lt;code&gt;webcam_person_gun.py&lt;/code&gt;&lt;/a&gt;&lt;/p&gt;
&lt;div class="td-table-scroll td-table-scroll--static"&gt;
&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th scope="col"&gt;Item&lt;/th&gt;
 &lt;th scope="col"&gt;Notes&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td&gt;Camera&lt;/td&gt;
 &lt;td&gt;&lt;code&gt;/usb_cam/image_raw&lt;/code&gt; (848×480 MJPG)&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;Model&lt;/td&gt;
 &lt;td&gt;&lt;code&gt;person.onnx&lt;/code&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;Flow&lt;/td&gt;
 &lt;td&gt;Scan and count → exact report string → aim and fire at the enemy&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;

&lt;p&gt;Shooting and recognition live in &lt;strong&gt;the same node&lt;/strong&gt;. The node does not write the serial port itself.&lt;/p&gt;</description></item><item><title>Summary</title><link>http://ryanyhy.github.io/YHY-Website/en/experience/2026-raicom/summary/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>http://ryanyhy.github.io/YHY-Website/en/experience/2026-raicom/summary/</guid><description>&lt;h2 id="deps"&gt;Dependencies
&lt;/h2&gt;
&lt;pre class="mermaid"&gt;flowchart TB
 subgraph HW [hardware and drivers]
 BR[robot_bringup]
 end
 subgraph LOC [localization]
 CARTO[cartographer]
 MAP[map_server]
 end
 subgraph NAV [navigation]
 MB[move_base]
 end
 subgraph TASK [match tasks]
 NAVCOMP[nav_competition]
 PERSON[webcam_person_gun]
 MINEAT[orbbec_mine_antitank]
 end
 BR --&amp;gt; CARTO
 MAP --&amp;gt; MB
 CARTO --&amp;gt; MB
 NAVCOMP --&amp;gt; MB
 NAVCOMP --&amp;gt; PERSON
 NAVCOMP --&amp;gt; MINEAT
 MINEAT --&amp;gt; MB&lt;/pre&gt;
&lt;h2 id="dev-tips"&gt;Where to change things
&lt;/h2&gt;
&lt;div class="td-table-scroll td-table-scroll--static"&gt;
&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th scope="col"&gt;Goal&lt;/th&gt;
 &lt;th scope="col"&gt;Change&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td&gt;Waypoints or timeouts&lt;/td&gt;
 &lt;td&gt;Only &lt;code&gt;nav_competition.yaml&lt;/code&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;Recognition&lt;/td&gt;
 &lt;td&gt;The matching &lt;code&gt;scripts/*.py&lt;/code&gt; plus &lt;code&gt;data/models/*.onnx&lt;/code&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;Navigation&lt;/td&gt;
 &lt;td&gt;&lt;code&gt;robot_navigation/param/&lt;/code&gt; and the launch files&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;A new feature&lt;/td&gt;
 &lt;td&gt;&lt;strong&gt;Prefer the &lt;code&gt;raicom2026&lt;/code&gt; package&lt;/strong&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;

&lt;div class="td-callout td-callout--tip" role="note"&gt;
 &lt;div class="td-callout__title"&gt;&lt;i class="td-callout__icon fa-solid fa-lightbulb" aria-hidden="true"&gt;&lt;/i&gt;&lt;span class="td-callout__label"&gt;Site and repository&lt;/span&gt;&lt;/div&gt;
 &lt;div class="td-callout__body"&gt;
&lt;p&gt;This site organizes the notes with &lt;a href="https://oink.pgsty.com/zh/book/"&gt;Oink&lt;/a&gt;. Code changes belong in the &lt;a href="https://github.com/RyanYhy/raicom2026"&gt;GitHub repository&lt;/a&gt;. The file index is in the &lt;a href="../appendix/"&gt;appendix&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Appendix</title><link>http://ryanyhy.github.io/YHY-Website/en/experience/2026-raicom/appendix/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>http://ryanyhy.github.io/YHY-Website/en/experience/2026-raicom/appendix/</guid><description>&lt;h2 id="unfinished"&gt;Unfinished features
&lt;/h2&gt;
&lt;h3 id="yellow-line"&gt;Yellow-line following
&lt;/h3&gt;
&lt;div class="td-table-scroll td-table-scroll--static"&gt;
&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th scope="col"&gt;Piece&lt;/th&gt;
 &lt;th scope="col"&gt;State&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;visual_mine_avoidance.py&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;Starts in prep and publishes &lt;code&gt;/visual_line/*&lt;/code&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;code&gt;cmd_vel_merge.py&lt;/code&gt;&lt;/td&gt;
 &lt;td&gt;&lt;code&gt;enable_line_follow=false&lt;/code&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;Match effect&lt;/td&gt;
 &lt;td&gt;&lt;strong&gt;None&lt;/strong&gt;. Velocity is only forwarded.&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;

&lt;h3 id="visual-mine-avoidance"&gt;visual_mine_avoidance
&lt;/h3&gt;
&lt;div class="td-table-scroll td-table-scroll--static"&gt;
&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th scope="col"&gt;Capability&lt;/th&gt;
 &lt;th scope="col"&gt;State&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td&gt;Always-on anti-tank inference&lt;/td&gt;
 &lt;td&gt;&lt;code&gt;enable_at=false&lt;/code&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;Match point cloud&lt;/td&gt;
 &lt;td&gt;Published by &lt;code&gt;orbbec_mine_antitank&lt;/code&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;bench&lt;/td&gt;
 &lt;td&gt;&lt;code&gt;roslaunch raicom2026 visual_mine_avoidance.launch&lt;/code&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;

&lt;h2 id="cheatsheet"&gt;Function to file
&lt;/h2&gt;
&lt;div class="td-table-scroll td-table-scroll--static"&gt;
&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th scope="col"&gt;To change or inspect&lt;/th&gt;
 &lt;th scope="col"&gt;Path (from the repository root)&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td&gt;Waypoints and timeouts&lt;/td&gt;
 &lt;td&gt;&lt;code&gt;src/raicom2026/param/nav_competition.yaml&lt;/code&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;Navigation orchestrator&lt;/td&gt;
 &lt;td&gt;&lt;code&gt;src/raicom2026/scripts/nav_competition.py&lt;/code&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;People and shooting&lt;/td&gt;
 &lt;td&gt;&lt;code&gt;src/raicom2026/scripts/webcam_person_gun.py&lt;/code&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;Mines and anti-tank&lt;/td&gt;
 &lt;td&gt;&lt;code&gt;src/raicom2026/scripts/orbbec_mine_antitank.py&lt;/code&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;Gimbal&lt;/td&gt;
 &lt;td&gt;&lt;code&gt;src/raicom2026/scripts/gimbal_server.py&lt;/code&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;Report&lt;/td&gt;
 &lt;td&gt;&lt;code&gt;src/raicom2026/src/raicom2026/report.py&lt;/code&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;Main launch&lt;/td&gt;
 &lt;td&gt;&lt;code&gt;src/raicom2026/launch/nav_competition_2026.launch&lt;/code&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;move_base parameters&lt;/td&gt;
 &lt;td&gt;&lt;code&gt;src/robot_navigation/param/&lt;/code&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;Maps&lt;/td&gt;
 &lt;td&gt;&lt;code&gt;src/raicom2026/data/maps/map2.*&lt;/code&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;prep/go&lt;/td&gt;
 &lt;td&gt;&lt;code&gt;scripts/start_match_*.sh&lt;/code&gt;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;

&lt;p&gt;The full tree is in the &lt;a href="https://github.com/RyanYhy/raicom2026"&gt;GitHub repository&lt;/a&gt;.&lt;/p&gt;</description></item></channel></rss>