Go2Py_SIM/docker/scripts/workspace-entrypoint.sh

23 lines
704 B
Bash
Raw Normal View History

2024-05-04 08:51:20 +08:00
#!/bin/bash
#
# Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved.
#
# NVIDIA CORPORATION and its licensors retain all intellectual property
# and proprietary rights in and to this software, related documentation
# and any modifications thereto. Any use, reproduction, disclosure or
# distribution of this software and related documentation without an express
# license agreement from NVIDIA CORPORATION is strictly prohibited.
# Build ROS dependency
echo "source /opt/ros/${ROS_DISTRO}/setup.bash" >> ~/.bashrc
source /opt/ros/${ROS_DISTRO}/setup.bash
2024-05-05 02:03:03 +08:00
# sudo apt-get update
# rosdep update
2024-05-04 08:51:20 +08:00
# Restart udev daemon
sudo service udev restart
2024-05-05 02:03:03 +08:00
export RMW_IMPLEMENTATION=rmw_cyclonedds_cpp
2024-05-04 08:51:20 +08:00
$@