The Best Way for Beginners to Learn from Tutorials!
This post is about how beginners can make the most out of every tutorial by digging deep into the code to understand it. This is the best foundation you can give yourself for continuing to work on the code and making your own modifications. It follows on from Getting Started as a Robotics Software Engineer!, where I give the advice:
First, look for and use every resource you have available to you. Look online, ask people, work in the field; anything you can to make your journey easier.
Following on from that, I wanted to show how to take a tutorial and use various resources to understand what's happening in the provided code. I'll take the tutorial from ROS about writing a simple publisher/subscriber, and I'll use C++ to build it, as this is less well-known than Python and so a better way to demonstrate self-learning.
If you'd prefer to follow along, I've built a video demonstrating everything in this article, available here: