Created
October 16, 2019 03:33
-
-
Save Tiryoh/76be0ac467c09667ca51b5f8d9f4b3bc to your computer and use it in GitHub Desktop.
ROS Melodic installation on Raspberry Pi Zero/Raspberry Pi Zero W
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -eu | |
# (C) 2019 Daisuke Sato | |
# https://tiryoh.mit-license.org/2019 | |
# Special thanks to @nomumu | |
sudo apt update | |
sudo apt install -y build-essential gdebi | |
mkdir -p ~/tmp && pushd ~/tmp | |
wget https://github.com/nomumu/ros4raspbian/releases/download/1.0.0/ros4raspbian-melodic-armhf-1.0.0.zip | |
unzip ros4raspbian-melodic-armhf-1.0.0.zip | |
sudo gdebi ros4raspbian-melodic-armhf-1.0.0.deb | |
popd | |
rosdep update |
Thanks for putting this together!
I tried out the curl command and it did not perform the install (I think because of the "set -eu" flags). I ran the code in the .bash file, line by line in my terminal and that worked perfectly!
Edit: I neglected to mention that when I ran the code line-by-line, I skipped the "set -eu" line and just started with line 8.
Thank you!
This is the most convenient way I have found so far.
Sato-san, many thanks for sharing your solution. This has saved me many days of failed attempts to build it myself.
Did not use curl. Ran the script line-by-line so I could see what was happening.
You are an absolute hero Tiryoh, thanks for this great script ❤️
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This script has tested on Raspbian Buster.
Usage
curl -SsfL https://u.ty0.jp/ros_melodic_install_raspizero | bash
or
Install log
This warning is for
gdebi
.