From e6cf68d8ff0f38e4c0ef0081510d7336692b48dc Mon Sep 17 00:00:00 2001 From: Arend-Jan van Hilten Date: Mon, 8 Dec 2025 10:40:47 +0100 Subject: [PATCH 1/2] Use auto standby rplidar c1 --- install_ROS2.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install_ROS2.sh b/install_ROS2.sh index 2eb85a5..103cc4f 100755 --- a/install_ROS2.sh +++ b/install_ROS2.sh @@ -181,7 +181,7 @@ if [[ $MIRTE_TYPE == "mirte-master" ]]; then # install lidar and depth camera cd /home/mirte/mirte_ws/src || exit 1 - git clone https://github.com/Slamtec/rplidar_ros.git --single-branch -b ros2 # FIXME-FUTURE: Can be installed in newer versions if V2.1.5 is released + git clone https://github.com/ArendJan/rplidar_ros.git --single-branch -b auto_standby_launch_param_c1 # FIXME-FUTURE: When merged, switch back to official repo # git clone https://github.com/ArendJan/ros2_astra_camera.git -b fix-ros-jammy # compressed images image transport fixes, fork of orbbec/... with also lazy nodes # git clone https://github.com/clearpathrobotics/clearpath_mecanum_drive_controller # FIXME: Can be installed from apt? why build? From 4474b203a528729a65746ceac508af3af1f3b97b Mon Sep 17 00:00:00 2001 From: Arend-Jan van Hilten Date: Thu, 11 Dec 2025 10:47:36 +0100 Subject: [PATCH 2/2] Fix vscode install for now by disabling preload remote server --- install_vscode.sh | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/install_vscode.sh b/install_vscode.sh index ac1a0a4..d527293 100755 --- a/install_vscode.sh +++ b/install_vscode.sh @@ -4,16 +4,20 @@ MIRTE_SRC_DIR=${MIRTE_SRC_DIR:-/usr/local/src/mirte} # VScode in 2 parts: # - vscode remote server, when using the ssh plugin from another computer +# preloading as the robot (and computer) might not have internet access later # - 'vscode' website # First part: -cd $MIRTE_SRC_DIR || exit -mkdir vscode -cd vscode || exit -wget https://gist.githubusercontent.com/b01/0a16b6645ab7921b0910603dfb85e4fb/raw/ea48d972a176b90b3956de59eb7a43da9be86ec5/download-vs-code-server.sh -chmod +x download-vs-code-server.sh -sudo -u mirte $MIRTE_SRC_DIR/vscode/download-vs-code-server.sh - +# Broken for now, also the newer version from his repo: https://github.com/b01/dl-vscode-server +if false; then + cd $MIRTE_SRC_DIR || exit + mkdir vscode + cd vscode || exit + wget https://raw.githubusercontent.com/b01/dl-vscode-server/main/download-vs-code-server.sh + # wget https://gist.githubusercontent.com/b01/0a16b6645ab7921b0910603dfb85e4fb/raw/ea48d972a176b90b3956de59eb7a43da9be86ec5/download-vs-code-server.sh + chmod +x download-vs-code-server.sh + sudo -u mirte $MIRTE_SRC_DIR/vscode/download-vs-code-server.sh "linux" +fi # Second part: cd $MIRTE_SRC_DIR/vscode || exit sudo -u mirte bash -c "curl -fsSL https://code-server.dev/install.sh | sh"