From e1a6907cde3a4537b7d6f9cb19c4eda3b3067441 Mon Sep 17 00:00:00 2001 From: Ar-Ray-code Date: Thu, 25 May 2023 08:10:26 +0900 Subject: [PATCH] update depends --- build/config/depends.txt | 1 + build/create_ros2.bash | 9 +++------ 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/build/config/depends.txt b/build/config/depends.txt index 1feef85..eda65b2 100644 --- a/build/config/depends.txt +++ b/build/config/depends.txt @@ -11,6 +11,7 @@ libbullet-dev libeigen3-dev libfreetype-dev liblog4cxx-dev +liblttng-ust-dev libopencv-dev libresource-retriever-dev libsdl2-dev diff --git a/build/create_ros2.bash b/build/create_ros2.bash index fcd5ceb..f627cfb 100644 --- a/build/create_ros2.bash +++ b/build/create_ros2.bash @@ -3,15 +3,12 @@ echo "ROS2 builder for the Raspberry Pi 🍓 (debian-bullseye-armv8)" SCRIPT_DIR=`realpath $(dirname "$0")` -DISTRO=$1 +DISTRO=${1-"iron"} mkdir -p ${SCRIPT_DIR}/ros2_ws/src -if [ -z "$DISTRO" ]; then - DISTRO=humble - echo "No distro specified, using $DISTRO" - sleep 1 -fi +echo "Distro: ${DISTRO}" +sleep 1 # setup qemu (if this computer arch is x86_64) if [ "$(uname -m)" == "x86_64" ]; then