LaunchSimulation.bash 731 B

12345678910111213141516171819202122
  1. #!/bin/bash
  2. # Copyright (c) Contributors to the Open 3D Engine Project.
  3. # For complete copyright and license terms please see the LICENSE at the root of this distribution.
  4. #
  5. # SPDX-License-Identifier: Apache-2.0 OR MIT
  6. #
  7. unset LD_LIBRARY_PATH
  8. source /opt/ros/$ROS_DISTRO/setup.bash
  9. export LD_LIBRARY_PATH=/data/workspace/RobotVacuumSample/build/linux/bin/profile:$LD_LIBRARY_PATH
  10. if [ -d /data/workspace/RobotVacuumSample/build/linux/bin/profile ]
  11. then
  12. cd /data/workspace/RobotVacuumSample/build/linux/bin/profile
  13. ./RobotVacuumSample.GameLauncher -r_fullscreen=$LAUNCH_FULLSCREEN_OPT -bg_ConnectToAssetProcessor=0 > /data/workspace/simulation_launch.log 2>&1
  14. else
  15. echo "Simulation not installed on this image"
  16. fi