Go2Py/docker/scripts/workspace-entrypoint.sh

22 lines
654 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 08:09:01 +08:00
sudo apt-get update
rosdep update
2024-05-04 08:51:20 +08:00
# Restart udev daemon
sudo service udev restart
$@