From bf00a8a095698e7418bb53717a2b79d8af818c1a Mon Sep 17 00:00:00 2001 From: creeper5820 Date: Sun, 8 Feb 2026 02:39:39 +0800 Subject: [PATCH] Improve develop scripts --- .script/foxglove | 5 +++++ .script/template/env_setup.bash | 2 +- .script/template/env_setup.zsh | 4 ++-- 3 files changed, 8 insertions(+), 3 deletions(-) create mode 100755 .script/foxglove diff --git a/.script/foxglove b/.script/foxglove new file mode 100755 index 000000000..ba845e52e --- /dev/null +++ b/.script/foxglove @@ -0,0 +1,5 @@ +#! /bin/bash + +source ~/env_setup.bash + +ros2 launch foxglove_bridge foxglove_bridge_launch.xml port:=8765 diff --git a/.script/template/env_setup.bash b/.script/template/env_setup.bash index f8ab1dd27..341647d3b 100644 --- a/.script/template/env_setup.bash +++ b/.script/template/env_setup.bash @@ -1,6 +1,6 @@ #!/bin/bash -export ROS_LOCALHOST_ONLY=1 +export ROS_AUTOMATIC_DISCOVERY_RANGE=LOCALHOST export RCUTILS_COLORIZED_OUTPUT=1 export RMCS_PATH="/workspaces/RMCS" diff --git a/.script/template/env_setup.zsh b/.script/template/env_setup.zsh index 2f7a0ee69..fab840df0 100644 --- a/.script/template/env_setup.zsh +++ b/.script/template/env_setup.zsh @@ -1,7 +1,7 @@ -#!/bin/bash +#!/bin/zsh +export ROS_AUTOMATIC_DISCOVERY_RANGE=LOCALHOST export RCUTILS_COLORIZED_OUTPUT=1 -export ROS_LOCALHOST_ONLY=1 export RMCS_PATH="/workspaces/RMCS" source /opt/ros/jazzy/setup.zsh