Revert "feat: tiep nhan route graph (Voronoi) cho global planner + anytime ARA* schema, don doc EnvMonitor"

This reverts commit f4f99650df.
This commit is contained in:
2026-10-03 15:30:15 +07:00
parent f4f99650df
commit 490f48becb
20 changed files with 903 additions and 247 deletions

View File

@@ -17,10 +17,6 @@
<arg name="global_plan_msg_type" default="vda5050_msgs::Order" doc="nav_msgs::Path | vda5050_msgs::Order" />
<arg name="primitive_filename" default="$(find amr_startup)/config/mprim/unicycle_highcost_5cm.mprim" />
<arg name="prefix" default="" doc="Prefix cho tf frame của robot" />
<!-- Bọc lệnh chạy node. robot::log_* in bằng printf không flush: đi qua pipe (`| tee`) thì stdout bị
block-buffer 8 KB, log dừng ở dòng cũ dù node vẫn chạy. Soi log lúc treo/chậm thì đặt
launch_prefix:="stdbuf -oL" (từng dòng); gdb: "gdb -ex run -args". Rỗng = như cũ. -->
<arg name="launch_prefix" default="" doc="vd. 'stdbuf -oL' để stdout ra từng dòng khi tee" />
<!--
ĐIỂM KHÁC BIỆT DUY NHẤT của cả đường chạy: nav core đọc config từ đây.
@@ -35,8 +31,7 @@
<!-- subst_value: mqtt_general.yaml dung $(find amr_startup) cho duong dan factsheet -->
<rosparam file="$(find amr_startup)/config/mqtt_general.yaml" command="load" subst_value="true" />
<node pkg="amr_control" type="amr_control_node" respawn="false" name="amr_node" output="screen" clear_params="true"
launch-prefix="$(arg launch_prefix)">
<node pkg="amr_control" type="amr_control_node" respawn="false" name="amr_node" output="screen" clear_params="true">
<rosparam param="footprint" if="$(eval robot_type == 'imr')">
[[0.412, -0.304], [0.412, 0.304], [-0.412, 0.304], [-0.412, -0.304]]
</rosparam>
@@ -70,16 +65,6 @@
nơi có timer phát cmd_vel 20 Hz). 1 = tuần tự như cũ nhưng vẫn tách queue. -->
<param name="sensor_spinner_threads" value="4" />
<!-- Route graph (Voronoi) biên dịch sẵn, SensorConverter đẩy vào nav core ngay sau /map
(`addRouteGraph`). Thư mục map hiện hành = <route_graph_maps_dir>/<tên trong
activated_map.txt>/ — cùng quy ước với loc_base; file cần có là voronoi.json (sinh bằng
voronoi_route_compile, đã có cho sehc_factory). Không có file = planner chạy full như cũ.
Consumer: SBPLLatticePlanner, khối `voronoi_corridor` trong sbpl_global_params.yaml của
cây config/runtime; khoá kho `/route_graph` khai trong sensor_store_params.yaml.
route_graph_dir (nếu đặt) chỉ đích danh một thư mục, bỏ qua activated_map.txt. -->
<param name="route_graph_maps_dir" value="$(find managerments)/maps" />
<param name="route_graph_topic" value="/route_graph" />
<!-- maker_sources is loaded by robot::NodeHandle from this launch's move_base2 runtime
overlay. Do not also load amr_startup's legacy copy: its contents diverge. -->
<rosparam file="$(find amr_startup)/config/move_base_common_params.yaml" command="load" />