# TURTLEBOT3 sensor readings

**URL:** <https://get-help.theconstruct.ai/t/turtlebot3-sensor-readings/28027>\
**Category:** ROSDS Support\
**Created:** [December 25, 2023, 8:16am UTC](https://get-help.theconstruct.ai/t/turtlebot3-sensor-readings/28027 "2023-12-25T08:16:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![BushraAlsh](https://get-help.theconstruct.ai/letter_avatar_proxy/v4/letter/b/6f9a4e/32.png) [@BushraAlsh](https://get-help.theconstruct.ai/u/BushraAlsh)\
**Post date:** [December 25, 2023, 8:16am UTC](https://get-help.theconstruct.ai/t/turtlebot3-sensor-readings/28027/1 "2023-12-25T08:16:16Z")

</div>

![image](https://get-help.robotigniteacademy.com/uploads/default/original/2X/7/71d8523f341ce6a89de749ad72195cf664b2aae4.jpeg)

Hi, I’m doing the project for learn ros2 in 5 days. The project uses turtlebot3 burger.

My issue is previously, I used this simulation and sensor readings were perfect. However, today, you may see in the picture the robot is a bit fat from the front wall, at least he is not in a position to make the turn yet but it detect it as very close and turns.  
here is a snippet from the log :[INFO] [launch]: Default logging verbosity is set to INFO  
[INFO] [wall\_following-1]: process started with pid [2981]  
[wall\_following-1] [INFO] [1703491798.909838437] [wall\_following]: Right Ray Distance: 0.9819999933242798  
[wall\_following-1] front Ray Distance:0.3630000054836273  
[wall\_following-1] back Ray Distance:1.5140000581741333  
[wall\_following-1] left Ray Distance:0.33500000834465027  
[wall\_following-1] [INFO] [1703491799.044884672] [wall\_following]: Right Ray Distance: 0.984000027179718  
[wall\_following-1] front Ray Distance:0.36399999260902405  
[wall\_following-1] back Ray Distance:1.5140000581741333  
[wall\_following-1] left Ray Distance:0.33500000834465027  
[wall\_following-1] [INFO] [1703491799.179642222] [wall\_following]: Right Ray Distance: 0.8460000157356262  
[wall\_following-1] front Ray Distance:0.35499998927116394  
[wall\_following-1] back Ray Distance:1.5140000581741333  
[wall\_following-1] left Ray Distance:0.33799999952316284  
[wall\_following-1] [INFO] [1703491799.316791249] [wall\_following]: Right Ray Distance: 0.656000018119812  
[wall\_following-1] front Ray Distance:0.33500000834465027  
[wall\_following-1] back Ray Distance:1.465999960899353  
[wall\_following-1] left Ray Distance:0.35100001096725464  
[wall\_following-1] [INFO] [1703491799.445045102] [wall\_following]: Right Ray Distance: 0.5299999713897705  
[wall\_following-1] front Ray Distance:0.3199999928474426  
[wall\_following-1] back Ray Distance:1.406000018119812  
[wall\_following-1] left Ray Distance:0.37599998712539673  
[wall\_following-1] [INFO] [1703491799.584978986] [wall\_following]: Right Ray Distance: 0.4490000009536743  
[wall\_following-1] front Ray Distance:0.3109999895095825  
[wall\_following-1] back Ray Distance:1.3739999532699585  
[wall\_following-1] left Ray Distance  
Regards,  
Bushra

---

<div class="post-metadata">

**Author:** ![girishkumar.kannan](https://get-help.theconstruct.ai/user_avatar/get-help.theconstruct.ai/girishkumar.kannan/32/6994_2.png) [@girishkumar.kannan](https://get-help.theconstruct.ai/u/girishkumar.kannan)\
**Post date:** [December 25, 2023, 2:12pm UTC](https://get-help.theconstruct.ai/t/turtlebot3-sensor-readings/28027/2 "2023-12-25T14:12:27Z")

</div>

Hi @BushraAlsh ,

Let me give a hint, as someone who has already completed the rosject.

Know about the laser scanner mounted on the robot. Do `ros2 topic echo /scan` and get at least one complete reading. [You may add `--once` to the command if you are on ROS2 Humble]. Check the headers to know about the laser scanner properties that is mounted on the real robot and on the simulation robot.

Once you get the information from the headers, you will know why the readings are different.

Regards,  
Girish

---

<div class="post-metadata">

**Author:** ![BushraAlsh](https://get-help.theconstruct.ai/letter_avatar_proxy/v4/letter/b/6f9a4e/32.png) [@BushraAlsh](https://get-help.theconstruct.ai/u/BushraAlsh)\
**Post date:** [December 26, 2023, 8:22am UTC](https://get-help.theconstruct.ai/t/turtlebot3-sensor-readings/28027/3 "2023-12-26T08:22:13Z")

</div>

> [@girishkumar.kannan](#):
>
> Once you get the information from the headers, you will know why the readings are different.

They are in RADS!!!  
Thanks , I appreciate you teaching me how to debug and figure it out.

---

<div class="post-metadata">

**Author:** ![system](https://get-help.theconstruct.ai/uploads/default/original/2X/9/9d3ce8305cc0d0d9b6e07d15767a6f245c526f1b.jpeg) [@system](https://get-help.theconstruct.ai/u/system)\
**Post date:** [December 31, 2023, 8:22am UTC](https://get-help.theconstruct.ai/t/turtlebot3-sensor-readings/28027/4 "2023-12-31T08:22:42Z")

</div>

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.
