Reorganize files for easier build

This commit is contained in:
Youssof 2024-06-18 12:10:38 -03:00
parent 3eb368b027
commit 369e58e4be
35 changed files with 14 additions and 0 deletions

14
ros_entrypoint.sh Executable file
View File

@ -0,0 +1,14 @@
#!/bin/bash
set -e
# setup ros environment
source "/opt/ros/$ROS_DISTRO/setup.bash" --
if [ -e "$CATKIN_SETUP_FILE" ]; then
# Source the setup.bash file
source "$CATKIN_SETUP_FILE" --
echo "Sourced $CATKIN_SETUP_FILE"
else
echo "Warning: $CATKIN_SETUP_FILE does not exist. Not running using a catkin workspace"
fi
exec stdbuf -o L "$@"

View File

Before

Width:  |  Height:  |  Size: 82 KiB

After

Width:  |  Height:  |  Size: 82 KiB

View File

Before

Width:  |  Height:  |  Size: 48 KiB

After

Width:  |  Height:  |  Size: 48 KiB