<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Mathematics on Mulham Fetna</title>
    <link>https://mulhamfetna.com/tags/mathematics/</link>
    <description>Recent content in Mathematics on Mulham Fetna</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <managingEditor>contact@mulhamfetna.com (Mulham Fetna)</managingEditor>
    <webMaster>contact@mulhamfetna.com (Mulham Fetna)</webMaster>
    <copyright>© 2026 Mulham Fetna</copyright>
    <lastBuildDate>Tue, 08 Sep 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://mulhamfetna.com/tags/mathematics/index.xml" rel="self" type="application/rss+xml" />
    
    <item>
      <title>From camera coordinates to mechanical radians</title>
      <link>https://mulhamfetna.com/projects/ros2-mediapipe-robotic-hand-digital-twin-vision-teleoperation/kinematics/</link>
      <pubDate>Tue, 08 Sep 2026 00:00:00 +0000</pubDate>
      <author>contact@mulhamfetna.com (Mulham Fetna)</author>
      <guid>https://mulhamfetna.com/projects/ros2-mediapipe-robotic-hand-digital-twin-vision-teleoperation/kinematics/</guid>
      <description>&lt;div class=&#34;lead text-neutral-500 dark:text-neutral-400 !mb-9 text-xl&#34;&gt;&#xA;  Twenty-one points in a camera&amp;rsquo;s coordinate system on one side. A CAD assembly with hard mechanical&#xA;stops on the other. This is the arithmetic that makes them agree — and the one row where it&#xA;currently does not.&#xA;&lt;/div&gt;&#xA;&#xA;&lt;p&gt;The vision layer gives you 21 points floating in a normalized coordinate space that has no physical&#xA;units and a faked depth axis. The mechanical layer gives you fifteen revolute joints, each with a&#xA;lower and upper bound in radians that came out of a CAD mate.&lt;/p&gt;&#xA;&lt;p&gt;Nothing connects them. Building that connection is the actual work of this project, and it happens&#xA;in about forty lines of Python.&lt;/p&gt;&#xA;&lt;pre class=&#34;not-prose mermaid&#34;&gt;&#xA;flowchart LR&#xA;    A[&#34;21 landmarks&lt;br&gt;(x, y, z) normalized&#34;] --&gt; B[&#34;Triplet selection&lt;br&gt;15 × (p₁, p₂, p₃)&#34;]&#xA;    B --&gt; C[&#34;Two vectors per joint&lt;br&gt;v₁ = p₁ − p₂ · v₂ = p₃ − p₂&#34;]&#xA;    C --&gt; D[&#34;Dot product → arccos&lt;br&gt;θ in radians&#34;]&#xA;    D --&gt; E[&#34;Normalize&lt;br&gt;flexion ∈ [0, 1]&#34;]&#xA;    E --&gt; F[&#34;Lerp onto URDF limits&lt;br&gt;θ_urdf&#34;]&#xA;    F --&gt; G[&#34;JointState&lt;br&gt;names + positions&#34;]&#xA;&lt;/pre&gt;&#xA;&#xA;&#xA;&lt;h2 class=&#34;relative group&#34;&gt;Step 1 — pick three points&#xA;    &lt;div id=&#34;step-1--pick-three-points&#34; class=&#34;anchor&#34;&gt;&lt;/div&gt;&#xA;    &#xA;    &lt;span&#xA;        class=&#34;absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none&#34;&gt;&#xA;        &lt;a class=&#34;text-primary-300 dark:text-neutral-700 !no-underline&#34; href=&#34;#step-1--pick-three-points&#34; aria-label=&#34;Anchor&#34;&gt;#&lt;/a&gt;&#xA;    &lt;/span&gt;&#xA;    &#xA;&lt;/h2&gt;&#xA;&lt;p&gt;To measure a joint you need the joint itself and the two bones meeting at it. In landmark terms:&#xA;the vertex, plus its two neighbours.&lt;/p&gt;</description>
      <media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://mulhamfetna.com/projects/ros2-mediapipe-robotic-hand-digital-twin-vision-teleoperation/kinematics/featured.png" />
    </item>
    
  </channel>
</rss>
