What happened? It was time to move again! In one of my earlier posts, I have mentioned my move from Blogger to GH-Pages and for that I decided to go with Zola. It was all fine, but after a few months, I wanted to have few additional features for the theme that I was using. It was such a great and a simple theme and …
Read MoreI had a necessity to generate a PDF document out of a set of jpg images that I had on my local hard drive on my Ubuntu 20.04 Laptop. I came across this simple step on how to do it. Here it is documented: Install img2pdf 1sudo apt-get install -y img2pdf Navigate to the folder that contains your images and run the …
Read MoreRunning Scala from within a shell script
Apr 10, 2021 · 3 min readSometimes you have the need to run a shell script for some basic functions or simple tasks that you want to execute locally on your machine. The goto choice will be to write some shell script (assuming you are on a Linux). Here is a way to do that but use Scala, your favorite language. It is actually quite simple as it …
Read MoreDefinition Simply put, a Bloom filter is a space-efficient probabilistic data structure with which we can determine the probable existence of a certain thing in a certain data set, and we can determine the non-existence of a certain thing in a certain data set with utmost accuracy. Doing all this in a memory space …
Read MoreIf you have forked a repository in GitHub that you want to work on, you do so, make your changes locally and once you are confident that everything works, you issue a pull request to the upstream so that your changes can be reviewed and merged. Here is a small snippet that I use to keep my fork up-to-date with the …
Read MoreI have been documenting so far with Blogger. Recently I started to do some Robotics projects with ROS. As I was doing it, I was looking for ways to get all what I do be documented. I know Github offers GH Pages, but I was a bit reluctant to try it out. So for the Navo project, I decided that GH Pages will be the source …
Read MoreBasically a distributed system is one in which the components or processes or nodes that comprise a system is distributed across nodes or sometimes even across geographies. But these systems need to communicate with each other to accomplish something meaningful. The most efficient, scalable and proven way of making …
Read MoreArduino with L298N
Dec 18, 2020 · 2 min readArduino with L298N Let us see how we could integrate Arduino with the L298N which is our motor controller. Now, it you are unsure about why we need an L298N H bridge, here is some background information about this! With that being said, our sketch looks like this: 1/* 2* DC Motor Encoder Test Sketch 3* by Joesan …
Read MoreDC Motor Speed Control with ROS We saw from the previous tutorial on how to measure the RPM of a DC Motor fitted with an encoder. In this tutorial, let us see how we could do a basic speed control using commands from a ROS node. Combined with what we learnt on how to use PID speed control algorithm let us put this all …
Read MoreIn this section, let us explore and understand this 17th century idea on how we could effectively do a speed control for the DC Motor, the PID Controller mechanism PID Control We will try to debunk a PID controller from a functional perspective and later on converge on the P, I and the D. The block diagram below shows …
Read More