top of page


Solving Differential Drive Kinematics and Implementing It on a Custom Mobile Robot
If a two-wheel robot can't drive straight, it feels like a shopping cart with a mind of its own. The good news is that differential drive kinematics gives me a clean way to predict, command, and debug that motion with just a few measurements. I only need the wheel radius (r), the wheelbase (L) (distance between wheel contact centers), encoder ticks per revolution, and a loop time (dt). From there, I solve two practical problems: forward kinematics (wheel motion to robot mot
Karan Bhakuni
9 hours ago


RRT* for a DIY 5-DOF Robot Arm: From 2D Path Planning to Real Servo Motion
If you've only seen RRT * in diagrams or simulation, it can feel like a tidy math problem. Then you try it on real hardware, with real servos, and you learn what matters fast: sampling-based planning can create a path, but your robot still needs a full pipeline to move safely and smoothly. This post walks through a hands-on test of RRT* (Rapidly-exploring Random Tree Star) on a DIY 5-degree-of-freedom robot manipulator. It starts with a simple 2D "toy" example so you can see
Karan Bhakuni
9 hours ago


Robot Jacobians Explained With Real Examples in ROS 2
Motion using Jacobians Have you ever tuned a controller in ROS 2 and thought, "Why is my end effector off by a few cm?" Or maybe your Cartesian jog feels smooth in RViz, but the real robot twitches. In many cases, the missing piece is the robot Jacobian . The Jacobian is the math that connects joint motion to tool motion. It sits under velocity control, inverse kinematics (IK), and even force or compliance control. If you can predict how joint speeds change the tool's motion,
Karan Bhakuni
11 hours ago


How to set up KDL (Kinematics and Dynamics Library) for Solving Kinematics of Serial Chain Manipulators in C++ with ROS2
Introduction Pre -Requisites for KDL Step-By-Step process for solving kinematics using KDL KDL Solvers with ROS2 in Rviz and Gazebo...
Karan Bhakuni
Oct 2, 2025


Cartesian Space Trapezoidal Planning for 6-DOF Robots: Smooth Motion Control with Position & Orientation Synchronization
1 Introduction When planning robot motion, we have two main approaches: joint space planning and Cartesian space planning. If you've ever...
Karan Bhakuni
Mar 6, 2025


Mastering Inverse Kinematics for 6-DOF Robots
Imagine you're a robot arm, tasked with picking up a cup of coffee. You know exactly where the cup is, but how do you figure out which...
Karan Bhakuni
Mar 4, 2025


Mastering Forward Kinematics for 6-DOF Robots: A Complete Guide
Ever wondered how a robotic arm knows exactly where its hand (or claw, or gripper) is at any given moment? Enter the world of Forward...
Karan Bhakuni
Jan 12, 2025


How to Calculate DH Parameters for Robotic Arms: A Beginner's Guide
Understanding DH Parameters: A Simple Hack for a Complex Problem We know that in the world of robotics, each link of a robot has 6...
Karan Bhakuni
Jan 11, 2025


Version controlling in Git
Introduction Difference between clone, fetch and pull Getting on the same head of the file Merge Conflicts Life Cycle of a file...
Karan Bhakuni
Dec 23, 2024


Git Basics
Introduction Setup & Initialization Branching & Merging Collaborating with Remote Repo sitory Stashing & Resetting Debugging & Log s...
Karan Bhakuni
Dec 18, 2024


Make your own Joint Trajectory Controller - Trapezoidal Planner in ROS2
Introduction Types of Trajectory Planning Trajectory Planning with Trapezoidal Velocity Profile in Joint Space Mathematical...
Karan Bhakuni
Dec 8, 2024


Building an Autonomous Control Node for TurtleBot3: A ROS 2 Guide
Introduction Overview: Setting Up Your Control Node Key Concepts and Mathematics Building the Control Node in ROS 2 Challenges in Mobile...
Karan Bhakuni
Dec 8, 2024


Understanding URDF for 6-Axis Robotic Manipulators
Introduction General URDF Structure al URDF Structure URDF for 6-Axis Robotic Manipulator Explanation of Key Tags in URDF Learning...
Karan Bhakuni
Sep 29, 2024
bottom of page
