Robotics knowledge
Blog
Technical articles on embedded programming, ROS 2, SLAM, Nav2 and AMR/AGV — written from building real robots.
18 articles · Sensor & Perception
USB cameras in robots: what UVC is and why it is easy to use
UVC standard USB cameras are the simplest option to add vision to a — robot that plugs into Linux is instantly recognizable, without the need to install separate drivers.
What is V4L2? The camera control layer beneath ROS2
V4L2 (Video4Linux2) is the Linux kernel API used to control the — camera resolution, frame per second, and — image format that all ROS2 camera packages rely on.
OpenCV basics: processing camera images before feeding them to AI
OpenCV is the platform image processing library that nearly every robotic vision application uses — ranging from frame reading, color switching, to preprocessing before inclusion in AI modeling.
image_transport in ROS2: sending images efficiently between nodes
Publishing raw images via the usual ROS2 topic can jam the bandwidth — image_transport package solved by supporting transparent image compression with users.
Camera calibration: why images need to be corrected
Camera lenses always slightly distort the image — camera calibration finds these distortion parameters to "short" the image back, which is required for all visual distance/size measurements.
What is YOLO? A widely used object detection model for robots
YOLO (You Only Look Once) is the most popular real - time running object detection model in robotics — that recognizes and localizes multiple objects in a single frame with a single process.
Object detection basics: bounding boxes, classes and confidence
Object Detection not only answers "what is in the image" but also "where is the object" — three core concepts to understand: bounding box, class, and confidence score.
Object tracking basics: following the same object across frames
Object Detection finds objects in individual frames — Object Tracking goes further, assigning IDs and tracking the same object through multiple consecutive frames.
Integrate ROS2 + YOLO: package object detection as a node
Piece out YOLO into ROS2 by writing a node subscribe camera image, run inference, then publish the detection results into a separate topic for other nodes (Nav2, monitor, etc.) to use.
What is an IMU? Sensing robot balance and orientation
IMU combines accelerometers and gyroscopes to measure acceleration and angular velocity — data underpinning robotic navigation and improving odometry accuracy.
What is an accelerometer? Measuring acceleration and estimating tilt
Accelerometers measure acceleration in three axes, used to estimate the robot's inclination angle based on the direction of gravity — but are noisy when the robot is moving.
What is a gyroscope? Measuring angular velocity without wheel-slip errors
Gyroscopes measure rotational angular velocity around three axes — instantaneously and are unaffected by the sliding wheel, but drift over time if used alone.