ROS Basics using Python ROSJECT

In the first part of my rosject I have subscribed to the /scan node. Now how do I implement the logic for making it understand the distance to wall using /scan and then proceed further?

Hi @priyam7983ddb06e5f4641

Inside of the entired course, you see scan topic and his parts. If you don’t remember check this link: sensor_msgs/LaserScan Documentation

Here you can find ranges, which has all the measurements of the lidar ray.