Install Singularity
Select the singularity install file corresponding to the Ubuntu distribution you are using (either 16.04 or 18.04)
-
Singularity for Ubuntu 16.04
-
Singularity for Ubuntu 18.04
For Ubuntu 19.04 or newer, singularity can be installed directly from the repositories:
$ sudo apt-get install singularity-container
Disclaimer: Using singularity install files for 19.04 or newer is not recommended as the course instructors have not sufficiently tested this. So, any support on this will be minimal.
You can't install all of them!
Download the course singularity image from this link: hrwros-09.simg (note: this file is approximately 1.1 GB, so the download may take a while).
Now verify that the Singularity image downloaded successfully by following these steps.
In a regular terminal (ctrl+alt+t), run:
$ md5sum $HOME/Downloads/hrwros-09.simg
If the image is ok, you should see the following output:
cbb042949c0a3b797804ad9606dbaac8 $HOME/Downloads/hrwros-09.simg
If you see a different code, downloading the image file was most likely not successful. Please try downloading the image file again using the link in the Download the Singularity image section above.
If you receive an error message, follow these steps:
Is the file located in your $HOME/Downloads directory? No? Please move the file to $HOME/Downloads.
Is the filename exactly hrwros-09.simg? No? Please rename the file to hrwros-09.simg.
Finally: retry validating the image download.
Download the course starter installation script
You will also need a course starter installation file, that will create some necessary infrastructure inside your Ubuntu install.
install-hrwros-starter.sh (~1.4 kB)
startup a new terminal with Ctrl+Alt+T and run the command:
$ bash $HOME/Downloads/install-hrwros-starter.sh
Installing new software inside the Course Command Shell (CCS)
This image is read-only! So, if you try to implement solutions after googling your problems with 'sudo apt-get install ...', inside the Course Command Shell, it will not work. All necessary installs for this course have already been considered. So, you will never have to run 'sudo apt-get install ...' yourself, except for when you install Singularity.
Run the following commands in the CCS terminal:
source /opt/ros/melodic/setup.bash
cd $HOME/hrwros_ws
catkin build
source $HOME/hrwros_ws/devel/setup.bash
Topics covered:
- Nodes
- Topics
- Publisher
- Subscriber
- Services
- Actions
- & Launch Files.
To get started...
-
Option 1
- ๐ด Fork this repo!
-
Option 2
- ๐ฏ Clone this repo to your local machine using
https://github.com/JoanPedro/ROS-Ambient-Setup.git
- ๐ฏ Clone this repo to your local machine using
- HACK AWAY! ๐จ๐จ๐จ
- ๐ Create a new pull request using
https://github.com/JoanPedro/ROS-Projects/compare
.
- How do I do specifically so and so?
- No problem! Just do this.
Reach out to me at one of the following places!
- Linkedin at
www.linkedin.com/in/joan-pedro