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