Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Map continuously rotating with RPLidar A1 #113

Open
souravchandrasaha opened this issue Mar 3, 2024 · 11 comments
Open

Map continuously rotating with RPLidar A1 #113

souravchandrasaha opened this issue Mar 3, 2024 · 11 comments

Comments

@souravchandrasaha
Copy link

Whenever I'm trying to make a indoor area map using SLAM maps seems like rotating continuously. Which giving me pretty bad map output. what to do. I'm sure a lot of people already faced the same issue.

My system architecture is Jetson nano with RPlidar and IMU6050. I'm not using any camera .

@aimethierry
Copy link

Whenever I'm trying to make a indoor area map using SLAM maps seems like rotating continuously. Which giving me pretty bad map output. what to do. I'm sure a lot of people already faced the same issue.

My system architecture is Jetson nano with RPlidar and IMU6050. I'm not using any camera .

Did you solve the issue?

@grassjelly
Copy link
Member

does your build have a lot of vibration (for instance due to rotating lidar)? This might be due to noisy IMU.

@aimethierry
Copy link

does your build have a lot of vibration (for instance due to rotating lidar)? This might be due to noisy IMU.

Yes, it has IMU6050 and RP liadar. And how can i solve this problem?

@souravchandrasaha
Copy link
Author

how to solve this then? how to solve IMU noise issue?

@aimethierry
Copy link

aimethierry commented Apr 12, 2024

how to solve this then? how to solve IMU noise issue?

Someone suggested to use GY-85 BMP085 Sensor Modules 9 Axis Sensor Module ITG3205 + ADXL345 + HMC5883L, since it worked fine with him, However i did not test.

@tbalatka
Copy link

I'm experiencing the same issue when using SLAM. Also, the entire rviz2 display 'jiggles'. Using IMU6050.

@souravchandrasaha
Copy link
Author

I'm experiencing the same issue when using SLAM. Also, the entire rviz2 display 'jiggles'. Using IMU6050.

Please let me know in case you solve it . It's been so many days I have been searching for solution

@tbalatka
Copy link

tbalatka commented Apr 20, 2024 via email

@tbalatka
Copy link

tbalatka commented Apr 23, 2024 via email

@tbalatka
Copy link

tbalatka commented Apr 24, 2024

frames_2024-04-24_19.06.49.pdf
Now I can navigate my 2wd robot in RVIZ2 and the generated SLAM map is looking more and more accurate.
However, the TF information is not being published: I can only see the robot moving in the grid without rotation of the axis on both wheels. So I installed urdf_tutorial to test my 2wd_properties.urdf.xacro file, and indeed I can simulate left_wheel_joint and right_wheel_joint movement using the provided slider tool. Somehow when I run "ros2 launch linorobot2_bringup bringup.launch.py base_serial_port:=/dev/ttyUSB0" the TF data is stuck.

Here's what I get when I run "ros2 topic echo /tf":

transforms:

  • header:
    stamp:
    sec: 1714089275
    nanosec: 456832797
    frame_id: odom
    child_frame_id: base_footprint
    transform:
    translation:
    x: 0.06858787601931879
    y: -0.03143772340166547
    z: 0.0
    rotation:
    x: 0.0
    y: 0.0
    z: 0.18919803956070486
    w: 0.9819389501523941

Any advice on how I can troubleshoot this issue would be most appreciated.

BTW, I am using an ESP32 Wroom.

@souravchandrasaha
Copy link
Author

how to solve this then? how to solve IMU noise issue?

Someone suggested to use GY-85 BMP085 Sensor Modules 9 Axis Sensor Module ITG3205 + ADXL345 + HMC5883L, since it worked fine with him, However i did not test.

I'm searching for ros2 driver of this IMU since I'm connecting this IMU directly with Jetson nano via I2C . Please suggest a suitable ros2 driver for this to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants