Staging commit. Builds, deploys and wheels move.

Need to investigate lidar startup
This commit is contained in:
Matt Spencer
2026-07-13 21:14:02 +00:00
parent 31305f1f8d
commit a81b99cd3c
22 changed files with 3916 additions and 2 deletions
+27
View File
@@ -0,0 +1,27 @@
#!/usr/bin/env bash
set -u
ROOT_DIR="/workspaces/agv_pro_ros2"
PATCH_DIR="$ROOT_DIR/patches"
apply_patch_once() {
local target_dir="$1"
local patch_file="$2"
if [[ ! -d "$target_dir/.git" ]]; then
echo "[FAIL] target repo not found: $target_dir" >&2
return 2
fi
if [[ ! -f "$patch_file" ]]; then
echo "[FAIL] patch not found: $patch_file" >&2
return 2
fi
git -C "$target_dir" apply --check "$patch_file" >/dev/null 2>&1 \
&& git -C "$target_dir" apply "$patch_file" >/dev/null 2>&1 \
|| git -C "$target_dir" apply --reverse --check "$patch_file" >/dev/null 2>&1
}
apply_patch_once "$ROOT_DIR/src/upstream/livox_sdk" "$PATCH_DIR/livox_sdk.patch"
apply_patch_once "$ROOT_DIR/src/upstream/slam_gmapping" "$PATCH_DIR/slam_gmapping.patch"