#!/bin/bash
set -e

source /opt/ros/humble/setup.bash

if [ -f /workspaces/vlm_office/install/setup.bash ]; then
  source /workspaces/vlm_office/install/setup.bash
fi

export TURTLEBOT3_MODEL="${TURTLEBOT3_MODEL:-burger}"
export GZ_SIM_RESOURCE_PATH="/workspaces/vlm_office/src/turtlebot3_simulations/turtlebot3_gazebo/models/turtlebot3_office:/workspaces/vlm_office/src/turtlebot3_simulations/turtlebot3_gazebo/models${GZ_SIM_RESOURCE_PATH:+:$GZ_SIM_RESOURCE_PATH}"

exec "$@"
