Go2Py/docker/scripts/workspace-entrypoint.sh

25 lines
827 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
export CMAKE_PREFIX_PATH=/workspace/unitree_ros2/cyclonedds_ws/install/cyclonedds/
2024-05-21 07:41:14 +08:00
python3 -m pip install --upgrade pip
2024-05-21 07:42:56 +08:00
cd /workspaces/Go2Py/ && python3 -m pip install -e .
2024-05-04 08:51:20 +08:00
$@