upload auto relocalization

This commit is contained in:
trung09122002
2026-09-14 16:56:37 +07:00
parent f9a1873753
commit a5f6460fad
19 changed files with 1311 additions and 37 deletions

View File

@@ -22,6 +22,8 @@
# ./reloc_hosp.sh -11.46 13.22 3.14 0.3 20 true # bat global_scan_init
# ./reloc_hosp.sh -11.46 13.22 3.14 0.3 20 true true # + dinh vi CHU DONG
# ./reloc_hosp.sh -11.46 13.22 3.14 0.3 20 true true true # + GICP tren depth
# ./reloc_hosp.sh -11.46 13.22 3.14 0.3 20 true true false true # + TU LAI
# ⚠️ Tham so 9 cho robot TU XOAY va TU DI. Thu tren SIM truoc.
#
# Tham so 4 = Icp/MaxTranslation. Noi len de proximity hoi phuc duoc sau va cham.
# Tham so 5 = Vis/MinInliers. Ha xuong de de nhan ra cho hon.
@@ -69,6 +71,7 @@ X="$1"; Y="$2"; YAW="${3:-3.14}"; ICPT="${4:-0.3}"; MININL="${5:-20}"
GLOBAL="${6:-false}"
ACTIVE="${7:-false}"
GICP="${8:-false}"
EXEC="${9:-false}"
[ -f "$SRC" ] || { echo "KHONG THAY ban do goc: $SRC"; exit 1; }
@@ -94,4 +97,5 @@ exec roslaunch robot_bringup localization.launch world:=hospital \
x:="$X" y:="$Y" yaw:="$YAW" icp_max_translation:="$ICPT" \
vis_min_inliers:="$MININL" enable_global_init:="$GLOBAL" \
enable_active_reloc:="$ACTIVE" \
enable_gicp:="$GICP"
enable_gicp:="$GICP" \
enable_reloc_exec:="$EXEC"