<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Om Shah</title>
    <description>The latest articles on DEV Community by Om Shah (@maiommhoon).</description>
    <link>https://dev.to/maiommhoon</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F951460%2F557bf00c-a74b-4c95-8654-cb5a72c9bc49.jpeg</url>
      <title>DEV Community: Om Shah</title>
      <link>https://dev.to/maiommhoon</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/maiommhoon"/>
    <language>en</language>
    <item>
      <title>FeedForward and FeedBack Control</title>
      <dc:creator>Om Shah</dc:creator>
      <pubDate>Mon, 10 Jun 2024 05:37:06 +0000</pubDate>
      <link>https://dev.to/maiommhoon/feedforward-and-feedback-control-433i</link>
      <guid>https://dev.to/maiommhoon/feedforward-and-feedback-control-433i</guid>
      <description>&lt;h2&gt;
  
  
  What the F**K is that?
&lt;/h2&gt;

&lt;p&gt;Well kiddo chill out! I'll teach you something cool!&lt;/p&gt;

&lt;h2&gt;
  
  
  Intro
&lt;/h2&gt;

&lt;p&gt;These are the concept of Control theory which are used in robot or making autonomous cars/anything.&lt;br&gt;
I learned this while making robots for my team to compete in the world's biggest Robotics competition called Vex Robotics.&lt;/p&gt;

&lt;p&gt;Let's take an example, let's say your have a Remote control car. Well how will that car move? By giving inputs, in this case with the help of remote. You pushed both joystick forward, the car will gain speed and move straight.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F52kmrojdb0ouqppat5gq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F52kmrojdb0ouqppat5gq.png" alt="Example Image" width="800" height="285"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Assume you don't have that cheap cars but a cool car that can move by itself. Here, there is an reference that says the bot what to do.&lt;br&gt;
But we are in a real world and not in your dreams so things are not perfect here! We get some disturbances while we drive or while it drives itself.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fys9tz4nl7piobepvh9p1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fys9tz4nl7piobepvh9p1.png" alt="FeedForward Control" width="800" height="301"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  FeedForward Control
&lt;/h2&gt;

&lt;p&gt;This is called FeedForward Control. The google definition is: A feed forward (sometimes written feedforward) is an element or pathway within a control system that passes a controlling signal from a source in its external environment to a load elsewhere in its external environment. &lt;br&gt;
I know you didn't get that definition here you go:&lt;br&gt;
FeedForward control passes a defined input to the system(your remote control car) to do something.&lt;/p&gt;

&lt;p&gt;FeedForward Control is good if it's in your dream world but not in human world. Well, that's not true. It is good for task that doesn't have many disturbance. But your car have disturbances like your stupid brother coming in it's way or the surface it is driving on or maybe the battery which affects the motors. What do we do in that case? We have FeedBack Control which takes the error/noise and sends it back to determine further movements.&lt;/p&gt;

&lt;p&gt;Ok so there is an disturbance. Now what? The disturbance is understood and sent back to the controller to make determine the further movement. We can get deep in this but for now just say FeedBack control will make it loop to solve the error itself.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fe73c1ouxf57q3clqfkf7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fe73c1ouxf57q3clqfkf7.png" alt="FeedBack Control" width="800" height="397"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;That's all for now! Comment any question you have or anything you feel I said something wrong or want to share something related! Happy to learn more!&lt;/p&gt;

</description>
      <category>robotics</category>
      <category>learning</category>
      <category>design</category>
      <category>algorithms</category>
    </item>
    <item>
      <title>API Explained to a 5 year old kid LITERALLY!</title>
      <dc:creator>Om Shah</dc:creator>
      <pubDate>Sun, 12 Nov 2023 05:04:42 +0000</pubDate>
      <link>https://dev.to/maiommhoon/api-explained-to-a-5-year-old-kid-literally-5306</link>
      <guid>https://dev.to/maiommhoon/api-explained-to-a-5-year-old-kid-literally-5306</guid>
      <description>&lt;h2&gt;
  
  
  Disclaimer
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;This is a blog to explain topics in a funny way and I don't intend to hurt anyone's feelings&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;What is an API? Well, it's Application programming interface.&lt;br&gt;
(&lt;em&gt;gasp&lt;/em&gt;) F**k that a huge word! No problem we will calmly ask google.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fw3rpymvv0q63z55vp9bc.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fw3rpymvv0q63z55vp9bc.png" alt="Image description" width="800" height="273"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;So, I searched it and scanned/read many documents and here's what it means...&lt;/p&gt;

&lt;h2&gt;
  
  
  Explained - LITERALLY TO A 5 YEARS OLD KID
&lt;/h2&gt;

&lt;p&gt;OK! So, imagine you are a 5 year old kid! Nice now you are stupid I feel superior!&lt;/p&gt;

&lt;p&gt;So, you have 7 crayons and you want to give it to your friend who is in next room! Now, if you are little bit smart you won't give it one by one going to his room and give it, rather you will put them in a box ( cuz you have small hands and crayons are large ) and give it to him!&lt;/p&gt;

&lt;p&gt;Here, you are the user aka stupid , your friend is the application from where you want to pass the data and box is the API!&lt;/p&gt;

&lt;h2&gt;
  
  
  Explained - Other common EXAMPLE
&lt;/h2&gt;

&lt;p&gt;AGAIN! Imagine you are in a restaurant and you want to order food but you won't go directly to the chef and ask them to make you the food you want, rather you will call the waiter and say him your order which he will take to the chef! SIMPLE!&lt;/p&gt;

&lt;p&gt;Here, You are the Customer aka User, Chef is the Application and API will be the Waiter aka low waged person!&lt;/p&gt;

&lt;h2&gt;
  
  
  REAL LIFE EXAMPLE - UbeR
&lt;/h2&gt;

&lt;p&gt;Let's take a look into a real life example because we are not schools.&lt;/p&gt;

&lt;p&gt;Now, Uber seems one application but Behind the Scenes it is the mixture of many service application like Payment , Order , etc.&lt;br&gt;
[ This Distributing work into smaller parts is called &lt;strong&gt;Microservice Architecture&lt;/strong&gt; but more on that in other blogs ]&lt;/p&gt;

&lt;p&gt;Now, to communicate through their apps they have to pass data through API! &lt;br&gt;
It's like they Talking with each other with API like calls, letter and emails.&lt;/p&gt;

&lt;p&gt;BUT FOR YOU IT IS ONE APPLICATION!&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3v14ypqlexhmbs80az9q.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3v14ypqlexhmbs80az9q.png" alt="Image description" width="800" height="563"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>api</category>
      <category>webdev</category>
      <category>beginners</category>
    </item>
  </channel>
</rss>
