Ready to build real robots instead of just reading about them?
Modern C++ for Robotics Programming is a practical, project-based guide that teaches you how to develop intelligent robotic systems using Modern C++20/23 and ROS 2-the same technologies used by professional robotics engineers.
Instead of disconnected tutorials, you'll build one autonomous robot from the ground up. Every chapter adds a new capability, transforming a simple ROS 2 workspace into a complete robotic platform capable of mapping, localization, navigation, perception, and intelligent decision-making.
You'll learn how to:Write professional robotics software with Modern C++20/23
Build ROS 2 nodes, packages, topics, services, and actions
Model robots with URDF and TF2
Simulate robots using Gazebo and RViz
Control differential-drive robots
Integrate LiDAR, cameras, IMUs, and wheel encoders
Implement sensor fusion using EKF
Build maps with SLAM
Navigate autonomously using Nav2
Perform computer vision with OpenCV
Detect objects using YOLO
Create intelligent robot behaviors with Behavior Trees
Optimize robotics software using multithreading and modern C++ techniques
Perfect for:- Software developers entering robotics
- Computer science and engineering students
- ROS 2 developers
- Robotics enthusiasts
- Embedded systems engineers
- Anyone interested in autonomous robots
Every chapter includes practical examples, complete source code, debugging tips, exercises, and engineering best practices that mirror real-world robotics development.
By the end of this book, you'll have built a complete autonomous robot-and gained the confidence to design and develop your own robotics applications.
Whether your goal is to become a robotics engineer, build autonomous systems, or master Modern C++ in a real-world context, this book provides the knowledge and hands-on experience to help you succeed.