ROS Real Robot Project Laser Values


I am working on the ROS Basics Real Robot Project and I am having an issue understanding LaserScan values. I am seeing a lot of different values for what the directions are. Do the values start at 0 at the front and move in a clockwise direction to 360? Meaning right would be 90, back would be 180, left would be 270 and the front would be 0 or 360?

Is there anyway to show the laser directions in gazebo to eliminate my confusion? This is for the Turtlebot 3 robot in the project.

Hi @Ncouch ,

Unfortunately gazebo does not show the index of the laser scan in the simulation window.
You can do such test printing the values using a given index and adding some obstacles in the simulation, while you watch the reading, so you can be sure about the values.