ROS Create Custom Action

In this tutorial you’ll learn how to create a custom ROS action, and import it in your code (Python and Cpp). Using ROS actions is quite handy when you need an asynchronous client/server mechanism. You can of course use some of the existing Action definitions, but oftentimes you’ll need some sort of customization. Setup the … Read more

Arduino Store int into EEPROM

In this tutorial I’m going to show you how to store an Arduino int data type into your EEPROM memory. If you don’t know how to store and read a byte into EEPROM on Arduino, please check out this Arduino EEPROM tutorial first. This tutorial applies to all Arduino boards that have EEPROM Memory, like … Read more

Arduino Standard Firmata Tutorial

This tutorial is an introduction to Arduino Firmata, with a focus on Standard Firmata. First I’ll explain to you when and why to use Firmata for Arduino. After that, you’ll see how to quickly setup Standard Firmata on your Arduino. And then you’ll create a client on your computer to actually communicate and give commands … Read more

Raspberry Pi GPIO Interrupts Tutorial

In this tutorial I’ll teach you how to use GPIO interrupts on your Raspberry Pi, thanks to the RPi.GPIO library. You’ll see: Why and when you need interrupts. How to use interrupts in your programs. 3 working examples to practice on different situations. This tutorial works on Raspberry Pi 4 (and earlier, 3B, 3B+), with … Read more

ROS Topic Remap [Example]

In this tutorial I’ll show you how to remap a ROS topic. Remapping a topic means that you’ll change the topic name at run-time. If a node publishes on “topic1”, then you can make it publish on “topic2” instead, without having to change the code of the node. First things first, let’s understand why. Why … Read more