This is the second story of the 3-part series: ROS on Raspberry PI. I have divided the topic in 3 parts as below:

PI Camera:

Create new file: /etc/udev/rules.d/99-camera.rules on the host raspberry pi and paste below line in it:

Make sure that your host rpi has picamera installed as per the picamera instructions. All the picamera and raspistill dependencies are in /opt/vc folder on your host rpi. We can use -v /opt/vc:/opt/vc command to mount/share this folder on the docker container. We would also need to…


This is the third story of the 3-part series: ROS on Raspberry PI. I have divided the topic in 3 parts as below:

Dockerfile:

Create a dockerfile using ROS image as base image.

The docker container get the hostname during boot time and it can not be changed later. Use -h option to provide the hostname. If you are planning to connect to the docker container from outside (e.g. remote ROS node) then one of the workaround is to use same hostname as host.


Download and install Raspberry PI Imager for your appropriate for your operating system. Select Raspberry Pi OS Lite (32-bit) Operating System, select your SD card and click on Write.

Once write is complete the Imager will eject your card automatically. Remove and insert your card again. You will notice that the SD card is now mounted as ‘boot’ (on macOs /Volumes/boot). Before we install the card on RPI we need to perform few steps.

Enable SSH:

Enable SSH by creating a empty file called ssh on the sd card.

Connect to wifi (optional):

This setup might be slightly different for different PI’s…


This is the first story of the 3-part series: ROS on Raspberry PI. I have divided the topic in 3 parts as below:

SSH to RPI and Install docker. For this tutorial I used latest RPI4 with 8GB ram.

If you get an error (E: Sub-process /usr/bin/dpkg returned an error code (1)) while running the above command then use below command…


<span>Photo by <a href=”https://unsplash.com/@harrisonbroadbent?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=c
<span>Photo by <a href=”https://unsplash.com/@harrisonbroadbent?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=c
Photo by Harrison Broadbent on Unsplash

Jupyter notebooks and jupyter labs are preferred workbenches for many data science projects. For IoT projects, it’s always not possible to connect to the Raspberry PI desktop to access the notebooks. We can access Raspberry PI via console using SSH but for some applications especially for the Computer Vision, we still need some graphical user interface.
In this article, I wish to share some of the techniques I found to run the Jupyterlab on a raspberry PI and access it from a remote machine.

Install Jupyter Lab

Connect to your Raspberry PI using SSH. Install all the dependencies. …

Rishi

Data Science, IoT

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store