Skip to content

pass more environment variables #115

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: noetic-devel
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion templates/job-start.em
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,12 @@ export ROS_MASTER_URI=http://127.0.0.1:11311
@[end if]@
export ROS_HOME=${ROS_HOME:=$(echo ~@(user))/.ros}
export ROS_LOG_DIR=$log_path
export ROS_DISTRO=${ROS_DISTRO}
export ROS_PYTHON_VERSION=${ROS_PYTHON_VERSION:=2}
export USER=@(user)
export HOME=$(echo ~@(user))

log info "@(name): Launching ROS_HOSTNAME=$ROS_HOSTNAME, ROS_IP=$ROS_IP, ROS_MASTER_URI=$ROS_MASTER_URI, ROS_HOME=$ROS_HOME, ROS_LOG_DIR=$log_path"
log info "@(name): Launching ROS_HOSTNAME=$ROS_HOSTNAME, ROS_IP=$ROS_IP, ROS_MASTER_URI=$ROS_MASTER_URI, ROS_HOME=$ROS_HOME, ROS_LOG_DIR=$log_path, ROS_DISTRO=$ROS_DISTRO, ROS_PYTHON_VERSION=$ROS_PYTHON_VERSION, USER=$USER, HOME=$HOME"

# If xacro files are present in job folder, generate and expand an amalgamated urdf.
XACRO_FILENAME=$log_path/@(name).xacro
Expand Down