Atlas Robotics

Robotics knowledge

Blog

Technical articles on embedded programming, ROS 2, SLAM, Nav2 and AMR/AGV — written from building real robots.

21 articles · Robotics Fundamentals

Odometry in localization: what is dead reckoning?
LocalizationBasic

Odometry in localization: what is dead reckoning?

The article Differential Drive presented the odometry formula. This article puts it right in the bigger picture: odometry is a specific localization technique, called dead reckoning — and why localization can't stop there.

11 min read
What is an IMU? Measuring acceleration and angular velocity to detect robot rotation and tilt
LocalizationBasic

What is an IMU? Measuring acceleration and angular velocity to detect robot rotation and tilt

The encoder knows how many times the wheel rotates but does not know whether the robot will slip or not. The IMU directly measures the acceleration and angular velocity of the robot body — completely independent of whether the wheel sticks to the floor or not.

11 min read
What is sensor fusion? Combining imperfect sensors into a better estimate
LocalizationIntermediate

What is sensor fusion? Combining imperfect sensors into a better estimate

Odometry is smooth but drifts when the wheel slips. IMU is not afraid of wheel slippage but drifts in a different way. Sensor fusion doesn't choose between the two — it combines the two according to the reliability ratio of each source at each point in time.

11 min read
EKF (Extended Kalman Filter): the algorithm behind sensor fusion
LocalizationAdvanced

EKF (Extended Kalman Filter): the algorithm behind sensor fusion

The Sensor Fusion article talks about 'automatic weighting' but does not say how. EKF answers exactly that question — with a predict-update loop, and a central concept: uncertainty.

11 min read
What is AMCL? Localization on an existing map with a particle filter
LocalizationIntermediate

What is AMCL? Localization on an existing map with a particle filter

EKF tracks uncertainty with a single Gaussian ellipsoid. AMCL solves the same localization problem in a completely different way: thousands of competing 'location hypotheses', called particle filters.

11 min read
Vectors in robotics: position, velocity and the angle between directions
Math for RoboticsBasic

Vectors in robotics: position, velocity and the angle between directions

Robot position, velocity, direction — almost every quantity in mobile robots is represented by vectors. Mastering some basic vector operations is a mandatory foundation before learning kinematics.

10 min read
Matrices in robotics: transforming many points at once
Math for RoboticsBasic

Matrices in robotics: transforming many points at once

Rotate the entire LiDAR point cloud in a new robot direction, or transfer thousands of map points from one coordinate system to another — matrix is ​​the tool to do it with exactly one multiplication.

10 min read
Robot coordinate systems: why one robot needs multiple frames
Math for RoboticsBasic

Robot coordinate systems: why one robot needs multiple frames

The coordinates (2, 3) have no meaning if you don't know where you are measuring against. A practical robot needs at least 3-4 different coordinate systems, each answering a separate question.

10 min read
Rotations and Euler angles: orienting a robot in 3D space
Math for RoboticsIntermediate

Rotations and Euler angles: orienting a robot in 3D space

2D robots only need a single heading angle — but robots with IMUs, manipulators, or drones need to represent direction in 3D space, and the most common representation (Euler angles) contains a classic trap: gimbal lock.

10 min read
What is a quaternion? Representing orientation without gimbal lock
Math for RoboticsAdvanced

What is a quaternion? Representing orientation without gimbal lock

All Odometry/PoseStamped messages in ROS2 store orientation as quaternions (x, y, z, w) rather than the familiar Euler angle — for the exact reason stated in the Rotation article: avoiding gimbal lock.

10 min read
Transforms: combining rotation and translation in one transformation
Math for RoboticsIntermediate

Transforms: combining rotation and translation in one transformation

The promised Matrix article: pure rotation matrix cannot move points. Homogeneous transform is the standard mathematical way to combine both rotation and translation into a single matrix multiplication.

10 min read
PID in a robot system: multiple nested loops rather than one loop
Robot ControlIntermediate

PID in a robot system: multiple nested loops rather than one loop

The article PID in embedded programming explained P/I/D and how to tune a loop. This article takes a broader look: a real robot doesn't just have one PID — but many nested PID rings, each running at a different stage and frequency.

11 min read
Blog — Atlas Robotics