From ee0d2b02c77fdd5757ecbd2ebda577c845a2d050 Mon Sep 17 00:00:00 2001 From: "Arend-Jan van Hilten (TU)" Date: Thu, 25 Jul 2024 10:58:47 +0200 Subject: [PATCH] Add some comments on why this ordering --- install_arduino.sh | 2 ++ install_mirte.sh | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/install_arduino.sh b/install_arduino.sh index b7096b6..9c57a2b 100755 --- a/install_arduino.sh +++ b/install_arduino.sh @@ -2,6 +2,8 @@ set -xe MIRTE_SRC_DIR=/usr/local/src/mirte +# NOTE: on some builds cmake is very old, so we need to install a newer version, this is done by ./install_ROS.sh, which must be run before this script + # Install dependencies sudo apt install -y git curl binutils libusb-1.0-0 diff --git a/install_mirte.sh b/install_mirte.sh index 76dbd67..0431139 100755 --- a/install_mirte.sh +++ b/install_mirte.sh @@ -44,11 +44,11 @@ mkdir -p /home/mirte/arduino_project/Telemetrix4Arduino ln -s $MIRTE_SRC_DIR/mirte-telemetrix4arduino /home/mirte/Arduino/libraries/Telemetrix4Arduino ln -s $MIRTE_SRC_DIR/mirte-telemetrix4arduino/examples/Telemetrix4Arduino/Telemetrix4Arduino.ino /home/mirte/arduino_project/Telemetrix4Arduino -# Install Mirte ROS packages +# Install Mirte ROS packages and update cmake cd $MIRTE_SRC_DIR/mirte-install-scripts || exit 1 ./install_ROS.sh -# Install arduino firmata upload script +# Install arduino, libs & uploader (nano, stm and pico), requires cmake update from ./install_ROS.sh cd $MIRTE_SRC_DIR/mirte-install-scripts || exit 1 ./install_arduino.sh