update ros jazzy and gz harmonic

This commit is contained in:
EricX-Zhao
2026-03-23 10:50:39 +03:00
parent 3ac5fd9e46
commit 1952d2a9e5
2 changed files with 21 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
function setup_zenoh() {
source /opt/ros/jazzy/local_setup.bash
export RMW_IMPLEMENTATION=rmw_zenoh_cpp
echo "Setup RMW to rmw_zenoh_cpp"
}
function setup_zenoh_client() {
local ip="${1:-192.168.11.1}"
export ZENOH_CONFIG_OVERRIDE="mode=\"client\";connect/endpoints=[\"tcp/${ip}:7447\"]"
}
function setup_zenoh_peer() {
local ip="${1:-192.168.11.1}"
export ZENOH_CONFIG_OVERRIDE="connect/endpoints=[\"tcp/${ip}:7447\"]"
}
setup_zenoh