<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>All Articles on Santiago Hurtado | Principal Systems Architect</title><link>/articles/</link><description>Recent content in All Articles on Santiago Hurtado | Principal Systems Architect</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Fri, 12 Jun 2026 00:00:00 +0000</lastBuildDate><atom:link href="/articles/index.xml" rel="self" type="application/rss+xml"/><item><title>Zephyr RTOS: Introduction and Ecosystem Overview (v4.4.0)</title><link>/posts/zephyr-intro-v4/</link><pubDate>Fri, 12 Jun 2026 00:00:00 +0000</pubDate><guid>/posts/zephyr-intro-v4/</guid><description>&lt;blockquote&gt;
&lt;p&gt;[!NOTE]
This post is an updated version of the original &lt;a href="https://advt3.com/posts/zephyr-intro/" target="_blank" rel="noreferrer"&gt;Zephyr RTOS: Introduction and Ecosystem Overview&lt;/a&gt; updated for Zephyr v4.4.0.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Connected devices—like smart sensors and asset trackers—need &lt;a href="https://advt3.com/posts/real_time_os_introduction/" target="_blank" rel="noreferrer"&gt;precise timing without a heavyweight software stack&lt;/a&gt;. Zephyr&lt;sup id="fnref:1"&gt;&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref"&gt;1&lt;/a&gt;&lt;/sup&gt; is an open-source operating system built to meet that need, and it&amp;rsquo;s already running in everyday devices like smartwatches, health trackers, and industrial gateways&lt;sup id="fnref:2"&gt;&lt;a href="#fn:2" class="footnote-ref" role="doc-noteref"&gt;2&lt;/a&gt;&lt;/sup&gt;. This post covers what&amp;rsquo;s new in v4.4.0, how Zephyr&amp;rsquo;s ecosystem fits together, and where it stands against alternatives like FreeRTOS and VxWorks.&lt;/p&gt;</description></item><item><title>Developing a Zephyr Freestanding C++ Application v4</title><link>/posts/zephyr-freestanding-cpp-rpi-pico-v4/</link><pubDate>Wed, 10 Jun 2026 00:00:00 +0000</pubDate><guid>/posts/zephyr-freestanding-cpp-rpi-pico-v4/</guid><description>&lt;blockquote&gt;
&lt;p&gt;[!NOTE]
This post is an updated version of the original &lt;a href="https://advt3.com/posts/zephyr-freestanding-cpp-rpi-pico/" target="_blank" rel="noreferrer"&gt;Developing a Zephyr Freestanding C++ Application&lt;/a&gt; targeting Zephyr v4.4.0 and the Raspberry Pi Pico W.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;The freestanding pattern keeps your app in its own Git repository, separate from the Zephyr source tree. This simplifies version control and avoids coupling your codebase with the OS internals &lt;sup id="fnref:1"&gt;&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref"&gt;1&lt;/a&gt;&lt;/sup&gt;.&lt;/p&gt;
&lt;p&gt;This guide walks you through setting up a C++20-ready freestanding Zephyr project for the Raspberry Pi Pico W using the latest Zephyr v4.4.0. We will configure an isolated workspace, install the SDK, and build your application independently.&lt;/p&gt;</description></item><item><title>Developing a Zephyr Freestanding C++ Application</title><link>/posts/zephyr-freestanding-cpp-rpi-pico/</link><pubDate>Tue, 13 May 2025 00:00:00 +0000</pubDate><guid>/posts/zephyr-freestanding-cpp-rpi-pico/</guid><description>&lt;p&gt;Embedded systems development is constrained by limited resources, strict timing requirements, and close coupling with
hardware. Real-time operating systems (RTOS) address these challenges through deterministic task scheduling and
predictable interrupt handling. They ensure systems respond within defined time bounds even under load, shifting the
focus from raw throughput to timing guarantees and reliability.&lt;/p&gt;
&lt;p&gt;In the first post &lt;sup id="fnref:1"&gt;&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref"&gt;1&lt;/a&gt;&lt;/sup&gt; we examined how real-time kernels such as Zephyr offer reusable APIs and robust middleware for
safe, maintainable designs. The follow-up post &lt;sup id="fnref:2"&gt;&lt;a href="#fn:2" class="footnote-ref" role="doc-noteref"&gt;2&lt;/a&gt;&lt;/sup&gt; showed why Zephyr is a modern choice for MCU-based projects.&lt;/p&gt;</description></item><item><title>Zephyr RTOS: Introduction and Ecosystem Overview</title><link>/posts/zephyr-intro/</link><pubDate>Wed, 07 May 2025 00:00:00 +0000</pubDate><guid>/posts/zephyr-intro/</guid><description>&lt;p&gt;Real‑time operating systems are increasingly important in IoT and embedded development. They offer the timing guarantees
and responsiveness needed for reliable operation. Many modern projects benefit from this approach, as outlined
in &lt;a href="https://advt3.com/posts/real_time_os_introduction/" target="_blank" rel="noreferrer"&gt;RTOS: Comfort vs Safety&lt;/a&gt;. The fundamentals of what an RTOS is
and why it matters for developers are explained in more detail
in &lt;a href="https://advt3.com/posts/rtos-development/" target="_blank" rel="noreferrer"&gt;How an RTOS Simplifies Embedded Development&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Backed by the Linux Foundation, Zephyr targets embedded systems that demand both efficiency and flexibility. It is
designed to run on a wide range of processor architectures&lt;sup id="fnref:1"&gt;&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref"&gt;1&lt;/a&gt;&lt;/sup&gt;, with a modular structure that allows developers to
include only what they need. Despite its compact footprint, it supports key capabilities such as networking and precise
real‑time behavior&lt;sup id="fnref:2"&gt;&lt;a href="#fn:2" class="footnote-ref" role="doc-noteref"&gt;2&lt;/a&gt;&lt;/sup&gt;. The name “Zephyr a soft west wind” &lt;sup id="fnref:3"&gt;&lt;a href="#fn:3" class="footnote-ref" role="doc-noteref"&gt;3&lt;/a&gt;&lt;/sup&gt; captures its lightweight intent.&lt;/p&gt;</description></item><item><title>How an RTOS Simplifies Embedded Development</title><link>/posts/rtos-development/</link><pubDate>Thu, 01 May 2025 14:48:33 +0200</pubDate><guid>/posts/rtos-development/</guid><description>&lt;p&gt;Systems that must guarantee safety or deliver peak performance rely on tasks finishing within strict, predictable time limits&lt;sup id="fnref:1"&gt;&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref"&gt;1&lt;/a&gt;&lt;/sup&gt;. Missing even a single deadline can cascade into system-wide failures with serious consequences.&lt;/p&gt;
&lt;p&gt;These timing requirements extend far beyond aerospace and manufacturing. Today, robotics, connected vehicles, wearables, and smart infrastructure all depend on coordinated timing, power management, and connectivity. In such environments, a Real-Time Operating System (RTOS) can be a game-changer.&lt;/p&gt;
&lt;p&gt;An RTOS offers more than basic task scheduling. It establishes a uniform runtime environment with deterministic behavior, organized concurrency, and dependable interfaces for interrupts, communications, and power control—building blocks for robust, testable, and maintainable software&lt;sup id="fnref:2"&gt;&lt;a href="#fn:2" class="footnote-ref" role="doc-noteref"&gt;2&lt;/a&gt;&lt;/sup&gt;.&lt;/p&gt;</description></item><item><title>RTOS: Comfort vs Safety</title><link>/posts/real_time_os_introduction/</link><pubDate>Fri, 25 Apr 2025 12:30:44 +0200</pubDate><guid>/posts/real_time_os_introduction/</guid><description>&lt;h2 id="overview" class="relative group"&gt;Overview &lt;span class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100"&gt;&lt;a class="group-hover:text-primary-300 dark:group-hover:text-neutral-700" style="text-decoration-line: none !important;" href="#overview" aria-label="Anchor"&gt;#&lt;/a&gt;&lt;/span&gt;&lt;/h2&gt;&lt;p&gt;Air-quality monitoring is everywhere—from smart-home gadgets to safety-critical industrial gear.&lt;sup id="fnref:1"&gt;&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref"&gt;1&lt;/a&gt;&lt;/sup&gt;&lt;sup id="fnref:2"&gt;&lt;a href="#fn:2" class="footnote-ref" role="doc-noteref"&gt;2&lt;/a&gt;&lt;/sup&gt;.
The sensors may look alike, yet the software behind them serves very different missions.&lt;/p&gt;
&lt;h2 id="two-scenarios-one-question" class="relative group"&gt;Two Scenarios, One Question &lt;span class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100"&gt;&lt;a class="group-hover:text-primary-300 dark:group-hover:text-neutral-700" style="text-decoration-line: none !important;" href="#two-scenarios-one-question" aria-label="Anchor"&gt;#&lt;/a&gt;&lt;/span&gt;&lt;/h2&gt;&lt;p&gt;&lt;strong&gt;Living-room comfort&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;You’re sitting on the sofa in your living room while a smart sensor quietly samples carbon dioxide and volatile organic compounds (VOCs) every few minutes. It logs the data, draws trend lines in your app, and may open a window or start a fan. A brief delay or missed sample hardly matters—indoor air changes slowly.&lt;/p&gt;</description></item><item><title>The Importance of Single Board Computers for the Industrial Edge</title><link>/posts/single-board-computer/</link><pubDate>Sun, 23 Mar 2025 14:46:06 +0100</pubDate><guid>/posts/single-board-computer/</guid><description>&lt;h2 id="introduction-and-overview" class="relative group"&gt;Introduction and Overview &lt;span class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100"&gt;&lt;a class="group-hover:text-primary-300 dark:group-hover:text-neutral-700" style="text-decoration-line: none !important;" href="#introduction-and-overview" aria-label="Anchor"&gt;#&lt;/a&gt;&lt;/span&gt;&lt;/h2&gt;&lt;p&gt;Industrial IoT (IIoT) is reshaping manufacturing by moving intelligence closer to on-site machinery and sensors. This
&lt;em&gt;edge-centric&lt;/em&gt; approach helps address challenges such as high latency, network bandwidth constraints, and &lt;strong&gt;unplanned
downtime&lt;/strong&gt;—which can exceed $260,000 per hour&lt;sup id="fnref:1"&gt;&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref"&gt;1&lt;/a&gt;&lt;/sup&gt;. Single Board Computers (SBCs) have become a key element in modern
Industrial PCs (IPCs) by offering the reliability and performance needed to reduce downtime and potentially improve
ROI&lt;sup id="fnref1:1"&gt;&lt;a href="#fn:1" class="footnote-ref" role="doc-noteref"&gt;1&lt;/a&gt;&lt;/sup&gt;&lt;sup id="fnref:2"&gt;&lt;a href="#fn:2" class="footnote-ref" role="doc-noteref"&gt;2&lt;/a&gt;&lt;/sup&gt;. For further context on the evolution and industrial application of SBCs, overviews are available from
LattePanda&lt;sup id="fnref:3"&gt;&lt;a href="#fn:3" class="footnote-ref" role="doc-noteref"&gt;3&lt;/a&gt;&lt;/sup&gt; and Maxtang&lt;sup id="fnref:4"&gt;&lt;a href="#fn:4" class="footnote-ref" role="doc-noteref"&gt;4&lt;/a&gt;&lt;/sup&gt;.&lt;/p&gt;</description></item><item><title>Developing with Rust and the Raspberry Pi Pico</title><link>/posts/embedded_rust_pico/</link><pubDate>Tue, 07 Nov 2023 20:41:37 +0100</pubDate><guid>/posts/embedded_rust_pico/</guid><description>&lt;p&gt;&lt;strong&gt;&lt;em&gt;Harnessing the Power of Rust for Microcontroller Projects with the Raspberry Pi Pico&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;h2 id="introduction" class="relative group"&gt;Introduction &lt;span class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100"&gt;&lt;a class="group-hover:text-primary-300 dark:group-hover:text-neutral-700" style="text-decoration-line: none !important;" href="#introduction" aria-label="Anchor"&gt;#&lt;/a&gt;&lt;/span&gt;&lt;/h2&gt;&lt;p&gt;The Internet of Things (IoT) and microcontroller development are areas that bring great opportunities for creators,
letting you interact with the physical world in new and imaginative ways. Rust, as a programming language, brings its
own strengths to the table, such as speed and safety, which are essential for turning a good idea into a working IoT
product.&lt;/p&gt;</description></item><item><title>Getting to Know Rust</title><link>/posts/rust_programming_language/</link><pubDate>Sat, 14 Oct 2023 12:24:31 +0200</pubDate><guid>/posts/rust_programming_language/</guid><description>&lt;p&gt;A few years ago, I had reservations about the project&amp;rsquo;s maturity and its future prospects. Today, having earned my first
Rust certificate, I&amp;rsquo;m excited to apply this knowledge to microprocessors and embedded Linux devices. Rust, a relatively
new programming language, has rapidly gained popularity, particularly in system programming, thanks to its vibrant
community.&lt;/p&gt;
&lt;p&gt;Now that Rust has made its way into the Linux Kernel, offers robust support for Yocto Linux, and boasts various HAL
crates for bare-metal embedded development, it&amp;rsquo;s a compelling language to explore and master.&lt;/p&gt;</description></item><item><title>Edge Computing Implementation Challenges</title><link>/posts/edge_computing_challenges/</link><pubDate>Tue, 03 Oct 2023 00:00:00 +0000</pubDate><guid>/posts/edge_computing_challenges/</guid><description>&lt;p&gt;Edge computing is revolutionizing data processing by bringing computation closer to the source of data generation. It
offers benefits like reduced latency and improved real-time processing but comes with significant challenges that
require careful design.&lt;/p&gt;
&lt;p&gt;






 
 
&lt;figure&gt;&lt;img src="/img/justin-luebke-BkkVcWUgwEk-unsplash.jpg" alt="Edge Computing" class="mx-auto my-0 rounded-md" /&gt;
&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Photo by Justin Luebke on Unsplash&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;When considering an edge solution, context is everything. Imagine not just one device, but potentially thousands or even
millions. These devices may operate unsupervised for years without recalls. The consequences of a failure, whether it&amp;rsquo;s
just one device or many, can be significant - from downtime measured in hours to days or even months. Factor in
potential issues like power failures, communication loss, or server maintenance, and you&amp;rsquo;ll begin grasping the
complexity of such system.&lt;/p&gt;</description></item><item><title>Implementing a Kafka Producer in C++</title><link>/posts/implement_kafka_cpp_producer/</link><pubDate>Fri, 22 Sep 2023 17:34:43 +0200</pubDate><guid>/posts/implement_kafka_cpp_producer/</guid><description>&lt;p&gt;Apache Kafka, a distributed streaming platform, is a valuable tool for handling data streams. In this guide, we&amp;rsquo;ll walk
through the steps to implement a Kafka producer in C++. This will enable you to efficiently send data to a Kafka topic
and integrate it into your data processing pipelines.&lt;/p&gt;
&lt;p&gt;






 
 
&lt;figure&gt;&lt;img src="/img/river-6068374_640.jpg" alt="blocks" class="mx-auto my-0 rounded-md" /&gt;
&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Image by Benjamin Zocholl from Pixabay&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;To illustrate the process, the project &lt;a href="https://gitlab.com/advt3/kafka-producer/-/tree/v0.0.1" target="_blank" rel="noreferrer"&gt;kafka-producer&lt;/a&gt; contains the source
code.&lt;/p&gt;
&lt;h2 id="setting-up-your-development-environment" class="relative group"&gt;Setting Up Your Development Environment &lt;span class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100"&gt;&lt;a class="group-hover:text-primary-300 dark:group-hover:text-neutral-700" style="text-decoration-line: none !important;" href="#setting-up-your-development-environment" aria-label="Anchor"&gt;#&lt;/a&gt;&lt;/span&gt;&lt;/h2&gt;&lt;p&gt;Before you start coding, ensure you have the necessary tools and libraries installed, including a C++ compiler and the
librdkafka C/C++ library, which is a popular choice for Kafka integration in C++. You can install it via package
managers or compile it from source. We will also use CMake, GTest, and GMock installed on an Ubuntu 22.04 LTS System to
provide a rock-solid foundation for further development of your Producer.&lt;/p&gt;</description></item><item><title>Introduction to Apache Kafka</title><link>/posts/kafka_stream_processing_introduction/</link><pubDate>Wed, 23 Aug 2023 18:30:17 +0200</pubDate><guid>/posts/kafka_stream_processing_introduction/</guid><description>&lt;p&gt;Numerous companies aim to understand human behavior and its context by collecting and analyzing real or near real-time
events. Apache Kafka is the predominant solution for this purpose, preferred by a vast number of businesses, including &amp;quot;
over 80% of the Fortune 100&amp;quot; &lt;a href="https://kafka.apache.org" target="_blank" rel="noreferrer"&gt;[1]&lt;/a&gt;. Initially developed by LinkedIn to understand human
interests and facilitate prompt responses, Kafka was made open-source in 2011.&lt;/p&gt;
&lt;p&gt;






 
 
&lt;figure&gt;&lt;img src="/img/river-6068374_640.jpg" alt="blocks" class="mx-auto my-0 rounded-md" /&gt;
&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Image by Benjamin Zocholl from Pixabay&lt;/em&gt;&lt;/p&gt;</description></item><item><title>MQTT Client using Paho cpp</title><link>/posts/mqtt_cpp_client/</link><pubDate>Sun, 08 Jan 2023 10:42:38 +0100</pubDate><guid>/posts/mqtt_cpp_client/</guid><description>&lt;p&gt;With the IoT revolution, software has become a key component. Developing software products that are: lightweight,
efficient,
and scalable requires the proper tools such as MQTT and C++.&lt;/p&gt;
&lt;p&gt;This post describes how to install libraries, configure the CMake and build a simple C++ client that can post a literal
text message to a cloud MQTT broker.&lt;/p&gt;
&lt;h2 id="why" class="relative group"&gt;Why? &lt;span class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100"&gt;&lt;a class="group-hover:text-primary-300 dark:group-hover:text-neutral-700" style="text-decoration-line: none !important;" href="#why" aria-label="Anchor"&gt;#&lt;/a&gt;&lt;/span&gt;&lt;/h2&gt;&lt;p&gt;So what is MQTT, and why choose C++?&lt;/p&gt;</description></item><item><title>The Advent of Edge Computing</title><link>/posts/advent_edge_computing/</link><pubDate>Sat, 03 Dec 2022 16:58:44 +0100</pubDate><guid>/posts/advent_edge_computing/</guid><description>&lt;p&gt;In today&amp;rsquo;s world, even coffee machines send data online. However, this isn&amp;rsquo;t a new concept. The Internet of Things (IoT)
has been around since 1999 when Procter &amp;amp; Gamble proposed RFID devices to track products. By 2011, we saw the emergence
of applications like Google Nest smart
thermostats &lt;a href="https://www.sciencedirect.com/science/article/abs/pii/S0164121217300018" target="_blank" rel="noreferrer"&gt;[1]&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;






 
 
&lt;figure&gt;&lt;img src="/img/edge.jpg" alt="Edge Computing" class="mx-auto my-0 rounded-md" /&gt;
&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Photo by Leio McLaren from Unsplash&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Fast-forward to 2022, and we now have a multitude of solutions that send data to the cloud. These solutions span across
homes, vehicles, and industries:&lt;/p&gt;</description></item><item><title>Linux Cross Development</title><link>/posts/cross_compilation/</link><pubDate>Tue, 22 Feb 2022 00:00:00 +0000</pubDate><guid>/posts/cross_compilation/</guid><description>&lt;h2 id="introduction" class="relative group"&gt;Introduction &lt;span class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100"&gt;&lt;a class="group-hover:text-primary-300 dark:group-hover:text-neutral-700" style="text-decoration-line: none !important;" href="#introduction" aria-label="Anchor"&gt;#&lt;/a&gt;&lt;/span&gt;&lt;/h2&gt;&lt;p&gt;Developing software for embedded devices has many challenges. One of them is to be able to build software for different
platforms than the ones used by the developers. It is necessary to have a clear set of dependencies and reduce the
overhead of optional libraries.&lt;/p&gt;
&lt;p&gt;In this post, I will present briefly how Ubuntu 20.04 can cross-compile a C++ executable or use Docker to have a
container running Arm64 on an Amd64 machine to build a package for Ubuntu 20.04.&lt;/p&gt;</description></item><item><title>Service Robot</title><link>/posts/service-robot/</link><pubDate>Wed, 31 Mar 2021 10:08:21 +0200</pubDate><guid>/posts/service-robot/</guid><description>&lt;p&gt;On this &lt;a href="https://github.com/hurtadosanti/home-service-robot" target="_blank" rel="noreferrer"&gt;project&lt;/a&gt; we simulate a full home service robot capable of
navigating to pick up and deliver virtual objects. The robot we use is the turtlebot provided by ROS. The robot is
capable to localize, map and navigate using a fusion of LIDAR, camera and odometer. We have used the SLAM_gmapping
module and the AMCL adaptive Monte Carlo localization provided by ROS.&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id="localization-and-mapping" class="relative group"&gt;Localization and Mapping &lt;span class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100"&gt;&lt;a class="group-hover:text-primary-300 dark:group-hover:text-neutral-700" style="text-decoration-line: none !important;" href="#localization-and-mapping" aria-label="Anchor"&gt;#&lt;/a&gt;&lt;/span&gt;&lt;/h2&gt;&lt;p&gt;GMapping is a highly efficient Rao-Blackwellized particle filer to learn grid maps from laser range data. Using
SLAM_gmapping, you can create a 2-D occupancy grid map from laser and pose data collected by the robot.&lt;/p&gt;</description></item><item><title>The Robot Operating System (ROS) introduction</title><link>/posts/ros_introduction/</link><pubDate>Sat, 30 Jan 2021 15:11:59 +0100</pubDate><guid>/posts/ros_introduction/</guid><description>&lt;p&gt;The &lt;a href="https://www.ros.org/" target="_blank" rel="noreferrer"&gt;Robot Operating System&lt;/a&gt; or ROS is a framework and an open-source project. It is a project
that is currently being developed and used by many industries around the world. Together, with applications that include
Self-Driving Vehicles &lt;a href="https://www.autoware.auto/" target="_blank" rel="noreferrer"&gt;https://www.autoware.auto/&lt;/a&gt; and other industrial robots.&lt;/p&gt;
&lt;p&gt;






 
 
&lt;figure&gt;&lt;img src="/img/robot.jpg" alt="robot" class="mx-auto my-0 rounded-md" /&gt;
&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Photo
by &lt;a href="https://unsplash.com/@drscythe?utm_source=unsplash&amp;amp;amp;utm_medium=referral&amp;amp;amp;utm_content=creditCopyText" target="_blank" rel="noreferrer"&gt;Dominik Scythe&lt;/a&gt;
on &lt;a href="https://unsplash.com/s/photos/robot?utm_source=unsplash&amp;amp;amp;utm_medium=referral&amp;amp;amp;utm_content=creditCopyText" target="_blank" rel="noreferrer"&gt;Unsplash&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;For me as a software engineer has been interesting to have the ability to design a simple robot and have it moving
around different environments with ease. After having finished
the &lt;a href="https://www.udacity.com/course/self-driving-car-engineer-nanodegree--nd013" target="_blank" rel="noreferrer"&gt;Self-Driving Nanodegree&lt;/a&gt; of Udacity I
continue my path with the Robotics Nanodegree. In very little time, I have created a robot and its world environment and
have the robot &lt;a href="https://github.com/hurtadosanti/go_chase_it" target="_blank" rel="noreferrer"&gt;chase a white ball&lt;/a&gt;. I have also learned different
localization algorithms different than the &lt;a href="https://advt3.com/posts/robot_localization/" target="_blank" rel="noreferrer"&gt;Extended Kalman Filter&lt;/a&gt; I have
developed before. Using the adaptive Monte Carlo localization (ACML) ROS package was much simpler on
the &lt;a href="https://github.com/hurtadosanti/localization" target="_blank" rel="noreferrer"&gt;latest localization project&lt;/a&gt; I have finished letting the robot find
where it is.&lt;/p&gt;</description></item><item><title>PID Controller</title><link>/posts/pid_controller/</link><pubDate>Sun, 06 Dec 2020 10:54:53 +0100</pubDate><guid>/posts/pid_controller/</guid><description>&lt;p&gt;&lt;a href="http://www.udacity.com/drive" target="_blank" rel="noreferrer"&gt;






 
 
&lt;figure&gt;&lt;img src="https://s3.amazonaws.com/udacity-sdc/github/shield-carnd.svg" alt="Udacity - Self-Driving Car NanoDegree" class="mx-auto my-0 rounded-md" /&gt;
&lt;/figure&gt;
&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A proportional–integral–derivative &lt;strong&gt;(PID)&lt;/strong&gt; controller is a commonly used algorithm on control loops. The controller
takes a signal input and calculates the desired actuator output. The PID includes in the feedback loop the present
error (P), past error memory (I), and future (D) to reduce overshooting, and base on these values apply correction. On
this &lt;strong&gt;&lt;a href="https://github.com/hurtadosanti/PIDController" target="_blank" rel="noreferrer"&gt;project&lt;/a&gt;&lt;/strong&gt; we have implemented a PID controller in C++ to
maneuver the vehicle around the simulator track.&lt;/p&gt;</description></item><item><title>Path and Motion Planning for autonomous vehicles</title><link>/posts/path_motion_planning/</link><pubDate>Mon, 30 Nov 2020 18:56:49 +0100</pubDate><guid>/posts/path_motion_planning/</guid><description>&lt;p&gt;&lt;a href="http://www.udacity.com/drive" target="_blank" rel="noreferrer"&gt;






 
 
&lt;figure&gt;&lt;img src="https://s3.amazonaws.com/udacity-sdc/github/shield-carnd.svg" alt="Udacity - Self-Driving Car NanoDegree" class="mx-auto my-0 rounded-md" /&gt;
&lt;/figure&gt;
&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;One of the primary purposes of a self-driving vehicle is to be able to arrive at a target location without human
intervention. To accomplish this task, the vehicle must be able to figure out a route to arrive at the destination
position (Path Planning) and must be able to navigate the obstacles (Motion Planning) to arrive safely at the intended
location. For example, if the car wants to arrive at your home, it should first use the GPS and find the shortest route.
From this time has been calculated it is required to get context information such as lanes and other vehicles to
navigate safely to your house &lt;a href="https://arxiv.org/pdf/1604.07446.pdf" target="_blank" rel="noreferrer"&gt;[1]&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Robot Localization</title><link>/posts/robot_localization/</link><pubDate>Fri, 13 Nov 2020 13:46:48 +0100</pubDate><guid>/posts/robot_localization/</guid><description>&lt;p&gt;Establishing a particular position in the world (Localization) is a problem solved by Global position systems (GPS).
However, GPS accuracy for autonomous vehicles does not provide the right information at the right time. The accuracy and
response time are not sufficiently precise, the distance is given in meters not centimeters of error, as well as
environmental and contextual conditions such as rain, clouds, or nearby buildings increase the
noise&lt;a href="http://www.cs.cmu.edu/~rasc/Download/AMRobots5.pdf" target="_blank" rel="noreferrer"&gt;[1]&lt;/a&gt;. Navigation for mobile robots requires to solve four
challenges: Environmental perception, localization, path planning(cognition), and vehicle or motion
control&lt;a href="http://downloads.hindawi.com/journals/jat/2019/3680181.pdf" target="_blank" rel="noreferrer"&gt;[2]&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Object Tracking</title><link>/posts/object_tracking/</link><pubDate>Sun, 25 Oct 2020 23:34:15 +0100</pubDate><guid>/posts/object_tracking/</guid><description>&lt;p&gt;Object tracking has several applications, not only in the military but also today in autonomous vehicles, for example,
to avoid collisions. Autonomous vehicles use different sensors to understand their context, cameras, radars and/or
lasers. Sensor fusion merges multiple inputs and considers the strengths of each of the them. To help tracking better
the different objects using Kallman
Filters &lt;a href="https://www.mathworks.com/videos/series/understanding-kalman-filters.html" target="_blank" rel="noreferrer"&gt;[1]&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.udacity.com/drive" target="_blank" rel="noreferrer"&gt;






 
 
&lt;figure&gt;&lt;img src="https://s3.amazonaws.com/udacity-sdc/github/shield-carnd.svg" alt="Udacity - Self-Driving Car NanoDegree" class="mx-auto my-0 rounded-md" /&gt;
&lt;/figure&gt;
&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;An algorithm used for sensor fusion is the &lt;strong&gt;Kalman filter&lt;/strong&gt;&lt;a href="https://doi.org/10.1109/ICACCT.2018.8529402" target="_blank" rel="noreferrer"&gt;[2]&lt;/a&gt;, which is
a recursive algorithm that helps solve the problem of tracking moving objects. Each iteration of the algorithm consists
of two steps the update and measurement of the object position and velocity. The benefit is that it minimizes the root
mean square error (RMSE) on each iteration.&lt;/p&gt;</description></item><item><title>Behavioral Cloning</title><link>/posts/behavioral_cloning/</link><pubDate>Sat, 10 Oct 2020 19:09:14 +0200</pubDate><guid>/posts/behavioral_cloning/</guid><description>&lt;p&gt;&lt;a href="http://www.udacity.com/drive" target="_blank" rel="noreferrer"&gt;






 
 
&lt;figure&gt;&lt;img src="https://s3.amazonaws.com/udacity-sdc/github/shield-carnd.svg" alt="Udacity - Self-Driving Car NanoDegree" class="mx-auto my-0 rounded-md" /&gt;
&lt;/figure&gt;
&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;






 
 
&lt;figure&gt;&lt;img src="/img/driving.jpg" alt="driving" class="mx-auto my-0 rounded-md" /&gt;
&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;Behavioral cloning is a method of capturing and replicating human skills in a computer program. In this Udacity project,
we learn to use deep neural networks together with convolutional neural networks. Using the simulator, we gather the
necessary information to train a neural network. Finally, we used the model together with the weights to infer the
steering angle required for
driving &lt;a href="https://github.com/hurtadosanti/BehavioralCloning/blob/master/video.mp4" target="_blank" rel="noreferrer"&gt;autonomously&lt;/a&gt;. The approach was
researched and developed by Nvidia on
the &lt;a href="https://developer.nvidia.com/blog/explaining-deep-learning-self-driving-car/" target="_blank" rel="noreferrer"&gt;PiloNet system&lt;/a&gt; and described on the
Self-Driving Car Nano Degree.&lt;/p&gt;</description></item><item><title>Traffic sign classifier</title><link>/posts/traffic_sign_classifier/</link><pubDate>Sun, 27 Sep 2020 18:07:41 +0200</pubDate><guid>/posts/traffic_sign_classifier/</guid><description>&lt;p&gt;&lt;strong&gt;Building a Traffic Sign Recognition Convolutional Neural Network&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;






 
 
&lt;figure&gt;&lt;img src="/img/traffic-sign-3008267_640.jpg" alt="speed limit" class="mx-auto my-0 rounded-md" /&gt;
&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.udacity.com/drive" target="_blank" rel="noreferrer"&gt;






 
 
&lt;figure&gt;&lt;img src="https://s3.amazonaws.com/udacity-sdc/github/shield-carnd.svg" alt="Udacity - Self-Driving Car NanoDegree" class="mx-auto my-0 rounded-md" /&gt;
&lt;/figure&gt;
&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Nowadays, deep neural network applications can be found everywhere, from chatbots, finance, and shopping. An interesting
field of use is self-driving vehicles, where they are not only used on object recognition but also on vehicle steering.
i.e
&lt;em&gt;&lt;a href="https://developer.nvidia.com/blog/explaining-deep-learning-self-driving-car/" target="_blank" rel="noreferrer"&gt;Explaining How End-to-End Deep Learning Steers a Self-Driving Car&lt;/a&gt;&lt;/em&gt;.
Furthermore, convolutional neural networks help using neural networks on different sets of images, most usually for
object classification. A classical example dates from 1998 &lt;em&gt;Y. LeCun, L. Bottou, Y. Bengio, and P.
Haffner: &lt;a href="http://yann.lecun.com/exdb/publis/pdf/lecun-01a.pdf" target="_blank" rel="noreferrer"&gt;Gradient-Based Learning Applied to Document Recognition&lt;/a&gt;,
Proceedings of the IEEE, 86(11):2278-2324, November 1998.&lt;/em&gt; Where it was demonstrated that training a machine rather
than being explicitly program to do a task, using for instance classical computer vision approaches, was possible.&lt;/p&gt;</description></item><item><title>Advanced Lane Detection</title><link>/posts/advanced_lane_detection/</link><pubDate>Thu, 10 Sep 2020 21:13:38 +0200</pubDate><guid>/posts/advanced_lane_detection/</guid><description>&lt;p&gt;






 
 
&lt;figure&gt;&lt;img src="/img/advanced-lane-detection.jpg" alt="lane detection" class="mx-auto my-0 rounded-md" /&gt;
&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;Self-driving vehicles will make mobility safer and faster. They for example can help increase accessibility to people
that can&amp;rsquo;t drive for different reasons. Though, there are a large number of challenges than need to be tackle before can
be a reality. Several applications have been implemented for Advanced Driver Assistance Systems(ADAS) to improve road
safety on modern vehicles such as &lt;em&gt;Forward Collision Warning&lt;/em&gt;, &lt;em&gt;Parking Assistance&lt;/em&gt;, &lt;em&gt;Lane Centering&lt;/em&gt; among many others.&lt;/p&gt;</description></item><item><title>Finding Lane Lines on the Road</title><link>/posts/findinglanelines/</link><pubDate>Thu, 27 Aug 2020 11:47:02 +0200</pubDate><guid>/posts/findinglanelines/</guid><description>&lt;p&gt;This is the first project for the @udacity Nano degree in self-driving car. The goals of this project is to Make a
pipeline that finds lane lines on the road. The code can be found on my github
repository &lt;a href="https://github.com/hurtadosanti/FindingLaneLines" target="_blank" rel="noreferrer"&gt;https://github.com/hurtadosanti/FindingLaneLines&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.udacity.com/drive" target="_blank" rel="noreferrer"&gt;






 
 
&lt;figure&gt;&lt;img src="https://s3.amazonaws.com/udacity-sdc/github/shield-carnd.svg" alt="Udacity - Self-Driving Car NanoDegree" class="mx-auto my-0 rounded-md" /&gt;
&lt;/figure&gt;
&lt;/a&gt;&lt;/p&gt;
&lt;hr&gt;
&lt;h3 id="description" class="relative group"&gt;Description &lt;span class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100"&gt;&lt;a class="group-hover:text-primary-300 dark:group-hover:text-neutral-700" style="text-decoration-line: none !important;" href="#description" aria-label="Anchor"&gt;#&lt;/a&gt;&lt;/span&gt;&lt;/h3&gt;&lt;p&gt;The pipeline is defined in four(4) steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Read the image or frame&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;






 
 
&lt;figure&gt;&lt;img src="/img/original.png" alt="original" class="mx-auto my-0 rounded-md" /&gt;
&lt;/figure&gt;

&lt;br&gt;&lt;/p&gt;</description></item><item><title>Using Cloud instances for your Cuda loads</title><link>/posts/cloud_gpu/</link><pubDate>Thu, 28 May 2020 10:22:09 +0200</pubDate><guid>/posts/cloud_gpu/</guid><description>&lt;h1 id="introduction" class="relative group"&gt;Introduction &lt;span class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100"&gt;&lt;a class="group-hover:text-primary-300 dark:group-hover:text-neutral-700" style="text-decoration-line: none !important;" href="#introduction" aria-label="Anchor"&gt;#&lt;/a&gt;&lt;/span&gt;&lt;/h1&gt;&lt;p&gt;Writing an algorithm employing Cuda does not require a state of the art GPU. However, to reap the benefits of massively
parallel processing it is required a powerful one. How about using a cloud instance?.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Writen by: Santiago Hurtado&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;






 
 
&lt;figure&gt;&lt;img src="/img/rack.jpg" alt="rack" class="mx-auto my-0 rounded-md" /&gt;
&lt;/figure&gt;
&lt;/p&gt;
&lt;p&gt;Let&amp;rsquo;s do some quick numbers first:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;An &lt;a href="https://www.intel.com/content/dam/support/us/en/documents/processors/APP-for-Intel-Core-Processors.pdf" target="_blank" rel="noreferrer"&gt;Intel i7-9700f&lt;/a&gt;
processor should deliver 384 Gflops
at a price of
about &lt;a href="https://www.amazon.com/Intel-i7-9700-Desktop-Processor-LGA1151/dp/B07S6CRLVD/ref=sr_1_4?dchild=1&amp;amp;keywords=intel&amp;#43;i7-9700f&amp;amp;qid=1590652540&amp;amp;sr=8-4" target="_blank" rel="noreferrer"&gt;400 USD&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Development environment on Ubuntu 20.04 LTS</title><link>/posts/development_environment/</link><pubDate>Mon, 27 Apr 2020 00:30:32 +0100</pubDate><guid>/posts/development_environment/</guid><description>&lt;p&gt;






 
 
&lt;figure&gt;&lt;img src="/img/construction.jpg" alt="Building" class="mx-auto my-0 rounded-md" /&gt;
&lt;/figure&gt;
&lt;/p&gt;
&lt;h2 id="introduction" class="relative group"&gt;Introduction &lt;span class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100"&gt;&lt;a class="group-hover:text-primary-300 dark:group-hover:text-neutral-700" style="text-decoration-line: none !important;" href="#introduction" aria-label="Anchor"&gt;#&lt;/a&gt;&lt;/span&gt;&lt;/h2&gt;&lt;p&gt;Having proper foundations in software usually translates on having a software project easy to extend and faster to
develop. On its core, software engineering provides tools to improve: Business Value, Code Quality, and Process
Predictability (Our primary focus).&lt;/p&gt;
&lt;p&gt;Our goal is to introduce Software Engineering practices, for the usage of Cloud and Edge Computing for video processing.&lt;/p&gt;</description></item><item><title>Building a Crossplatform Cuda application</title><link>/posts/running_cuda_cpp_python/</link><pubDate>Sat, 01 Feb 2020 14:07:00 +0100</pubDate><guid>/posts/running_cuda_cpp_python/</guid><description>&lt;p&gt;Following our &lt;a href="https://advt3.com/posts/development_environment/" target="_blank" rel="noreferrer"&gt;Essential environment setup&lt;/a&gt;, We implement our first
C++ and Cuda &lt;a href="https://github.com/advt3/ParallelProgramming/tree/master/parallel_math/" target="_blank" rel="noreferrer"&gt;application modules&lt;/a&gt;. We describe
on this post the steps needed to build and integrate the Cuda system with C++ and Python using CMake.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Writen by: Santiago Hurtado&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;






 
 
&lt;figure&gt;&lt;img src="/img/highway-2025863_640.jpg" alt="Building" class="mx-auto my-0 rounded-md" /&gt;
&lt;/figure&gt;

The explanations come with working code, so we describe only the key sections. We encourage you to get the code an play
around. If any questions arise please don&amp;rsquo;t hesitate to contact us by dm on &lt;a href="https://twitter.com/wakesanti" target="_blank" rel="noreferrer"&gt;Twitter&lt;/a&gt;.&lt;/p&gt;</description></item></channel></rss>