r/ROS • • 2d ago

Robotics Learning Guidance

I am a high schooler who is really interested in robotics, but after learning the ros2 fundamentals, I don't know where to continue. I am interested in the SLAM and AI side, but I haven't done much in either to know. Is there any good path to go this way (resources, people, etc.) or coaches/teachers to help me? Anything would help, thanks!

9 Upvotes

9 comments sorted by

2

u/fph03n1x 2d ago

How much can you afford to buy a kit or something ? Learning ros2 + robotics is either learning through simulations, or else through kits with a minimum of raspberry pi 4 board. 

2

u/Thinky-Brainy-1001 2d ago

I could get a kit (around 50 dollars), but right now I am focusing on the simulation side of things. I know pretty well how to use gazebo and rviz. I mainly want to focus on simulation for now because understanding the more advanced concepts could be beneficial.

1

u/RoboSimAI 2d ago

Since you already have Gazebo and RViz working, stay in simulation and close one loop before you add learning.

Pick one ROS 2 distro and one robot with a 2D lidar. Get three things boring and correct first: the TF chain from odom to base_link to the laser frame, a single scan topic that updates while the robot moves, and an odometry source that does not jump. Only then start a map. slam_toolbox is the usual first map builder. Drive slowly, save the map, and look at it in RViz before you touch Nav2.

Nav2 is the next project on that same map, not a new stack. Localize with AMCL and send one NavigateToPose. When it fails, check TF, the footprint, and whether the costmap is still seeing a live scan. That is almost always the cause.

Leave policies and neural nets until that loop feels dull. A particle filter you can plot will teach you more right now. Once you can record a bag of scan, odom, and tf, you have something to experiment on without rebuilding the world every afternoon.

You do not need a coach for this stretch. One small world, one lidar, map, then navigate. When you get stuck, post the distro and the node graph and people can answer a specific question.

1

u/Thinky-Brainy-1001 1d ago

Ok, that makes sense! So would you suggest getting comfortable with the slam_toolbox before learning nav2?

1

u/fph03n1x 1d ago

Okay, so, when you say you know fundamentals of Ros2, how much coding can you do? What language  do you use? What are these basics of Ros2 that you know ? And besides ros2, do you know what communication interfaces and protocols are ? Because all of these will decide on what your nxt step can he 

1

u/Thinky-Brainy-1001 1d ago

Yeah, I can code and make robots to do basic tasks (like send a goal to go here and move its arms up), and I can code in python and c++ (rclpy rclcpp). When you mean communication interfaces and protocols, do you mean msg srv and action and those streams? What I have learned were the first three robotics courses: https://roboticsbackend.com/courses/

2

u/fph03n1x 18h ago

okay, so, i went through what the courses are talking about. I feel like you have a lot of information, and so, adding onto them will be pointless. You need to use it now. My biggest suggestion to you would be to try to save for a Raspberry pi 4 board + one random sensor (could be IMU? ). And then start experimenting with the real sensor, and build Ros2 node for it and play with it.

Your hands on knowledge of interfacs and communication protocols is low. You need exposure to UART / SPI / I2C at bare minimum. Just knowing UART and SPI will help you understand every other interface, as they just are quite similar!

Interface is the wiring and the voltage level in those wirings that sends 1s and 0s back and forth between your device (PC or RPI4) and a sensor. While communication protocol is a known stack that has been written by someone to interpret those 1s and 0s into meaningful data.

Once you have these, build yourself a node. Example: IMU node. Example: Make a publisher node that outputs the values of the IMU. And make a subscriber node that subs to this node, and counts your step. If you do it on an RPI4, you could just grab them and start walking. You can also make another publisher on this counter, and subscribe to it from your pc to display your steps. Your creativity is your limit! You will get to make some logic and some algorithms in this way, and will get some hands on practice. For instance, you studied about actions on course 3, and in my 3years of having worked in ROS2, i have yet to use it. I do tend to use services, but you have many other options instead of implementing actions honestly... You can do everything with just pubs and subs, and anything more is jsut convenience tools! Except, executors that help you with multi-threading. But, why are they important, you will know when you have motors and an imu, and you start up doing some odometry for a wheeled robot!

Oh, and if you get an IMU, do checkout kalman filter. It's some math for IMU. These are some of my honest suggestions. Good luck

2

u/FraBuildsRobots 1d ago

If you've already learned the ROS 2 fundamentals, I'd suggest picking a practical project rather than jumping straight into more theory.

For SLAM, you could start with a simulated mobile robot using Gazebo, Nav2 and SLAM Toolbox.

For AI, I'd recommend exploring computer vision, object detection and eventually robot manipulation with MoveIt 2.

I'm actually building a YouTube channel called Learn Robotics with ROS, focused on practical ROS 2, robot simulation and real-world robotics applications. Feel free to check it out: https://www.youtube.com/@learn-robotics-with-ros I'm also working professionally in industrial robotics, so happy to help if you have questions along the way!

1

u/Thinky-Brainy-1001 1d ago

Ok, I think that is the right way to go too. I will for sure check out your channel, it would be very helpful!