If you’ve ever tried to control MKS SERVO42D or SERVO57D stepper motor controllers from Python, you know the pain. These controllers transform regular stepper motors into servo-like systems with closed-loop feedback, position control, and CAN communication. They’re affordable and capable, but the lack of a...
I’m convinced that AI tools will soon dominate most engineering workflows, not by replacing engineers, but by becoming the tool we all need to master. Like any tool, you don’t get good at it just by reading about it. You practice! So I set myself...
This webside already has an Advanced QR code Generator, but as the name says, it only generates QR codes. The nice thing about QR codes is that anyone can read them directly from the smartphone camera app (at least modern ones). However, there are other...
Last week, I saw this post on LinkedIn where Carlos Argueta was showing some interesting robotics perception experiments that were running on Google Colab. I mentioned in the comments that I had, in the past, managed to run Gazebo on Google Colab. So, I decided...
I was testing some ideas at home and I needed to create a QR code. I searched online and found a few websites, but they were full of ads and I was not sure what they were doing with my data. So, I went to...
After spending years using weird magic spells to launch a graphical file manager (e.g. nautilus) from the command line without it printing a lot of rubbish, I finally learned that xdg-open just works! Use xdg-open . and you will have your graphical file manager PLUS...
In the last weeks I’ve been reading a lot of papers. Usually I open an online document (e.g. google docs) and write down my notes there while I read a paper. However, I also like to highlight a pdf as I read it, but that...
Today I was trying to implement, using PyTorch, the Focal Loss (paperswithcode, original paper) for my semantic segmentation model. Focal Loss is “just” Cross Entropy Loss with some extra sauce that allows you to adjust (γ) how much weight you give to examples that are...
Today I needed to check some connections in the PCB of my ST-Link V2 clone because I wanted to add the trace support following the nice explanations from here. However, my old brandless digital microscope (you know, they all look the same and come in...
I am always using Google Colab, but in many cases I also need to install something using apt-get. The problem was that sometimes you need to add a new repository, update, install… then your notebook becomes full of text and that eats your memory (locally...