Skip to content

Commit

Permalink
[tue_gazebo_plugins] more env var fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthijsBurgh committed Apr 29, 2024
1 parent ce4a1c7 commit 81f970c
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions tue_gazebo_plugins/setup
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
#! /usr/bin/env bash

export GAZEBO_PLUGIN_PATH=~/ros/$TUE_ROS_DISTRO/system/devel/lib:$GAZEBO_PLUGIN_PATH
# TODO(anyone): remove when tue-env is updated to new variable names
[[ -v TUE_ENV_WS_DIR || ! -v TUE_WS_DIR ]] || TUE_ENV_WS_DIR=${TUE_WS_DIR}

export GAZEBO_MODEL_PATH=~/ros/$TUE_ROS_DISTRO/system/src/tue_gazebo_models/database:$GAZEBO_MODEL_PATH
export GAZEBO_PLUGIN_PATH=~/${TUE_ENV_WS_DIR}/devel/lib:${GAZEBO_PLUGIN_PATH}

export GAZEBO_RESOURCE_PATH=~/ros/$TUE_ROS_DISTRO/system/src/tue_gazebo_models/database:$GAZEBO_RESOURCE_PATH
export GAZEBO_MODEL_PATH=~/${TUE_ENV_WS_DIR}/src/tue_gazebo_models/database:${GAZEBO_MODEL_PATH}

export GAZEBO_RESOURCE_PATH=~/${TUE_ENV_WS_DIR}/src/tue_gazebo_models/database:${GAZEBO_RESOURCE_PATH}

0 comments on commit 81f970c

Please sign in to comment.